Merge "Setting Java 11 as the default version" am: 2c32bbfd73 am: cc0930b609 am: fe7d51f352

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1946707

Change-Id: Ie1f4348448c32b79d53c1e7c1081003e5e5b2049
This commit is contained in:
Sorin Basca
2022-01-20 11:10:30 +00:00
committed by Automerger Merge Worker
5 changed files with 4 additions and 35 deletions

View File

@@ -658,10 +658,6 @@ func (c *config) IsEnvFalse(key string) bool {
return value == "0" || value == "n" || value == "no" || value == "off" || value == "false"
}
func (c *config) TargetsJava11() bool {
return c.IsEnvTrue("EXPERIMENTAL_TARGET_JAVA_VERSION_11")
}
// EnvDeps returns the environment variables this build depends on. The first
// call to this function blocks future reads from the environment.
func (c *config) EnvDeps() map[string]string {