build: add support for running builds outside of sandbox on Mac. (#25870)

Add following to your `~/.bazelrc`. This will run the build faster locally
(outside of sandbox), but continue running the builds with sandboxing
on CI.

```
build --spawn_strategy=standalone --strategy=ESM5=sandboxed
```
PR Close #25870
This commit is contained in:
Miško Hevery 2018-09-07 15:21:00 -07:00 committed by Igor Minar
parent 83a1334876
commit 96eb79b1c7
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ def _esm5_outputs_aspect(target, ctx):
# TODO(alexeagle): enable worker mode for these compilations
"supports-workers": "0",
},
mnemonic = "ESM5",
)
root_dir = _join([