From 954364256f5445e8d2270c1cd3f2eca009e6e48f Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 4 May 2017 13:57:05 -0700 Subject: [PATCH] Support override_rs_driver product variable Test: builds Change-Id: Ifd9bf09bb54418d62f6886b0d8ed84dd493a3162 --- android/variable.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/android/variable.go b/android/variable.go index 3d5e618cc..2d039bd69 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 {