aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/BUILD
diff options
context:
space:
mode:
authorGravatar Liam Miller-Cushon <cushon@google.com>2018-06-18 09:29:52 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-18 09:31:07 -0700
commit7c49bd9c73385db84e678469aa7e6a5bb801c28a (patch)
treee013769399d9038a874e509acd1d61f594b90789 /src/BUILD
parent29a7e0579aa7ff3633e92c3c9de06c878b1d14c7 (diff)
Make the embedded JDK targets the default
Closes #5403. PiperOrigin-RevId: 201007405
Diffstat (limited to 'src/BUILD')
-rw-r--r--src/BUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/BUILD b/src/BUILD
index 131eda984a..4b96719a74 100644
--- a/src/BUILD
+++ b/src/BUILD
@@ -39,7 +39,7 @@ filegroup(
}),
) for suffix, embedded_tools_target in {
"": [":embedded_tools"],
- "_with_jdk": [":embedded_tools_with_jdk"],
+ "_nojdk": [":embedded_tools_nojdk"],
"_notools": [],
}.items()]
@@ -173,13 +173,13 @@ py_binary(
"//conditions:default": [
"//src/tools/singlejar:singlejar",
],
- }) + ([":embedded_jdk"] if (suffix == "_with_jdk") else []),
+ }) + ([":embedded_jdk"] if (suffix == "") else []),
visibility = [
"//src/test:__subpackages__", # For integration tests
],
) for suffix in [
"",
- "_with_jdk",
+ "_nojdk",
]]
filegroup(
@@ -207,7 +207,7 @@ filegroup(
out = "embedded_tools" + suffix + ".params",
) for suffix in [
"",
- "_with_jdk",
+ "_nojdk",
]]
genrule(
@@ -222,13 +222,13 @@ genrule(
)
genrule(
- name = "embedded_tools_with_jdk",
+ name = "embedded_tools_nojdk",
srcs = [
- ":embedded_tools_with_jdk_params",
- ":embedded_tools_with_jdk_srcs",
+ ":embedded_tools_nojdk_params",
+ ":embedded_tools_nojdk_srcs",
],
- outs = ["embedded_tools_with_jdk.zip"],
- cmd = "$(location :create_embedded_tools) \"$@\" $(location :embedded_tools_with_jdk_params)",
+ outs = ["embedded_tools_nojdk.zip"],
+ cmd = "$(location :create_embedded_tools) \"$@\" $(location :embedded_tools_nojdk_params)",
tools = [":create_embedded_tools"],
)
@@ -253,7 +253,7 @@ genrule(
) for suffix, embed in [
("", True),
("_notools", False),
- ("_with_jdk", True),
+ ("_nojdk", True),
]]
[genrule(
@@ -278,7 +278,7 @@ genrule(
) for suffix in [
"",
"_notools",
- "_with_jdk",
+ "_nojdk",
]]
# Build an executable named `bazel.exe`.
@@ -299,7 +299,7 @@ genrule(
) for suffix in [
"",
"_notools",
- "_with_jdk",
+ "_nojdk",
]]
filegroup(