diff options
author | Philipp Wollermann <philwo@google.com> | 2016-09-30 11:44:20 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2016-09-30 14:11:25 +0000 |
commit | e898023ffc6c47a27312c4d3659dbeeccdb3cd37 (patch) | |
tree | 09ee6e816484b8789cbe46ae1a402bcd562576df /third_party/py/gflags/AUTHORS | |
parent | d59bcb6333be731d82c51c20211ecabebe194f19 (diff) |
Fix #1849: Sandboxing on OS X should be turned off by default for 0.3.2.
This restructures the way we set the default Spawn strategy so that each BlazeModule supplying a SpawnActionContext has an ActionContextConsumer that sets its own SpawnActionContext as the default, with the BazelRulesModule being put as the last module loaded in BazelMain, so that it can override that decision - it only does, if the user explicitly specifies a --spawn_strategy flag. IMHO this is a much saner approach than the older one.
So the flow is essentially this:
- StandaloneActionContextConsumer sets the default strategy to "standalone".
- SandboxActionContextConsumer sets the default strategy to "sandboxed", but only on Linux
- BazelRulesModule sets the default strategy to the value of the --spawn_strategy flag, if it is set.
--
MOS_MIGRATED_REVID=134770427
Diffstat (limited to 'third_party/py/gflags/AUTHORS')
0 files changed, 0 insertions, 0 deletions