diff options
author | 2017-03-24 20:40:02 +0000 | |
---|---|---|
committer | 2017-03-27 11:36:24 +0000 | |
commit | ebd04a4bd80706251190ad5fca4c7a54dabcd8a1 (patch) | |
tree | 90ddac88cccdab604612dc41cadf8bdf94cea54f /src/main/java/com/google/devtools/build/lib/sandbox/SandboxHelpers.java | |
parent | 177429ea5d91b56e5b4355d075b06b585b98b923 (diff) |
sandbox: Show the actual running sandbox strategy for actions.
This allows us to see for example whether an action ran using the
"process wrapper + symlink tree" sandbox or the real "PID and mount
namespaces" Linux sandbox.
--
PiperOrigin-RevId: 151165170
MOS_MIGRATED_REVID=151165170
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/sandbox/SandboxHelpers.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/sandbox/SandboxHelpers.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/sandbox/SandboxHelpers.java b/src/main/java/com/google/devtools/build/lib/sandbox/SandboxHelpers.java index 9776210212..e30008e3ae 100644 --- a/src/main/java/com/google/devtools/build/lib/sandbox/SandboxHelpers.java +++ b/src/main/java/com/google/devtools/build/lib/sandbox/SandboxHelpers.java @@ -16,10 +16,8 @@ package com.google.devtools.build.lib.sandbox; import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSet.Builder; -import com.google.common.eventbus.EventBus; import com.google.devtools.build.lib.actions.ActionExecutionContext; import com.google.devtools.build.lib.actions.ActionInput; -import com.google.devtools.build.lib.actions.ActionStatusMessage; import com.google.devtools.build.lib.actions.ExecException; import com.google.devtools.build.lib.actions.Executor; import com.google.devtools.build.lib.actions.Spawn; @@ -78,10 +76,6 @@ public final class SandboxHelpers { return true; } - static void postActionStatusMessage(EventBus eventBus, Spawn spawn) { - eventBus.post(ActionStatusMessage.runningStrategy(spawn.getResourceOwner(), "sandbox")); - } - static Path getSandboxRoot( BlazeDirectories blazeDirs, String productName, UUID uuid, AtomicInteger execCounter) { return blazeDirs |