aboutsummaryrefslogtreecommitdiffstats
path: root/android/variable.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-03-09 21:22:06 -0800
committerDan Willemsen <dwillemsen@google.com>2018-04-11 01:45:29 +0000
commit45133ac184b4e8b7071e7755ec3b98e217b54607 (patch)
treeff73c79d9015570651aa8bb49416212880bb7a91 /android/variable.go
parent674dc7f7f06dc56edc7e331331d474dcf1bba53d (diff)
downloadbuild_soong-45133ac184b4e8b7071e7755ec3b98e217b54607.tar.gz
build_soong-45133ac184b4e8b7071e7755ec3b98e217b54607.tar.bz2
build_soong-45133ac184b4e8b7071e7755ec3b98e217b54607.zip
Make Config.ProductVariables private
All access to these should be going through the methods on Config / DeviceConfig. Bug: 76168832 Test: m blueprint_tools Change-Id: I47512dd58fb1a1a3f25838a9b1adaed2c41af8d3
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 db875ff3..9c876142 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
}