aboutsummaryrefslogtreecommitdiffstats
path: root/android/variable.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-08-29 16:14:13 -0700
committerColin Cross <ccross@android.com>2016-08-31 09:48:08 -0700
commit9d45bb78c52d160d5bf73f2a485401d394f559b9 (patch)
tree67bf21333066406fd7edc618a20d32cac0b1908d /android/variable.go
parent3cfaba1654e12fed152844d94a92a8d8aec668f0 (diff)
downloadbuild_soong-9d45bb78c52d160d5bf73f2a485401d394f559b9.tar.gz
build_soong-9d45bb78c52d160d5bf73f2a485401d394f559b9.tar.bz2
build_soong-9d45bb78c52d160d5bf73f2a485401d394f559b9.zip
Enable goma in soong
When the UseGoma flag is set, put all rules except the C compilation rule in an externally defined local_pool, which will have been created by kati. The gomacc wrapper will already be in the CC_WRAPPER environment variable. Bug: 31142427 Change-Id: I699d4edff2e302eee398dad8692ceb14721a628c
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index be2407d1..b99e4855 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -101,6 +101,7 @@ type productVariables struct {
Cpusets *bool `json:",omitempty"`
Schedboost *bool `json:",omitempty"`
Binder32bit *bool `json:",omitempty"`
+ UseGoma *bool `json:",omitempty"`
DevicePrefer32BitExecutables *bool `json:",omitempty"`
HostPrefer32BitExecutables *bool `json:",omitempty"`