aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar spomorski <spomorski@google.com>2017-11-22 06:15:42 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-11-22 06:17:15 -0800
commit5b8736d769db8cde5b60058152545040876d514e (patch)
tree6cf0c3f122c8f9895b7c1deaece272e96a8eab06
parent7585dcd677f650160917550cc29a9fb185f35cc3 (diff)
Clarify `srcs` description to make it obvious what file types are accepted.
PiperOrigin-RevId: 176647103
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java
index 7b8e7cf246..da4177f2f8 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java
@@ -47,7 +47,8 @@ public final class AndroidLibraryBaseRule implements RuleDefinition {
public RuleClass build(RuleClass.Builder builder, final RuleDefinitionEnvironment env) {
return builder
/* <!-- #BLAZE_RULE(android_library).ATTRIBUTE(srcs) -->
- The list of source files that are processed to create the target.
+ The list of <code>.java</code> or <code>.srcjar</code> files that
+ are processed to create the target.
<p><code>srcs</code> files of type <code>.java</code> are compiled.
<em>For readability's sake</em>, it is not good to put the name of a
generated <code>.java</code> source file into the <code>srcs</code>.