diff options
| author | 2022-02-08 11:56:25 -0800 | |
|---|---|---|
| committer | 2022-02-09 14:15:47 -0800 | |
| commit | 9932f75151c2eb6ac3069496cb9596292d0af797 (patch) | |
| tree | f05258e928bc4475237571e205af35add1d11d85 /java/sdk_library_test.go | |
| parent | 3e7f5c411dfed43cb08f7b4a4c0d5220cdcd3c8c (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