Skip to content

Commit

Permalink
Add //src:bazel-bin_dev_jdk target.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
meisterT authored and Copybara-Service committed Jan 18, 2019
1 parent 56f2b2b commit 5d2d06c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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()]
Expand Down Expand Up @@ -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()]

Expand Down Expand Up @@ -294,6 +296,7 @@ filegroup(
) for suffix in [
"_jdk_allmodules",
"_jdk_minimal",
"_dev_jdk",
"_nojdk",
]]

Expand All @@ -309,6 +312,7 @@ filegroup(
) for suffix in [
"_jdk_allmodules",
"_jdk_minimal",
"_dev_jdk",
"_nojdk",
]]

Expand All @@ -333,6 +337,7 @@ filegroup(
) for suffix, embed in [
("_jdk_allmodules", True),
("_jdk_minimal", True),
("_dev_jdk", True),
("_notools", False),
("_nojdk", True),
]]
Expand All @@ -359,6 +364,7 @@ filegroup(
) for suffix in [
"_jdk_allmodules",
"_jdk_minimal",
"_dev_jdk",
"_notools",
"_nojdk",
]]
Expand Down

0 comments on commit 5d2d06c

Please sign in to comment.