summaryrefslogtreecommitdiff
path: root/java/classpath_fragment.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2023-07-27 23:01:06 +0000
committer Spandan Das <spandandas@google.com> 2023-07-27 23:18:57 +0000
commit474d43bda60ed8a0528940d5accdbf80c465170f (patch)
tree59e8ac832f1cd27c53de72d6a2cbf37fb932eb17 /java/classpath_fragment.go
parented83eba40fa8a98581850ca8b696f395badd3dfb (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