3311debbb3
This adds support for selecting on multiple variables at once, so that you can do AND/OR combindations of them. For example: select(( arch(), os(), ), { ("arm64", "linux"): ["libfoo64"], (default, "linux"): ["libfoo"], (default, "windows"): ["libfoowindows"], (default, default): ["libbar"], }) It also allows for select conditions to be boolean-typed. You can write literal true and false without quotes to select on them. Currently we don't have any boolean-typed variables though, so a fake one was added for testing. Bug: 323382414 Test: m nothing --no-skip-soong-tests Change-Id: Ibe586e7b21865b8734027848cc421594cbd1d8cc |
||
---|---|---|
.. | ||
clone.go | ||
clone_test.go | ||
configurable.go | ||
escape.go | ||
escape_test.go | ||
extend.go | ||
extend_test.go | ||
filter.go | ||
filter_test.go | ||
hash_provider.go | ||
hash_provider_test.go | ||
proptools.go | ||
proptools_test.go | ||
tag.go | ||
tag_test.go | ||
typeequal.go | ||
typeequal_test.go | ||
unpack.go | ||
unpack_test.go |