diff options
| author | 2023-07-27 23:01:06 +0000 | |
|---|---|---|
| committer | 2023-07-27 23:18:57 +0000 | |
| commit | 474d43bda60ed8a0528940d5accdbf80c465170f (patch) | |
| tree | 59e8ac832f1cd27c53de72d6a2cbf37fb932eb17 /java/classpath_fragment.go | |
| parent | ed83eba40fa8a98581850ca8b696f395badd3dfb (diff) | |
Check if soong_config_var propertystruct is zero before panicking
If we have a soong_config_module_type with target.android_<arch>.*
properties, we should only panic if a soong_config_var is used to select
on those properties. We already call `IsZero` in an upper function, but
we need to call it in `AddSoongConfigPropertiesFromTargetStruct` as well
because conditions_default gets its own struct.
Test: unit tests
Test: repro'd cmd in b/293206386#comment1, it passes now
Bug: 293206386
Change-Id: I23f14f83cc9be66487625e292e26b204dfea4f9a
Diffstat (limited to 'java/classpath_fragment.go')
0 files changed, 0 insertions, 0 deletions