aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeActionExecutor.java
diff options
context:
space:
mode:
authorGravatar tomlu <tomlu@google.com>2017-10-27 12:12:11 -0400
committerGravatar John Cater <jcater@google.com>2017-10-30 10:40:06 -0400
commitf903eb5ace7e4d9e72ca95f3e5fa39816be93a76 (patch)
tree3f5f33de008ecd0c82996a134fad2968146312e3 /src/main/java/com/google/devtools/build/lib/skyframe/SkyframeActionExecutor.java
parent4abd9434447e08c70266cc5583456816537718c3 (diff)
Thread FileSystem through to a single Path#delete call site.
This requires a fairly large amount of changes to fundamental objects like BlazeRuntime, Executor, and so on, as well as changing a lot of test code to thread the file system through. I expect future CLs to be much smaller. PiperOrigin-RevId: 173678144
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/SkyframeActionExecutor.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/skyframe/SkyframeActionExecutor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeActionExecutor.java b/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeActionExecutor.java
index 9b0f1a5dda..622f1c3c4a 100644
--- a/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeActionExecutor.java
+++ b/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeActionExecutor.java
@@ -781,7 +781,7 @@ public final class SkyframeActionExecutor implements ActionExecutionContextFacto
// Delete the outputs before executing the action, just to ensure that
// the action really does produce the outputs.
try {
- action.prepare(context.getExecRoot());
+ action.prepare(context.getFileSystem(), context.getExecRoot());
createOutputDirectories(action);
} catch (IOException e) {
reportError("failed to delete output files before executing action", e, action, null);