aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build
diff options
context:
space:
mode:
authorGravatar Philipp Wollermann <philwo@google.com>2016-09-15 13:22:51 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2016-09-15 15:41:16 +0000
commit189fca4625d0db8f9c366bd5089573788f89362f (patch)
tree5c7b124ebe18d60e55b28f8e5ca2f6c441699cae /src/main/java/com/google/devtools/build
parent03940330768479b679a2fe995f3041d96f5412a3 (diff)
-- 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.java10
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);
}