aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar lberki <lberki@google.com>2017-12-11 05:11:27 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-12-11 05:13:19 -0800
commit609d551641e359045b8921a45c578ce23dbf1833 (patch)
tree2263be37e8803f83519b2e16d40e409c2c0566af /scripts
parent09e22056d9c84bf6e024a705b5d3d3549fd13873 (diff)
Add a toolchains= dependency to a few genrules so that the Bazel test suite passes.
Fixes #4268 . RELNOTES: None. PiperOrigin-RevId: 178604877
Diffstat (limited to 'scripts')
-rw-r--r--scripts/BUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/BUILD b/scripts/BUILD
index 7c782cc760..ee6ef86c37 100644
--- a/scripts/BUILD
+++ b/scripts/BUILD
@@ -16,6 +16,9 @@ genrule(
"--prepend=$(location bazel-complete-template.bash)",
]),
output_to_bindir = 1,
+ # Bazel 0.8.0 doesn't have this target under @bazel_tools, so we have to
+ # use it from the main repository
+ toolchains = ["@bazel_tools//tools/jdk:current_java_runtime"],
tools = [
":generate_bash_completion.sh",
"//src:bazel",