summaryrefslogtreecommitdiff
path: root/android/configurable_properties.go
diff options
context:
space:
mode:
author Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-03-20 16:11:36 -0700
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-03-20 16:11:36 -0700
commit29e0a00b2a9010b7b30f004fb9f6a2ad7ea20bcb (patch)
treecb888af41cf7962e5243791334e27beb1d7007b0 /android/configurable_properties.go
parent36e0719e9ef8f0969254c7fd7aac355288e8e63e (diff)
parent8c31132dba8e206387296ec2a9d850832794d9b4 (diff)
Snap for 13248265 from 8c31132dba8e206387296ec2a9d850832794d9b4 to 25Q2-release
Change-Id: If932ac6e530acdff73391ec4a2b3afb3a7adc401
Diffstat (limited to 'android/configurable_properties.go')
-rw-r--r--android/configurable_properties.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/configurable_properties.go b/android/configurable_properties.go
index 2c794a186..bde33e99b 100644
--- a/android/configurable_properties.go
+++ b/android/configurable_properties.go
@@ -7,7 +7,8 @@ import "github.com/google/blueprint/proptools"
// to indicate a "default" case.
func CreateSelectOsToBool(cases map[string]*bool) proptools.Configurable[bool] {
var resultCases []proptools.ConfigurableCase[bool]
- for pattern, value := range cases {
+ for _, pattern := range SortedKeys(cases) {
+ value := cases[pattern]
if pattern == "" {
resultCases = append(resultCases, proptools.NewConfigurableCase(
[]proptools.ConfigurablePattern{proptools.NewDefaultConfigurablePattern()},