commit | c2efe4556849e4eaa11472d070e5172d1629af92 | [log] [tgz] |
---|---|---|
author | Laurent Le Brun <laurentlb@google.com> | Wed Apr 08 16:27:21 2015 +0000 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Wed Apr 08 18:40:23 2015 +0000 |
tree | ee604824073e9e61f17b67c88c4a360ab568ff09 | |
parent | 01f36002951f1b86924a0a06b44621e80795d5dd [diff] [blame] |
Skylark: Expose output_to_genfiles rule attribute -- MOS_MIGRATED_REVID=90616271
diff --git a/src/main/java/com/google/devtools/build/lib/packages/RuleClass.java b/src/main/java/com/google/devtools/build/lib/packages/RuleClass.java index 3c8172a..d265a44 100644 --- a/src/main/java/com/google/devtools/build/lib/packages/RuleClass.java +++ b/src/main/java/com/google/devtools/build/lib/packages/RuleClass.java
@@ -1508,7 +1508,8 @@ * individual rule instance, derived from the 'output_to_bindir' attribute; * see Rule.hasBinaryOutput(). */ - boolean hasBinaryOutput() { + @VisibleForTesting + public boolean hasBinaryOutput() { return binaryOutput; }