Allow modules to be enabled/disabled depending on whether APEXes are flattened.

Allow the `enabled` Soong/Blueprint property (e.g. in `genrule` and
`cc_prebuilt_binary` module definitions) to have a different value
when APEX flattening is enabled.

Test: m checkbuild
Bug: 139277987
Change-Id: Ic586bdfac7690077445da12543154381d92cf98e
Merged-In: Ic586bdfac7690077445da12543154381d92cf98e
This commit is contained in:
Roland Levillain
2019-08-13 15:00:18 +01:00
parent 577d147eb9
commit 2879d41a98

View File

@@ -115,6 +115,10 @@ type variableProperties struct {
Static_libs []string Static_libs []string
Srcs []string Srcs []string
} }
Flatten_apex struct {
Enabled *bool
}
} `android:"arch_variant"` } `android:"arch_variant"`
} }