From e77a6d346b260e3122d371b61885c37404814e33 Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Fri, 18 Jan 2019 05:17:26 -0800 Subject: [PATCH] Add //src:bazel-bin_dev_jdk target. This builds the minimal JDK locally and uses it as embedded JDK. We typically use the cached one on mirror.bazel.build, because the jlink is heavily non-determistic. However, this will make local testing easier, e.g. when we do upgrades from one JDK to another. Progress on #6592 and #6314. RELNOTES: None Closes #7175. PiperOrigin-RevId: 229912262 --- src/BUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/BUILD b/src/BUILD index e3379c0b491bf3..76bc0f1be967b4 100644 --- a/src/BUILD +++ b/src/BUILD @@ -43,6 +43,7 @@ filegroup( ) for suffix, embedded_tools_target in { "_jdk_allmodules": [":embedded_tools_jdk_allmodules"], "_jdk_minimal": [":embedded_tools_jdk_minimal"], + "_dev_jdk": [":embedded_tools_dev_jdk"], "_nojdk": [":embedded_tools_nojdk"], "_notools": [], }.items()] @@ -179,6 +180,7 @@ JAVA_TOOLS = [ ) for suffix, jdk in { "_jdk_allmodules": [":embedded_jdk_allmodules"], "_jdk_minimal": [":embedded_jdk_minimal_cached"], + "_dev_jdk": [":embedded_jdk_minimal"], "_nojdk": [], }.items()] @@ -294,6 +296,7 @@ filegroup( ) for suffix in [ "_jdk_allmodules", "_jdk_minimal", + "_dev_jdk", "_nojdk", ]] @@ -309,6 +312,7 @@ filegroup( ) for suffix in [ "_jdk_allmodules", "_jdk_minimal", + "_dev_jdk", "_nojdk", ]] @@ -333,6 +337,7 @@ filegroup( ) for suffix, embed in [ ("_jdk_allmodules", True), ("_jdk_minimal", True), + ("_dev_jdk", True), ("_notools", False), ("_nojdk", True), ]] @@ -359,6 +364,7 @@ filegroup( ) for suffix in [ "_jdk_allmodules", "_jdk_minimal", + "_dev_jdk", "_notools", "_nojdk", ]]