diff options
author | laszlocsomor <laszlocsomor@google.com> | 2018-04-23 01:15:01 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-23 01:16:27 -0700 |
commit | 84d3097537f045a78baaebc3c6f2ffef4d814cb5 (patch) | |
tree | 6c90c6ea794b916c57d696e0487ee0a7f4c8d014 /WORKSPACE | |
parent | d91974e8c55a1670e332920fa51512cb237d4f9e (diff) |
SpawnAction.setShellCommand: expect shell path
SpawnAction.setShellCommand(String) now expects
the shell interpreter's path as an argument. This
change enables two things:
- rules can report an error if the shell is
missing
- SpawnAction no longer has to know about a
default shell
The new ShToolchain class will later also be
responsible for retrieving the active shell
toolchain (added in https://github.com/bazelbuild/bazel/commit/81ed3add408adb20bddbc3ba1818c65806738dc5).
This change brings Bazel closer to not depend on
the shell unless it has to (e.g. to run shell
scripts).
See https://github.com/bazelbuild/bazel/issues/4319
RELNOTES: none
PiperOrigin-RevId: 193885943
Diffstat (limited to 'WORKSPACE')
0 files changed, 0 insertions, 0 deletions