platform_build/core
Tobias Thierer 822e961511 Build with OpenJDK 9 -target 1.8 by default (attempt 4).
This is cherry-picked from attempt 3, which was reverted
due to http://b/70862583.

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
Change-Id: Ic42a518c90515b497e5cecec444ded373e403a4b
Test: Treehugger
Test: art/test/testrunner/run_build_test_target.py -j40 art-interpreter
Test: dalvik/dx/tests/run-all-tests
2018-01-03 05:11:25 +00:00
..
clang Switch to clang-4393122. 2017-10-13 14:21:40 -07:00
combo Remove Java PATH check, deprecate using PATH in Kati 2017-11-08 00:24:35 -08:00
tasks Merge "emulator: add check_emu_boot.mk, again" am: 59e41c11d5 am: d7c9a7384a 2017-12-27 22:32:45 +00:00
aapt2.mk Clear some aapt2.mk inputs after use 2017-11-15 17:00:46 -08:00
android_manifest.mk Revert "Upgrade to ManifestMerger2" 2017-09-19 15:40:25 +00:00
apicheck_msg_current.txt
apicheck_msg_last.txt
apidiff.mk Fix build error 2017-11-30 08:33:06 +00:00
autogen_test_config.mk Force test config to be updated when auto_gen_test_config.py is changed 2018-01-01 20:26:27 -08:00
aux_config.mk Don't run find on directories that don't exist 2017-01-11 23:31:46 +00:00
aux_executable.mk
aux_static_library.mk
aux_toolchain.mk
base_rules.mk Auto generate test config files 2017-12-20 15:05:17 -08:00
binary.mk Merge "Depend on the more specific ndk timestamp." 2017-12-16 03:14:43 +00:00
build-system.html Support java annotation proccessors 2017-04-11 12:22:53 -07:00
build_id.mk DO NOT MERGE Setting build_id to OC-MR1 for oc-mr1-dev 2017-07-24 19:20:32 -07:00
build_rro_package.mk Fix typo in build_rro_package.mk 2017-03-31 15:33:45 +08:00
ccache.mk
checktree
cleanbuild.mk Update references to build/core to build/make/core 2017-10-20 12:49:28 -07:00
cleanspec.mk Revert "Revert "Use the Finder's results for faster searching"" 2017-08-18 02:46:39 +00:00
clear_vars.mk Merge "Add support for honggfuzz to BUILD_FUZZ_TEST" 2017-12-28 19:07:36 +00:00
config.mk Build with OpenJDK 9 -target 1.8 by default (attempt 4). 2018-01-03 05:11:25 +00:00
config_sanitizers.mk Use the .cfi variant of a static library where needed. 2017-11-21 14:08:20 -08:00
configure_module_stem.mk
copy_headers.mk
cxx_stl_setup.mk Add -lm to the default libs for Linux & Darwin 2017-09-26 20:26:11 -07:00
definitions.mk Remove --no-locals -> --release translation 2017-12-21 13:00:51 -08:00
device.mk
dex_preopt.mk Allow system server jars for WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY 2017-10-12 20:40:41 +00:00
dex_preopt_libart.mk Merge changes from topic "system_default_prop" am: 4cb631f624 am: bc94fb4340 2017-11-08 02:22:54 +00:00
dex_preopt_libart_boot.mk Build: Make dex2oat boot image error abort explicit 2017-11-22 14:16:24 -08:00
dex_preopt_odex_install.mk Add product property for preopting extracted APKs 2017-10-17 15:57:45 -07:00
distdir.mk Export DIST_DIR to soong on dist builds. 2017-11-28 11:26:24 -08:00
dpi_specific_apk.mk Add LOCAL_SDK_VERSION := system_$(VER) 2017-12-01 00:39:07 +00:00
droiddoc.mk Add support for LOCAL_GENERATED_SOURCES to droiddoc 2017-12-05 01:07:23 +00:00
dumpvar.mk Prevent using config.mk from make, clean up unused code 2017-10-19 20:26:23 +00:00
dynamic_binary.mk Only generate breakpad symbols for ELF binaries 2017-08-31 15:57:44 -07:00
empty_test_config.xml Auto generate test config files 2017-12-20 15:05:17 -08:00
envsetup.mk Define PLATFORM_VNDK_VERSION 2017-12-13 10:48:34 +09:00
executable.mk
executable_internal.mk Support gcno packaging for executables. 2017-11-07 09:52:27 -08:00
executable_prefer_symlink.mk
filter_symbols.sh
fuzz_test.mk Add support for honggfuzz to BUILD_FUZZ_TEST 2017-12-27 22:08:27 +00:00
generate_enforce_rro.mk Replace build/tools with build/make/tools 2017-12-06 16:12:40 -08:00
goma.mk Set JAVAC_WRAPPER if USE_GOMA is set. 2017-06-14 07:57:54 +00:00
header_library.mk Add Header Library support to Make 2017-02-15 16:04:49 -08:00
header_library_internal.mk Add Header Library support to Make 2017-02-15 16:04:49 -08:00
host_dalvik_java_library.mk Add zip2zip as dependency of dexing step. 2017-12-20 20:03:58 -08:00
host_dalvik_static_java_library.mk
host_executable.mk
host_executable_internal.mk
host_fuzz_test.mk Enhance coverage options to include those needed by Honggfuzz for coverage-driven fuzzing 2017-08-22 18:01:46 -04:00
host_java_library.mk Replace build/tools with build/make/tools 2017-12-06 16:12:40 -08:00
host_java_library_common.mk
host_native_test.mk
host_prebuilt.mk
host_shared_library.mk
host_shared_library_internal.mk core: Fix typo in build rule. 2017-08-22 16:32:02 +01:00
host_shared_test_lib.mk
host_static_library.mk
host_static_library_internal.mk
host_static_test_lib.mk
host_test_config.mk Add build script to generate TF test XML file with filters 2017-11-13 14:48:10 -08:00
host_test_internal.mk Add -lm to the default libs for Linux & Darwin 2017-09-26 20:26:11 -07:00
install_jni_libs.mk Merge "Don't embed vendor libs into vendor apks." 2017-12-06 04:23:04 +00:00
install_jni_libs_internal.mk Prevent vendor libs from depending on private VNDK libraries 2017-10-10 19:38:06 +09:00
instrumentation_test_config_template.xml Auto generate test config files 2017-12-20 15:05:17 -08:00
jacoco.mk Add support for jacoco in soong 2017-11-24 20:23:36 -08:00
java.mk Merge changes I84a59a8c,Id7a92fb2 am: 9c2b798143 am: b2b378e007 2017-12-28 17:35:09 +00:00
java_common.mk Pass OpenJDK 8's bootclasspath for host tools targeting <= 1.8. 2017-12-21 01:38:44 +00:00
java_library.mk Merge commit '66b8b530187b129934a685bf0c4349eef00e4b0c' from 2017-11-14 11:36:22 -08:00
link_type.mk build: aux: Fix link type checking for AUX builds 2017-08-04 12:45:02 -07:00
LINUX_KERNEL_COPYING
local_vndk.mk Ensure partition_tag is always set correctly 2017-11-20 11:01:50 +09:00
local_vsdk.mk Add LOCAL_SDK_VERSION := system_$(VER) 2017-12-01 00:39:07 +00:00
main.mk Merge changes from topic "kati-obsolete-full-treble" am: 2b1f0d1810 2017-12-18 17:57:42 +00:00
Makefile Merge "Remove zlib_fingerprint support." am: 53a3f70efe am: 2dfaacdd93 2017-12-27 21:00:08 +00:00
math.mk Use system modules generated by soong when using javac -target 1.9 2017-10-16 17:55:24 -07:00
module_arch_supported.mk
multi_prebuilt.mk Fix duplicate and dangling rules 2017-04-11 10:02:04 -07:00
multilib.mk
native_benchmark.mk
native_test.mk
native_test_config_template.xml Auto generate test config files 2017-12-20 15:05:17 -08:00
ninja_config.mk Move APP-% and PRODUCT-% implementation out of Kati 2017-05-26 12:57:04 -07:00
node_fns.mk
notice_files.mk Delete jack support 2017-10-02 11:15:19 -07:00
package.mk Fix LOCAL_MULTILIB := 64 in TARGET_TRANSLATE_2ND_ARCH builds 2017-04-20 11:19:10 -07:00
package_internal.mk Add LOCAL_SDK_VERSION := system_$(VER) 2017-12-01 04:26:10 +00:00
pathmap.mk Move include in prep of Android.bp support 2017-10-11 03:29:53 +00:00
pdk_config.mk Remove hidl base java static target from the PDK. 2017-11-29 09:41:49 -08:00
pdk_fusion_modules.mk Add LOCAL_VENDOR_MODULE as a synonym to LOCAL_PROPRIETARY_MODULE 2017-03-20 20:57:04 -07:00
phony_package.mk
prebuilt.mk Support native test prebuilts for X86+ARM builds 2017-01-17 14:19:50 -08:00
prebuilt_internal.mk Export proguard flags from static android libraries and aar prebuilts 2017-12-28 17:22:19 +00:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk Replace build/tools with build/make/tools 2017-12-06 16:12:40 -08:00
product.mk Export PRODUCT_SOONG_NAMESPACES to Soong 2017-11-29 13:17:13 -08:00
product_config.mk Export PRODUCT_SOONG_NAMESPACES to Soong 2017-11-29 13:17:13 -08:00
proguard.flags
proguard.jacoco.flags
proguard_basic_keeps.flags
root.mk Update references to build/core to build/make/core 2017-10-20 12:49:28 -07:00
sdk_font.mk Updating path to new frameworks/layoutlib project 2017-05-08 11:07:46 +01:00
setup_one_odex.mk Build: Move preopt classpath to private variable 2017-09-02 15:22:43 -07:00
shared_library.mk
shared_library_internal.mk Support split /system and /vendor modules from Soong 2017-04-11 13:17:48 -07:00
shared_test_lib.mk
soong_app_prebuilt.mk Fix swapped certificate and private key in soong apps 2017-12-15 13:41:24 -08:00
soong_config.mk Merge "TARGET_COPY_OUT_[ODM|OEM] are exported to soong" am: 2993eec041 am: d68d78c83e 2017-12-21 18:36:49 +00:00
soong_java_prebuilt.mk Add dependency on jacoco-report-classes.jar 2017-12-06 16:12:39 -08:00
static_java_library.mk Export proguard flags from static android libraries and aar prebuilts 2017-12-28 17:22:19 +00:00
static_library.mk
static_library_internal.mk Support Soong native coverage 2017-02-10 09:27:35 -08:00
static_test_lib.mk
target_test_config.mk Add build script to generate TF test XML file with filters 2017-11-13 14:48:10 -08:00
target_test_internal.mk Support non-gtest NATIVE_TESTS 2016-12-21 20:27:06 -08:00
test_config_common.mk Add build script to generate TF test XML file with filters 2017-11-13 14:48:10 -08:00
version_defaults.mk Merge "Use PLATFORM_VERSION_CODENAME for VNDK version" am: 5281020692 am: bbbd85a172 2017-12-21 07:08:33 +00:00
WINPTHREADS_COPYING Statically link libwinpthread into windows binaries. 2017-02-23 17:56:44 -08:00