aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime
diff options
context:
space:
mode:
authorGravatar janakr <janakr@google.com>2017-04-05 21:41:23 +0000
committerGravatar Marcel Hlopko <hlopko@google.com>2017-04-06 11:00:31 +0200
commit0049e964f1ab5fe23969ffd2aa906dbed3fc8f7e (patch)
tree478b3116603437242f7a6411be62a6023ce86243 /src/main/java/com/google/devtools/build/lib/runtime
parent2a6b8edb959fbc7adf7a081e399d5d43df703219 (diff)
Move action_outs directory to under the output path.
PiperOrigin-RevId: 152307322
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/CommandEnvironment.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/CommandEnvironment.java b/src/main/java/com/google/devtools/build/lib/runtime/CommandEnvironment.java
index 0014eac0be..46c133fcc8 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/CommandEnvironment.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/CommandEnvironment.java
@@ -326,6 +326,14 @@ public final class CommandEnvironment {
}
/**
+ * Returns the directory where actions' outputs and errors will be written. Is below the directory
+ * returned by {@link #getExecRoot}.
+ */
+ public Path getActionConsoleOutputDirectory() {
+ return getDirectories().getActionConsoleOutputDirectory(getExecRoot());
+ }
+
+ /**
* Returns the working directory of the {@code blaze} client process.
*
* <p>This may be equal to {@code BlazeRuntime#getWorkspace()}, or beneath it.