aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-05-02 10:58:50 -0700
committerColin Cross <ccross@android.com>2017-05-02 11:17:45 -0700
commit0e409a2810f360595fe741ab33792e618caec378 (patch)
treee02566675ece16f2bd7f15ce55ad96d6cdfb78f1 /android
parentf34d9d11d4e2a00aca2caa7b3eeeeb294e8aa5a7 (diff)
downloadbuild_soong-0e409a2810f360595fe741ab33792e618caec378.tar.gz
build_soong-0e409a2810f360595fe741ab33792e618caec378.tar.bz2
build_soong-0e409a2810f360595fe741ab33792e618caec378.zip
Add device_uses_hwc2 product variable
TARGET_USES_HWC2 is going away, but propagate it to soong for now to unblock converting dependency chains that end in libhwui. Test: soong tests Change-Id: I20f1269caea1b5f5fc39239daa6b2e610bd36eb9
Diffstat (limited to 'android')
-rw-r--r--android/variable.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index b0ab2d0c..3d5e618c 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -58,6 +58,10 @@ type variableProperties struct {
Cflags []string
}
+ Device_uses_hwc2 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
@@ -116,6 +120,7 @@ type productVariables struct {
Debuggable *bool `json:",omitempty"`
Eng *bool `json:",omitempty"`
EnableCFI *bool `json:",omitempty"`
+ Device_uses_hwc2 *bool `json:",omitempty"`
VendorPath *string `json:",omitempty"`