Support override_rs_driver product variable
Test: builds
Change-Id: Ifd9bf09bb54418d62f6886b0d8ed84dd493a3162
diff --git a/android/variable.go b/android/variable.go
index 3d5e618..2d039bd 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -62,6 +62,10 @@
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 @@
ArtUseReadBarrier *bool `json:",omitempty"`
BtConfigIncludeDir *string `json:",omitempty"`
+
+ Override_rs_driver *string `json:",omitempty"`
}
func boolPtr(v bool) *bool {