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 Alex Eagle
parent e7c72ab556
commit b7be4f55be

View File

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