diff options
author | cushon <cushon@google.com> | 2018-05-14 01:51:45 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-14 01:53:21 -0700 |
commit | 849df36c5ad31ebe8791c4228321c38c6d0ae56c (patch) | |
tree | cc39afc4e667214b4aac69217fb697166c96ddd4 /src/BUILD | |
parent | 5c3f5c9be7fa40d4fb3c35756891fab8483ca406 (diff) |
Use the local JDK as the default target javabase
and continue to use the embedded JDK as the default host_javabase.
PiperOrigin-RevId: 196471714
Diffstat (limited to 'src/BUILD')
-rw-r--r-- | src/BUILD | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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__"], ) |