Merge "Add split PRODUCT_FULL_TREBLE variables to Soong." am: 4c016b996e

am: 3b81e0d9f6

Change-Id: I37c69bcbc70701e6dc5a2eee314df638fad29e91
This commit is contained in:
Steven Moreland 2017-12-15 17:51:22 +00:00 committed by android-build-merger
commit 3ca2f36a19

View file

@ -70,10 +70,25 @@ type variableProperties struct {
// treble is true when a build is a Treble compliant device. This is automatically set when
// a build is shipped with Android O, but can be overriden. This controls such things as
// the sepolicy split and enabling the Treble linker namespaces.
// TODO(b/62019611): remove
Treble struct {
Cflags []string
}
// treble_linker_namespaces is true when the system/vendor linker namespace separation is
// enabled.
Treble_linker_namespaces struct {
Cflags []string
}
// sepolicy_split is true when system/vendor sepolicy split is enabled.
Sepolicy_split struct {
Cflags []string
}
// enforce_vintf_manifest is true when a device is required to have a vintf manifest.
Enforce_vintf_manifest struct {
Cflags []string
}
// debuggable is true for eng and userdebug builds, and can be used to turn on additional
// debugging features that don't significantly impact runtime behavior. userdebug builds
// are used for dogfooding and performance testing, and should be as similar to user builds
@ -158,6 +173,9 @@ type productVariables struct {
Eng *bool `json:",omitempty"`
Device_uses_hwc2 *bool `json:",omitempty"`
Treble *bool `json:",omitempty"`
Treble_linker_namespaces *bool `json:",omitempty"`
Sepolicy_split *bool `json:",omitempty"`
Enforce_vintf_manifest *bool `json:",omitempty"`
Pdk *bool `json:",omitempty"`
Uml *bool `json:",omitempty"`
MinimizeJavaDebugInfo *bool `json:",omitempty"`