aboutsummaryrefslogtreecommitdiffstats
path: root/android/variable.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-08-24 15:25:47 -0700
committerColin Cross <ccross@android.com>2016-08-25 22:42:02 +0000
commit1e7d3706d67d6203be4db91362277548d6fc65b7 (patch)
treef8ae3756ac778f039d8a207da53c25c55b3c8304 /android/variable.go
parent0f4e0d6c5d3688766747f353e1799c259d6c0d99 (diff)
downloadandroid_build_soong-1e7d3706d67d6203be4db91362277548d6fc65b7.tar.gz
android_build_soong-1e7d3706d67d6203be4db91362277548d6fc65b7.tar.bz2
android_build_soong-1e7d3706d67d6203be4db91362277548d6fc65b7.zip
Add support for preferred arch symlinks
Add a symlink_preferred_arch property to binaries to allow compiling the binary for multiple architectures and then creating a symlink to the preferred archicture, for example dalvikvm32 and dalvikvm64, with dalvikvm symlinked to dalvikvm64. Test: mmma -j art/dalvikvm Change-Id: Ied15f2be9d52c01006fe8ac207c175b78558eab1
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index 531125d5..be2407d1 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -102,6 +102,9 @@ type productVariables struct {
Schedboost *bool `json:",omitempty"`
Binder32bit *bool `json:",omitempty"`
+ DevicePrefer32BitExecutables *bool `json:",omitempty"`
+ HostPrefer32BitExecutables *bool `json:",omitempty"`
+
SanitizeHost *[]string `json:",omitempty"`
SanitizeDevice *[]string `json:",omitempty"`
}