aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/BUILD
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2018-04-16 05:11:38 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-04-16 05:13:15 -0700
commit81ed3add408adb20bddbc3ba1818c65806738dc5 (patch)
tree885208ea7cf7da2b7091375f0d122fcd1e34488f /tools/BUILD
parentecbab79b7bc982e5b60b09203607ab6a4d066294 (diff)
bash: Add a toolchain for local Bash.
Bazel automatically detects the local Bash and creates a custom toolchain rule for it. Later, rules that use Bash will require this toolchain and retrieve Bash's path from it instead of relying on hardcoded paths or the `--shell_executable` flag. See https://github.com/bazelbuild/bazel/issues/4319 Change-Id: Idd8242a20d202b1f5a56cddac95b625c6c08ede9 Closes #4980. Change-Id: Ic2406a4da260b284e15852070d58472ca18340af PiperOrigin-RevId: 193022708
Diffstat (limited to 'tools/BUILD')
-rw-r--r--tools/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/BUILD b/tools/BUILD
index 21a95fc486..0b5835a357 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -31,6 +31,7 @@ filegroup(
"//tools/test:srcs",
"//tools/python:srcs",
"//tools/runfiles:srcs",
+ "//tools/sh:srcs",
"//tools/whitelists:srcs",
"//tools/zip:srcs",
],
@@ -62,6 +63,7 @@ filegroup(
"//tools/test:srcs",
"//tools/osx/crosstool:srcs",
"//tools/osx:srcs",
+ "//tools/sh:embedded_tools",
"//tools/whitelists:srcs",
"//tools/zip:srcs",
],