aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/python/PythonSemantics.java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-04-05 19:40:35 +0000
committerGravatar Marcel Hlopko <hlopko@google.com>2017-04-06 11:00:27 +0200
commit459f1300ff234da7d79b1887bd08edb734f79970 (patch)
tree9dcee2da1f3f102298b583bab190facbce02786d /src/main/java/com/google/devtools/build/lib/rules/python/PythonSemantics.java
parentd119f969a30945a1fc29a24a293f6873ff73960d (diff)
Add mechanism to trigger Python type-stripping via a tag.
RELNOTES: none PiperOrigin-RevId: 152291766
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/python/PythonSemantics.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/python/PythonSemantics.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/python/PythonSemantics.java b/src/main/java/com/google/devtools/build/lib/rules/python/PythonSemantics.java
index 08fcb1b465..bbaaa8f423 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/python/PythonSemantics.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/python/PythonSemantics.java
@@ -45,6 +45,9 @@ public interface PythonSemantics {
void collectDefaultRunfilesForBinary(RuleContext ruleContext, Runfiles.Builder builder)
throws InterruptedException;
+ /** Collects a rule's default runfiles. */
+ void collectDefaultRunfiles(RuleContext ruleContext, Runfiles.Builder builder);
+
/**
* Returns the coverage instrumentation specification to be used in Python rules.
*/