aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-05-06 00:15:01 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-05-06 00:15:02 +0000
commit2030a8cbcb91305b94d843d275bafee611b4a4f5 (patch)
tree00e3f487098dc31bda97c892141dd8f6b6b6aec0 /android
parenta731969dc1ab76e8c191591b3ab5844504c25740 (diff)
parent954364256f5445e8d2270c1cd3f2eca009e6e48f (diff)
downloadbuild_soong-2030a8cbcb91305b94d843d275bafee611b4a4f5.tar.gz
build_soong-2030a8cbcb91305b94d843d275bafee611b4a4f5.tar.bz2
build_soong-2030a8cbcb91305b94d843d275bafee611b4a4f5.zip
Merge "Support override_rs_driver product variable"
Diffstat (limited to 'android')
-rw-r--r--android/variable.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index 3d5e618c..2d039bd6 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -62,6 +62,10 @@ type variableProperties struct {
Cflags []string
}
+ Override_rs_driver 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
@@ -141,6 +145,8 @@ type productVariables struct {
ArtUseReadBarrier *bool `json:",omitempty"`
BtConfigIncludeDir *string `json:",omitempty"`
+
+ Override_rs_driver *string `json:",omitempty"`
}
func boolPtr(v bool) *bool {