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
This commit is contained in:
Dan Willemsen
2018-03-09 21:22:06 -08:00
parent 674dc7f7f0
commit 45133ac184
6 changed files with 73 additions and 73 deletions

View File

@@ -821,7 +821,7 @@ func forEachInterface(v reflect.Value, f func(reflect.Value)) {
// Convert the arch product variables into a list of targets for each os class structs
func decodeTargetProductVariables(config *config) (map[OsClass][]Target, error) {
variables := config.ProductVariables
variables := config.productVariables
targets := make(map[OsClass][]Target)
var targetErr error