summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-06-20 12:57:43 -0700
committer Cole Faust <colefaust@google.com> 2024-06-20 14:59:10 -0700
commit46f6e2f1aace226cee6677bddf0cf7367b665a2e (patch)
treee7c013358768a9ede5b57966d9bc3ae86998601e /android/variable.go
parent26faf1b32188260d1728d57004a81a5cd55bfe6c (diff)
Allow soong config variables to be boolean-typed
So that you can use `true` instead of `"true"` in select expressions. Bug: 323382414 Test: m nothing --no-skip-soong-tests Change-Id: I950bd8e04f8fab5187ea5075514d476227943f33
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/variable.go b/android/variable.go
index 2cdcd5355..a331439f6 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -399,7 +399,8 @@ type ProductVariables struct {
PlatformSepolicyCompatVersions []string `json:",omitempty"`
- VendorVars map[string]map[string]string `json:",omitempty"`
+ VendorVars map[string]map[string]string `json:",omitempty"`
+ VendorVarTypes map[string]map[string]string `json:",omitempty"`
Ndk_abis *bool `json:",omitempty"`