From 1be35388624805fca632f06d67b274a59bb21075 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Mon, 25 Jul 2016 17:42:18 -0700 Subject: [PATCH] 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 --- android/variable.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/variable.go b/android/variable.go index b0639ae5c..d2dc5b92c 100644 --- a/android/variable.go +++ b/android/variable.go @@ -58,6 +58,10 @@ type variableProperties struct { Schedboost struct { Cflags []string } + + Binder32bit struct { + Cflags []string + } } `android:"arch_variant"` } @@ -96,6 +100,7 @@ type productVariables struct { HostStaticBinaries *bool `json:",omitempty"` Cpusets *bool `json:",omitempty"` Schedboost *bool `json:",omitempty"` + Binder32bit *bool `json:",omitempty"` SanitizeHost *[]string `json:",omitempty"` SanitizeDevice *[]string `json:",omitempty"`