diff options
author | Dan Willemsen <dwillemsen@google.com> | 2016-07-12 14:57:40 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2016-07-12 15:41:09 -0700 |
commit | a6f7d156091c645b93568fbc88fcf60e08a109c5 (patch) | |
tree | d66d811d3c8528049f9d693d64c0a7a6ae6783a9 | |
parent | f791826f8bb7c9e5c1a33283c6cd4ef62a7d674c (diff) | |
download | build_soong-a6f7d156091c645b93568fbc88fcf60e08a109c5.tar.gz build_soong-a6f7d156091c645b93568fbc88fcf60e08a109c5.tar.bz2 build_soong-a6f7d156091c645b93568fbc88fcf60e08a109c5.zip |
Add product variables: cpusets schedboost
These are used by libcutils, and are equivalent to the ENABLE_CPUSETS
and ENABLE_SCHEDBOOST make variables.
Change-Id: I65d0eed49b5bcb4d6415e9e64a0159209a43b922
-rw-r--r-- | android/variable.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go index 29d7a080..a2313d58 100644 --- a/android/variable.go +++ b/android/variable.go @@ -50,6 +50,14 @@ type variableProperties struct { Safestack struct { Cflags []string `android:"arch_variant"` } `android:"arch_variant"` + + Cpusets struct { + Cflags []string + } + + Schedboost struct { + Cflags []string + } } `android:"arch_variant"` } @@ -86,6 +94,8 @@ type productVariables struct { Malloc_not_svelte *bool `json:",omitempty"` Safestack *bool `json:",omitempty"` HostStaticBinaries *bool `json:",omitempty"` + Cpusets *bool `json:",omitempty"` + Schedboost *bool `json:",omitempty"` SanitizeHost *[]string `json:",omitempty"` SanitizeDevice *[]string `json:",omitempty"` |