platform_build_soong/java
Colin Cross 6cef481ee7 Use java language 1.9 for sdk_version: "current"
Java language was set for 1.8 for anything building against the
current SDK because the stubs were not built in Soong, so the
system modules could not be built.  The stubs have been built
in Soong since Iabd32b30954b3f4a6d9a779fde52a032b684807e, but
I5e870c34dd0ebc8ae3f888ec627da590c846a76f missed updating
this TODO.

Use 1.9 when building against the stubs, but continue using
1.8 for unbundled builds until we have prebuilt system modules.

Always use the core-current-stubs-system-modules to avoid
splitting android.* packages between the system modules and
the classpath, which would cause new classes in android.*
packages in classpath jars to be ignored.  Add a new
java9Classpath field to sdkDep that will contain the stubs jar
when targeting Java language level 1.9, and plumb it through
to javac and turbine.  Rename the modules field to bootclasspath.

Bug: 142896162
Test: m checkbuild
Change-Id: Icfd32d0a863b2303a997c7cf03cb3708aade4724
2019-10-29 13:35:39 -07:00
..
config Remove support for EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9. 2019-10-25 16:55:06 +01:00
aapt2.go Move sharding functions for reuse 2019-09-29 23:26:37 -07:00
aar.go Make javaVersion an enum 2019-10-28 14:55:03 -07:00
android_manifest.go Touch up manifest if there's no source code. 2019-06-03 10:51:42 -07:00
android_resources.go Separate device and product overlays 2019-03-21 11:25:46 +00:00
androidmk.go Merge "Update droidstubs build target" 2019-10-21 09:32:12 +00:00
androidmk_test.go Migrate java/androidmk.go to new system #1 2019-09-10 07:38:31 -07:00
app.go Merge "Support privleged app in APEX" 2019-10-18 01:30:39 +00:00
app_builder.go Use prebuilts for more tools in unbundled builds 2019-08-08 12:56:34 -07:00
app_test.go Remove support for stripping dex. 2019-10-18 14:52:16 +01:00
builder.go Use java language 1.9 for sdk_version: "current" 2019-10-29 13:35:39 -07:00
device_host_converter.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
device_host_converter_test.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
dex.go Fix handling optimize.enabled from java_defaults 2019-04-17 17:59:09 -07:00
dexpreopt.go Remove support for stripping dex. 2019-10-18 14:52:16 +01:00
dexpreopt_bootjars.go Specify boot image format to be lz4hc 2019-07-26 13:51:43 -07:00
dexpreopt_bootjars_test.go Update dexpreopt for the ART APEX name change. 2019-08-30 17:47:30 +01:00
dexpreopt_config.go Deduplicate config generation for boot images. 2019-10-23 17:19:17 +01:00
dexpreopt_test.go Add a rule about platform_apis 2019-07-29 20:48:30 +09:00
droiddoc.go Use java language 1.9 for sdk_version: "current" 2019-10-29 13:35:39 -07:00
gen.go Shard aidl compiles into srcjars 2019-10-04 14:00:36 -07:00
genrule.go Add module type docs to the java package 2019-02-13 18:39:40 +00:00
hiddenapi.go Improve hiddenapi processing so it does not require white list 2019-02-28 16:13:20 +00:00
hiddenapi_singleton.go Revert "Revert "Split Java libraries per apex"" 2019-07-26 14:19:38 +09:00
jacoco.go Tune JVM, print full diagnostics on crash. 2019-06-11 13:30:13 -07:00
jacoco_test.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
java.go Use java language 1.9 for sdk_version: "current" 2019-10-29 13:35:39 -07:00
java_resources.go Track sources for srcjars across modules 2019-05-06 14:22:26 -07:00
java_test.go Move TestConfig sdk versions forward 2019-10-28 14:55:03 -07:00
jdeps.go AIDEGen: Collect the srcjar into out/soong/module_bp_java_deps.json 2019-05-27 11:34:10 +00:00
jdeps_test.go jarjar_rules: accept file-group 2019-01-23 18:05:18 +00:00
kotlin.go Make javaVersion an enum 2019-10-28 14:55:03 -07:00
kotlin_test.go Java test code clean-up 2019-07-17 11:15:09 -07:00
OWNERS Add ART folks to owner of dexpreopt related file. 2019-04-30 15:33:49 +01:00
platform_compat_config.go Replace RelPathString() with ToMakePath() 2019-10-03 10:07:53 -07:00
plugin.go Replace annotation_processors with plugins 2019-01-23 20:17:51 +00:00
plugin_test.go Java test code clean-up 2019-07-17 11:15:09 -07:00
prebuilt_apis.go Make CreateModule take an android.ModuleFactory 2019-09-26 17:19:26 +00:00
proto.go Default to compiling lite protos 2019-10-26 20:35:13 +00:00
robolectric.go Move sharding functions for reuse 2019-09-29 23:26:37 -07:00
sdk.go Use java language 1.9 for sdk_version: "current" 2019-10-29 13:35:39 -07:00
sdk_library.go Merge "Migrate java/androidmk.go to new system #1" 2019-09-27 14:40:24 +00:00
sdk_test.go Use java language 1.9 for sdk_version: "current" 2019-10-29 13:35:39 -07:00
support_libraries.go Allow other module types in androidx 2019-07-22 13:18:48 -07:00
system_modules.go Add experimental option to use OpenJDK 11 toolchain. 2019-10-09 18:38:14 +01:00
testing.go Remove unused core-system-modules 2019-09-27 10:38:06 +01:00
tradefed.go Add tradefed_java_library_host 2019-10-18 15:14:15 -07:00