aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java
diff options
context:
space:
mode:
authorGravatar Ulf Adams <ulfjack@google.com>2016-08-10 13:10:46 +0000
committerGravatar Yue Gan <yueg@google.com>2016-08-10 13:55:45 +0000
commit124bd0a7d32c28cc53ef8d8beab4e422d5ee9c42 (patch)
treee07f44003e204429656f911c0476e689b325597b /src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java
parent7db73d3236f59029a8a59c2a46d342eb897012b6 (diff)
Remove the outputPath parameter from BlazeModule.getFileSystem.
It's never used, and it's tricky to run with multiple different file systems in the same process -> remove it to simplify. -- MOS_MIGRATED_REVID=129858142
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java
index 851f647bfa..eb3e6a67a1 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java
@@ -882,11 +882,9 @@ public final class BlazeRuntime {
"Bad --output_base option specified: '" + outputBase + "'");
}
- PathFragment outputPathFragment = BlazeDirectories.outputPathFromOutputBase(
- outputBase, workspaceDirectory, startupOptions.deepExecRoot, productName);
FileSystem fs = null;
for (BlazeModule module : blazeModules) {
- FileSystem moduleFs = module.getFileSystem(options, outputPathFragment);
+ FileSystem moduleFs = module.getFileSystem(options);
if (moduleFs != null) {
Preconditions.checkState(fs == null, "more than one module returns a file system");
fs = moduleFs;