diff options
author | 2015-08-12 15:48:30 +0000 | |
---|---|---|
committer | 2015-08-13 14:01:20 +0000 | |
commit | 9d513cab93f03856c5e7ccdd38dbf864f7c5be00 (patch) | |
tree | 364594dcb237e71d6cc05ff2129e8fc9d3be5796 /src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java | |
parent | 32988c68b404bff1a9084b6d24f1d5c00fa28114 (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/SkylarkRuleImplementationFunctions.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java index 6edc400436..4cb6ca52db 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java @@ -473,7 +473,7 @@ public class SkylarkRuleImplementationFunctions { public Runfiles invoke(SkylarkRuleContext ctx, SkylarkList files, Object transitiveFiles, Boolean collectData, Boolean collectDefault, Location loc) throws EvalException, ConversionException { - Runfiles.Builder builder = new Runfiles.Builder(); + Runfiles.Builder builder = new Runfiles.Builder(ctx.getRuleContext().getWorkspaceName()); if (EvalUtils.toBoolean(collectData)) { builder.addRunfiles(ctx.getRuleContext(), RunfilesProvider.DATA_RUNFILES); } |