Loading android/config.go +2 −2 Original line number Diff line number Diff line Loading @@ -1912,10 +1912,10 @@ func (c *deviceConfig) HostFakeSnapshotEnabled() bool { } func (c *deviceConfig) ShippingApiLevel() ApiLevel { if c.config.productVariables.ShippingApiLevel == nil { if c.config.productVariables.Shipping_api_level == nil { return NoneApiLevel } apiLevel, _ := strconv.Atoi(*c.config.productVariables.ShippingApiLevel) apiLevel, _ := strconv.Atoi(*c.config.productVariables.Shipping_api_level) return uncheckedFinalApiLevel(apiLevel) } Loading android/test_config.go +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ func TestConfig(buildDir string, env map[string]string, bp string, fs map[string AAPTCharacteristics: stringPtr("nosdcard"), AAPTPrebuiltDPI: []string{"xhdpi", "xxhdpi"}, UncompressPrivAppDex: boolPtr(true), ShippingApiLevel: stringPtr("30"), Shipping_api_level: stringPtr("30"), }, outDir: buildDir, Loading android/variable.go +5 −1 Original line number Diff line number Diff line Loading @@ -55,6 +55,10 @@ type variableProperties struct { Base_dir *string } Shipping_api_level struct { Cflags []string } // unbundled_build is a catch-all property to annotate modules that don't build in one or // more unbundled branches, usually due to dependencies missing from the manifest. Unbundled_build struct { Loading Loading @@ -440,7 +444,7 @@ type ProductVariables struct { PrebuiltHiddenApiDir *string `json:",omitempty"` ShippingApiLevel *string `json:",omitempty"` Shipping_api_level *string `json:",omitempty"` BuildBrokenPluginValidation []string `json:",omitempty"` BuildBrokenClangAsFlags bool `json:",omitempty"` Loading Loading
android/config.go +2 −2 Original line number Diff line number Diff line Loading @@ -1912,10 +1912,10 @@ func (c *deviceConfig) HostFakeSnapshotEnabled() bool { } func (c *deviceConfig) ShippingApiLevel() ApiLevel { if c.config.productVariables.ShippingApiLevel == nil { if c.config.productVariables.Shipping_api_level == nil { return NoneApiLevel } apiLevel, _ := strconv.Atoi(*c.config.productVariables.ShippingApiLevel) apiLevel, _ := strconv.Atoi(*c.config.productVariables.Shipping_api_level) return uncheckedFinalApiLevel(apiLevel) } Loading
android/test_config.go +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ func TestConfig(buildDir string, env map[string]string, bp string, fs map[string AAPTCharacteristics: stringPtr("nosdcard"), AAPTPrebuiltDPI: []string{"xhdpi", "xxhdpi"}, UncompressPrivAppDex: boolPtr(true), ShippingApiLevel: stringPtr("30"), Shipping_api_level: stringPtr("30"), }, outDir: buildDir, Loading
android/variable.go +5 −1 Original line number Diff line number Diff line Loading @@ -55,6 +55,10 @@ type variableProperties struct { Base_dir *string } Shipping_api_level struct { Cflags []string } // unbundled_build is a catch-all property to annotate modules that don't build in one or // more unbundled branches, usually due to dependencies missing from the manifest. Unbundled_build struct { Loading Loading @@ -440,7 +444,7 @@ type ProductVariables struct { PrebuiltHiddenApiDir *string `json:",omitempty"` ShippingApiLevel *string `json:",omitempty"` Shipping_api_level *string `json:",omitempty"` BuildBrokenPluginValidation []string `json:",omitempty"` BuildBrokenClangAsFlags bool `json:",omitempty"` Loading