aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/bazel/BUILD
diff options
context:
space:
mode:
authorGravatar lberki <lberki@google.com>2017-11-24 04:49:10 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-11-24 04:50:45 -0800
commit263c5e07dd2860a866fd361cd29c03afaf3e019f (patch)
tree6b249a7f5f92cb0aed9caf6f2f666694e074d7cd /src/test/shell/bazel/BUILD
parent9ee4073a0e6a2f92cd325e4441fc2b74b1fda299 (diff)
Add //tools/jdk:current_java_runtime / tools/jdk:current_host_java_runtime to rules that use the $(JAVA) or the $(JAVABASE) Make variable.
This is necessary because a future Blaze version will require this for rules that use said Make variables. This incompatible change can be tested today by adding the --noexperimental_enable_jvm_configuration_make_variables command line option to Blaze. This change is part of a large-scale change ([] RELNOTES: None. PiperOrigin-RevId: 176834987
Diffstat (limited to 'src/test/shell/bazel/BUILD')
-rw-r--r--src/test/shell/bazel/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD
index b10378f12e..855bba1cbd 100644
--- a/src/test/shell/bazel/BUILD
+++ b/src/test/shell/bazel/BUILD
@@ -525,6 +525,7 @@ sh_test(
srcs = ["java_launcher_test.sh"],
args = ["$(JAVABASE)"],
data = [":test-deps"],
+ toolchains = ["@bazel_tools//tools/jdk:current_java_runtime"],
)
genquery(