aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/python/PyLibrary.java
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <kchodorow@google.com>2015-08-12 15:48:30 +0000
committerGravatar Florian Weikert <fwe@google.com>2015-08-13 14:01:20 +0000
commit9d513cab93f03856c5e7ccdd38dbf864f7c5be00 (patch)
tree364594dcb237e71d6cc05ff2129e8fc9d3be5796 /src/main/java/com/google/devtools/build/lib/rules/python/PyLibrary.java
parent32988c68b404bff1a9084b6d24f1d5c00fa28114 (diff)
Set the workspace suffix for runfiles
This CL covers the "easy" cases. Followup CLs will take care of couple dozen remaining gnarly ones. -- MOS_MIGRATED_REVID=100479410
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/python/PyLibrary.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/python/PyLibrary.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/python/PyLibrary.java b/src/main/java/com/google/devtools/build/lib/rules/python/PyLibrary.java
index fc6cecbaa4..2904e9ffc7 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/python/PyLibrary.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/python/PyLibrary.java
@@ -68,7 +68,7 @@ public abstract class PyLibrary implements RuleConfiguredTargetFactory {
}
};
- Runfiles.Builder runfilesBuilder = new Runfiles.Builder();
+ Runfiles.Builder runfilesBuilder = new Runfiles.Builder(ruleContext.getWorkspaceName());
if (common.getConvertedFiles() != null) {
runfilesBuilder.addSymlinks(common.getConvertedFiles());
} else {