diff options
author | Philipp Wollermann <philwo@google.com> | 2017-04-12 07:51:46 -0400 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2017-05-08 09:49:49 -0400 |
commit | 5aaf52f5d0704b91245517f19f2fe4638b2a6a97 (patch) | |
tree | d67ca558ef3b59eaab657887e9e9b972bff7a9bd /src/main/java/com/google/devtools/build/lib/analysis/config | |
parent | f6f3d8ffb7386535d094ff0e8978658f551e3ba7 (diff) |
sandbox: Use the processwrapper-sandbox on FreeBSD (default) and macOS (fallback only).
On macOS the processwrapper-sandbox will be used when the darwin-sandbox doesn't
work. Most notably this is the case for nested sandboxing, e.g. Bazel running
Bazel inside an integration test.
Also includes a fix to pull in some extra environment vars on macOS, similar to
what DarwinSandboxedStrategy and StandaloneSpawnStrategy already do. Without
this the processwrapper-sandbox seems to occasionally cause ObjC builds (and two
of our tests) to fail.
Change-Id: Ic7462080caf56d9bb98e2f3765bd37853b01632b
RELNOTES: Sandboxing is now enabled by default on FreeBSD (via processwrapper-sandbox).
PiperOrigin-RevId: 155366728
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis/config')
0 files changed, 0 insertions, 0 deletions