diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/BlazeModule.java | 2 | ||||
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/CommandEnvironment.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeModule.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeModule.java index a3675da872..a56d70eebb 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeModule.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeModule.java @@ -206,7 +206,7 @@ public abstract class BlazeModule { * Gets a file from the depot based on its label and returns the {@link Path} where it can * be found. */ - Path getFileFromDepot(Label label) + Path getFileFromWorkspace(Label label) throws NoSuchThingException, InterruptedException, IOException; /** 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 5590b061c8..b8467c3b27 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 @@ -67,7 +67,7 @@ public final class CommandEnvironment { private class BlazeModuleEnvironment implements BlazeModule.ModuleEnvironment { @Override - public Path getFileFromDepot(Label label) + public Path getFileFromWorkspace(Label label) throws NoSuchThingException, InterruptedException, IOException { Target target = getPackageManager().getTarget(reporter, label); return (runtime.getOutputService() != null) |