diff options
author | 2016-09-15 13:22:51 +0000 | |
---|---|---|
committer | 2016-09-15 15:41:16 +0000 | |
commit | 189fca4625d0db8f9c366bd5089573788f89362f (patch) | |
tree | 5c7b124ebe18d60e55b28f8e5ca2f6c441699cae /src/main/java/com/google/devtools/build | |
parent | 03940330768479b679a2fe995f3041d96f5412a3 (diff) |
Rollback of commit 66a45a5e40e439f0682e16a8ee5faa40f95be72a.
--
MOS_MIGRATED_REVID=133253879
Diffstat (limited to 'src/main/java/com/google/devtools/build')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java | 10 |
1 files changed, 5 insertions, 5 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 ccd09d0ff2..2d10af4e0e 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 @@ -284,13 +284,13 @@ public class SkylarkRuleImplementationFunctions { + "command instead of " + EvalUtils.getDataTypeName(commandUnchecked)); } - - // The actual command can refer to an executable from the inputs, which could - // require some runfiles. Consequently, we add the runfiles of every executable - // input file that is in HOST configuration to the action as a precaution. - addRequiredIndirectRunfiles(ctx, builder); } + // The actual command can refer to an executable from the inputs, which could + // require some runfiles. Consequently, we add the runfiles of every executable + // input file that is in HOST configuration to the action as a precaution. + addRequiredIndirectRunfiles(ctx, builder); + if (mnemonicUnchecked != Runtime.NONE) { builder.setMnemonic((String) mnemonicUnchecked); } |