Add Binder32bit product variable
To allow cflag changes when using the "old" binder API that are still
used by all 32-bit only configurations. We can't just use
android32/android64 here, since some devices use a 64-bit kernel with a
32-bit userspace, which is configured as "android32".
Change-Id: I8450484b75d59c1855c7ba36260c08925e7b28ad
diff --git a/android/variable.go b/android/variable.go
index b0639ae..d2dc5b9 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -58,6 +58,10 @@
Schedboost struct {
Cflags []string
}
+
+ Binder32bit struct {
+ Cflags []string
+ }
} `android:"arch_variant"`
}
@@ -96,6 +100,7 @@
HostStaticBinaries *bool `json:",omitempty"`
Cpusets *bool `json:",omitempty"`
Schedboost *bool `json:",omitempty"`
+ Binder32bit *bool `json:",omitempty"`
SanitizeHost *[]string `json:",omitempty"`
SanitizeDevice *[]string `json:",omitempty"`