summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2018-04-10 18:58:20 -0700
committer android-build-merger <android-build-merger@google.com> 2018-04-10 18:58:20 -0700
commit1fb615df28443d54fe0dd480ff53c9801d96e91d (patch)
tree59ce643a517983ddd7f3f19e14c22ad529888843 /android/variable.go
parent0de9c08e03ce588b2cf1bea7340f8c0b0045df05 (diff)
parent1a837ac9fad5a9fd3637375d4f0192c6b4de1b60 (diff)
Make Config.ProductVariables private am: 45133ac184
am: 1a837ac9fa Change-Id: I73f7889bce4a6fe506d34623a68e337b5e290cb9
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/variable.go b/android/variable.go
index 880bc0840..48196079e 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -287,7 +287,7 @@ func variableMutator(mctx BottomUpMutatorContext) {
property := "product_variables." + proptools.PropertyNameForField(name)
// Check that the variable was set for the product
- val := reflect.ValueOf(mctx.Config().ProductVariables).FieldByName(name)
+ val := reflect.ValueOf(mctx.Config().productVariables).FieldByName(name)
if !val.IsValid() || val.Kind() != reflect.Ptr || val.IsNil() {
continue
}