Merge "Add Treble as soong variable."
am: a9ec71f54f
Change-Id: I50eb0ba541a40244582b2e30d01e6595a65ad3be
This commit is contained in:
commit
8fc756987e
1 changed files with 8 additions and 0 deletions
|
@ -67,6 +67,13 @@ type variableProperties struct {
|
|||
Cflags []string
|
||||
}
|
||||
|
||||
// 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.
|
||||
Treble 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
|
||||
|
@ -130,6 +137,7 @@ type productVariables struct {
|
|||
Eng *bool `json:",omitempty"`
|
||||
EnableCFI *bool `json:",omitempty"`
|
||||
Device_uses_hwc2 *bool `json:",omitempty"`
|
||||
Treble *bool `json:",omitempty"`
|
||||
|
||||
VendorPath *string `json:",omitempty"`
|
||||
|
||||
|
|
Loading…
Reference in a new issue