Make Config.ProductVariables private am: 45133ac184

am: 1a837ac9fa

Change-Id: I73f7889bce4a6fe506d34623a68e337b5e290cb9
This commit is contained in:
Dan Willemsen
2018-04-10 18:58:20 -07:00
committed by android-build-merger
6 changed files with 73 additions and 73 deletions

View File

@@ -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
}