Loading android/config.go +0 −4 Original line number Diff line number Diff line Loading @@ -433,10 +433,6 @@ func saveToBazelConfigFile(config *ProductVariables, outDir string) error { t := reflect.TypeOf(p.Product_variables) for i := 0; i < t.NumField(); i++ { f := t.Field(i) if f.Name == "Pdk" { // Pdk is deprecated and has no effect as of aosp/1319667 continue } archVariant := proptools.HasTag(f, "android", "arch_variant") if mainProductVariablesStructField, ok := allProductVariablesType.FieldByName(f.Name); ok { productVariablesInfo[f.Name] = productVariableStarlarkRepresentation{ Loading android/variable.go +0 −5 Original line number Diff line number Diff line Loading @@ -160,11 +160,6 @@ type variableProperties struct { } } // Deprecated, has no effect as of aosp/1319667 Pdk struct { Enabled *bool `android:"arch_variant"` } `android:"arch_variant"` Uml struct { Cppflags []string } Loading Loading
android/config.go +0 −4 Original line number Diff line number Diff line Loading @@ -433,10 +433,6 @@ func saveToBazelConfigFile(config *ProductVariables, outDir string) error { t := reflect.TypeOf(p.Product_variables) for i := 0; i < t.NumField(); i++ { f := t.Field(i) if f.Name == "Pdk" { // Pdk is deprecated and has no effect as of aosp/1319667 continue } archVariant := proptools.HasTag(f, "android", "arch_variant") if mainProductVariablesStructField, ok := allProductVariablesType.FieldByName(f.Name); ok { productVariablesInfo[f.Name] = productVariableStarlarkRepresentation{ Loading
android/variable.go +0 −5 Original line number Diff line number Diff line Loading @@ -160,11 +160,6 @@ type variableProperties struct { } } // Deprecated, has no effect as of aosp/1319667 Pdk struct { Enabled *bool `android:"arch_variant"` } `android:"arch_variant"` Uml struct { Cppflags []string } Loading