Add a variable to disable modules in the PDK am: b2123aa1df

am: dd62f877b6

Change-Id: Ifaf779f9328049038bd37f1c0ef7b35b2e51335d
This commit is contained in:
Colin Cross
2017-05-06 01:44:15 +00:00
committed by android-build-merger
2 changed files with 9 additions and 2 deletions

View File

@@ -81,6 +81,10 @@ type variableProperties struct {
Cflags []string Cflags []string
Cppflags []string Cppflags []string
} }
Pdk struct {
Enabled *bool
}
} `android:"arch_variant"` } `android:"arch_variant"`
} }

View File

@@ -637,8 +637,11 @@ var conditionalTranslations = map[string]map[bool]string{
true: "target.linux", true: "target.linux",
false: "target.not_linux"}, false: "target.not_linux"},
"(,$(TARGET_BUILD_APPS))": { "(,$(TARGET_BUILD_APPS))": {
false: "product_variables.unbundled_build", false: "product_variables.unbundled_build"},
}, "($(TARGET_BUILD_PDK),true)": {
true: "product_variables.pdk"},
"($(TARGET_BUILD_PDK), true)": {
true: "product_variables.pdk"},
} }
func mydir(args []string) string { func mydir(args []string) string {