aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Andrew Pellegrini <apell@google.com>2015-10-27 14:42:03 +0000
committerGravatar David Chen <dzc@google.com>2015-10-27 19:43:15 +0000
commitd8e857e93c6e71efbda7cafaf867b8c749012aa2 (patch)
treef9704f091ed9da23ad4031b483589dbf2f1b71e7 /src
parent6eaaf947c40ebe08455a71ffeeaa9e6811a41e31 (diff)
Add documentation of aar output to the build encyclopedia. Notes that the aar does not contain the transitive closure of the target, as this is a common misconception.
-- MOS_MIGRATED_REVID=106396742
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/bazel/rules/android/BazelAndroidLibraryRule.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/android/BazelAndroidLibraryRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/android/BazelAndroidLibraryRule.java
index 5ba6a3b878..040fe3114d 100644
--- a/src/main/java/com/google/devtools/build/lib/bazel/rules/android/BazelAndroidLibraryRule.java
+++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/android/BazelAndroidLibraryRule.java
@@ -39,6 +39,8 @@ public class BazelAndroidLibraryRule implements RuleDefinition {
<li><code>lib<var>name</var>.jar</code>: A Java archive.</li>
<li><code>lib<var>name</var>-src.jar</code>: An archive containing the
sources ("source jar").</li>
+ <li><code><var>name</var>.aar</code>: An android 'aar' bundle containing the java archive
+ and resources of this target. It does not contain the transitive closure.</li>
</ul>
<!-- #END_BLAZE_RULE.IMPLICIT_OUTPUTS --> */
.setImplicitOutputsFunction(AndroidRuleClasses.ANDROID_LIBRARY_IMPLICIT_OUTPUTS)