From a6f7d156091c645b93568fbc88fcf60e08a109c5 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Tue, 12 Jul 2016 14:57:40 -0700 Subject: [PATCH] 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 --- android/variable.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/android/variable.go b/android/variable.go index 29d7a0801..a2313d58f 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"`