Add device_uses_hwc2 product variable

am: 0e409a2810

Change-Id: I04e73b2c13ad18e0cd9e538a738873d387666f7a
This commit is contained in:
Colin Cross
2017-05-02 20:07:22 +00:00
committed by android-build-merger

View File

@@ -58,6 +58,10 @@ type variableProperties struct {
Cflags []string Cflags []string
} }
Device_uses_hwc2 struct {
Cflags []string
}
// debuggable is true for eng and userdebug builds, and can be used to turn on additional // 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 // 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 // are used for dogfooding and performance testing, and should be as similar to user builds
@@ -116,6 +120,7 @@ type productVariables struct {
Debuggable *bool `json:",omitempty"` Debuggable *bool `json:",omitempty"`
Eng *bool `json:",omitempty"` Eng *bool `json:",omitempty"`
EnableCFI *bool `json:",omitempty"` EnableCFI *bool `json:",omitempty"`
Device_uses_hwc2 *bool `json:",omitempty"`
VendorPath *string `json:",omitempty"` VendorPath *string `json:",omitempty"`