aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorAlan Leung <acleung@google.com>2017-12-20 02:00:45 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-12-20 02:00:45 +0000
commit731c8dac6dd43a23f44420b8c2828b1ed53c29d4 (patch)
treedfabfb745f46fd54e8b22de3574a9d26dc648e44 /android
parent32bf18b10adb7758b25e3515d3333f5270e80fee (diff)
parentc37c6343e24399d8238ebeb2ece665fcf660cc13 (diff)
downloadbuild_soong-731c8dac6dd43a23f44420b8c2828b1ed53c29d4.tar.gz
build_soong-731c8dac6dd43a23f44420b8c2828b1ed53c29d4.tar.bz2
build_soong-731c8dac6dd43a23f44420b8c2828b1ed53c29d4.zip
Merge "Prep D8 default instead of CompatDX in build/soong"
Diffstat (limited to 'android')
-rw-r--r--android/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go
index 56e95254..dd0301e9 100644
--- a/android/config.go
+++ b/android/config.go
@@ -584,6 +584,10 @@ func (c *config) Android64() bool {
return false
}
+func (c *config) UseD8Desugar() bool {
+ return c.IsEnvTrue("USE_D8_DESUGAR")
+}
+
func (c *config) UseGoma() bool {
return Bool(c.ProductVariables.UseGoma)
}