summaryrefslogtreecommitdiff
path: root/android/module_test.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-08-23 16:20:58 -0700
committer Cole Faust <colefaust@google.com> 2024-08-23 16:20:58 -0700
commit52d37c32498b56117f93900cd544e7610fe16462 (patch)
tree45974da916105430c902d11c5b4ae8b161cee34c /android/module_test.go
parent079871cd55bb72337197c2782fa9fb64476b506a (diff)
Make the defaults property non-configurable
In order to support changing the global configuration per-module, we can't make decisions on configuration until the configuration is decided. The defaults mutator is one of the earliest mutators, and it would be helpful to run it before deciding the configuration. Bug: 361816274 Test: Presubmits Change-Id: Iee9c603d7e2601919d636345dfdedae47448db38
Diffstat (limited to 'android/module_test.go')
-rw-r--r--android/module_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/module_test.go b/android/module_test.go
index 829c07987..016fba353 100644
--- a/android/module_test.go
+++ b/android/module_test.go
@@ -722,6 +722,7 @@ test {
propInfo{Name: "Arch.X86_64.A", Type: "string", Value: "x86_64 a"},
propInfo{Name: "B", Type: "bool", Value: "true"},
propInfo{Name: "C", Type: "string slice", Values: []string{"default_c", "c"}},
+ propInfo{Name: "Defaults", Type: "string slice", Values: []string{"foo_defaults"}},
propInfo{Name: "Embedded_prop", Type: "string", Value: "a"},
propInfo{Name: "Name", Type: "string", Value: "foo"},
propInfo{Name: "Nested.E", Type: "string", Value: "nested e"},