Add a variable to disable modules in the PDK
am: b2123aa1df
Change-Id: I1e29d96b66e77a30b9a87f0724f865cc5d9ccdea
This commit is contained in:
@@ -81,6 +81,10 @@ type variableProperties struct {
|
||||
Cflags []string
|
||||
Cppflags []string
|
||||
}
|
||||
|
||||
Pdk struct {
|
||||
Enabled *bool
|
||||
}
|
||||
} `android:"arch_variant"`
|
||||
}
|
||||
|
||||
|
@@ -637,8 +637,11 @@ var conditionalTranslations = map[string]map[bool]string{
|
||||
true: "target.linux",
|
||||
false: "target.not_linux"},
|
||||
"(,$(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 {
|
||||
|
Reference in New Issue
Block a user