aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'src/BUILD')
-rw-r--r--src/BUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/BUILD b/src/BUILD
index 8f5da4f0d4..c625284333 100644
--- a/src/BUILD
+++ b/src/BUILD
@@ -358,10 +358,7 @@ genrule(
],
outs = ["derived_java_srcs.zip"],
cmd = "$(location :combine_derived_java_srcs.sh) $(JAVABASE) $@ $(SRCS)",
- # Technically, this should be prefixed with @bazel_tools, but in order to
- # avoid having to wait a Bazel release which has this target under
- # @bazel_tools, we use it from the main repository. It's the same anyway.
- toolchains = ["@bazel_tools//tools/jdk:current_java_runtime"],
+ toolchains = ["@bazel_tools//tools/jdk:current_host_java_runtime"],
tools = ["combine_derived_java_srcs.sh"],
visibility = ["//:__pkg__"],
)