summaryrefslogtreecommitdiff
path: root/java/sdk_library_test.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2022-02-08 11:56:25 -0800
committer Cole Faust <colefaust@google.com> 2022-02-09 14:15:47 -0800
commit9932f75151c2eb6ac3069496cb9596292d0af797 (patch)
treef05258e928bc4475237571e205af35add1d11d85 /java/sdk_library_test.go
parent3e7f5c411dfed43cb08f7b4a4c0d5220cdcd3c8c (diff)
Allow filter calls with a list as a pattern
This commit doesn't attempt to replace the filter calls with anything more idomatic for now. It also removes the case for filter-out, because the actual function name is filter_out and wasn't being used anyways. Even if I were to change it to filter_out, that would produce buggy results: ifneq (,$(filter $(TARGET_BUILD_VARIANT), userdebug eng)) endif ifneq (,$(filter-out $(TARGET_BUILD_VARIANT), userdebug eng)) endif Both of these would produce: if g["TARGET_BUILD_VARIANT"] in ["userdebug", "eng"]: pass Fixes: 218702402 Test: go test Change-Id: I566079e5d3a364c42db14045aa1bab9d99eba05f
Diffstat (limited to 'java/sdk_library_test.go')
0 files changed, 0 insertions, 0 deletions