platform_build_soong/android
Tobias Thierer 0ae8b548af Build with OpenJDK 9 -target 1.8 by default except for errorprone.
Before this CL topic, the build toolchain for .java source files
used OpenJDK 8, targeting 1.8 (v52 class files) by default.

This CL topic switches the default to OpenJDK 9, but still
targeting 1.8 (v52 class files) by default. If USE_ERROR_PRONE
is set to true, then the default remains OpenJDK 8.

Code in the Android platform should generally be unaffected,
but if host tools that are now compiled and run using
OpenJDK 9 are causing problems for your team, then let me
know.

To manually switch back to the old behavior for now (continue
using OpenJDK 8), run this command in your shell:
export EXPERIMENTAL_USE_OPENJDK9=false

Bug: 69449021
Test: Treehugger
Test: "make core-oj", checked that compilation now uses
      OpenJDK 9 javac -target 1.8
Test: Checked that this is still compiled using OpenJDK 8.
      export EXPERIMENTAL_USE_OPENJDK9=false
      make core-oj

Change-Id: Ic87e9bb2a2e5da0ff13a2e51845b5365901c1507
2017-12-05 02:07:30 +00:00
..
androidmk.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
api_levels.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
arch.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
config.go Build with OpenJDK 9 -target 1.8 by default except for errorprone. 2017-12-05 02:07:30 +00:00
config_test.go Prohibit accidental renames of product config json fields 2017-11-20 16:28:53 -08:00
defaults.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
defs.go Make binaries executable 2017-08-31 13:48:52 -07:00
env.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
expand.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
expand_test.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
hooks.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
makevars.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
module.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
mutator.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
onceper.go Add OncePer.Get() 2017-11-07 13:36:44 -08:00
package_ctx.go Allow building framework.jar and framework-res.apk 2017-11-29 20:47:42 -08:00
paths.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
paths_test.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
prebuilt.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
prebuilt_test.go Let tests override environment 2017-10-10 23:28:43 -07:00
proto.go Add support for .proto files in java modules 2017-10-03 10:25:15 -07:00
register.go Convert a missed Singleton 2017-11-30 00:42:49 +00:00
singleton.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
testing.go Add enforced RRO support to Soong 2017-12-01 16:12:51 +00:00
util.go Add system_$(VER) 2017-12-01 00:41:59 +00:00
util_test.go Move first/last unique elements utility functions to android package 2017-10-24 12:12:32 -07:00
variable.go Install VNDK snapshot libraries for system build 2017-12-05 10:19:43 +09:00
variable_test.go Support %s in product variable properties 2017-05-05 18:22:30 -07:00