aboutsummaryrefslogtreecommitdiffstats
path: root/android/config.go
diff options
context:
space:
mode:
authorAlan Leung <acleung@google.com>2017-12-20 01:15:56 -0800
committerAlan Leung <acleung@google.com>2018-01-04 11:36:27 -0800
commite2fb6294e91ad13e860e53864c696b3a5af99235 (patch)
tree7bec4c2229a61cfbd78282bfa457965353c043cc /android/config.go
parent0d9868c9af39f1b16da7f5d452cacfa9b052ad8b (diff)
downloadbuild_soong-e2fb6294e91ad13e860e53864c696b3a5af99235.tar.gz
build_soong-e2fb6294e91ad13e860e53864c696b3a5af99235.tar.bz2
build_soong-e2fb6294e91ad13e860e53864c696b3a5af99235.zip
Make D8 Desugaring default.
Bug: 69329508 Test: m checkbuild Change-Id: Ie74c2b27764aa5f2d60a0d33141735808bbc6d48
Diffstat (limited to 'android/config.go')
-rw-r--r--android/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/config.go b/android/config.go
index 2ed64132..630785b8 100644
--- a/android/config.go
+++ b/android/config.go
@@ -588,7 +588,7 @@ func (c *config) Android64() bool {
}
func (c *config) UseD8Desugar() bool {
- return c.IsEnvTrue("USE_D8_DESUGAR")
+ return !c.IsEnvFalse("USE_D8_DESUGAR")
}
func (c *config) UseGoma() bool {