aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/android/desugar/BUILD
diff options
context:
space:
mode:
authorGravatar cushon <cushon@google.com>2018-06-20 16:54:20 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-20 16:56:11 -0700
commit98c09748044c27c3b6b57edc3f42b2323ead29ec (patch)
tree61e15fb3c946ed0ab91a43bc77cac3d9ff28e5dd /src/test/java/com/google/devtools/build/android/desugar/BUILD
parent97293aaa4dca0bd1d9ed9282324a9fc9b54780f3 (diff)
Bazel now supports @bazel_tools//tools/jdk:current_host_java_runtime. PiperOrigin-RevId: 201441513
Diffstat (limited to 'src/test/java/com/google/devtools/build/android/desugar/BUILD')
-rw-r--r--src/test/java/com/google/devtools/build/android/desugar/BUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/java/com/google/devtools/build/android/desugar/BUILD b/src/test/java/com/google/devtools/build/android/desugar/BUILD
index daae6920d3..fb86fe924b 100644
--- a/src/test/java/com/google/devtools/build/android/desugar/BUILD
+++ b/src/test/java/com/google/devtools/build/android/desugar/BUILD
@@ -1618,9 +1618,7 @@ genrule(
$(JAVABASE)/bin/javap -c -p -cp $< 'com.google.devtools.build.android.desugar.testdata.Lambda$$$$Lambda$$0' > $@
""",
tags = ["no_windows"],
- # Bazel 0.8.0 doesn't have this target under @bazel_tools, so we have to
- # use the one in the main repository
- toolchains = ["@bazel_tools//tools/jdk:current_java_runtime"],
+ toolchains = ["@bazel_tools//tools/jdk:current_host_java_runtime"],
tools = ["@bazel_tools//tools/jdk"],
)