Permalink
Browse files

Make Darwin sandboxing default again.

RELNOTES: Darwin sandboxing is default.

--
MOS_MIGRATED_REVID=136013826
  • Loading branch information...
1 parent dfd85b6 commit 7b825b8ea442246aabfa6a5a8962abd70855d0da @hermione521 hermione521 committed Oct 13, 2016
@@ -43,11 +43,9 @@ public SandboxActionContextConsumer(CommandEnvironment env) {
|| (OS.getCurrent() == OS.DARWIN && DarwinSandboxRunner.isSupported())) {
contexts.put(SpawnActionContext.class, "sandboxed");
- // This makes the "sandboxed" strategy the default Spawn strategy on Linux, unless it is
+ // This makes the "sandboxed" strategy the default Spawn strategy, unless it is
// overridden by a later BlazeModule.
- if (OS.getCurrent() == OS.LINUX) {
- spawnContexts.put("", "sandboxed");
- }
+ spawnContexts.put("", "sandboxed");
}
this.contexts = contexts.build();

0 comments on commit 7b825b8

Please sign in to comment.