summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2018-04-10 18:52:41 -0700
committer android-build-merger <android-build-merger@google.com> 2018-04-10 18:52:41 -0700
commit1a837ac9fad5a9fd3637375d4f0192c6b4de1b60 (patch)
treeff73c79d9015570651aa8bb49416212880bb7a91 /android/variable.go
parente4436b5ab2412157f51b0d886cd279a320bf7741 (diff)
parent45133ac184b4e8b7071e7755ec3b98e217b54607 (diff)
Make Config.ProductVariables private
am: 45133ac184 Change-Id: Id1829fbffc2ba82005aaaef6afd3b4e959e873c1
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 db875ff37..9c876142c 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -272,7 +272,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
}