aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2015-09-15 11:13:37 +0000
committerGravatar John Field <jfield@google.com>2015-09-15 20:27:18 +0000
commit90eec0cc25fb23643d6ac9f0d8d60ba0c170f9f3 (patch)
tree53d32da659280408dba52ffd839921b85be29e05 /src/main
parent633f539e989de4304123027157e7e3bce338483c (diff)
Add a paragraph to the Build Encyclopedia that tells how to use the appcompat library.
-- MOS_MIGRATED_REVID=103080967
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/google/devtools/build/lib/bazel/rules/android/BazelAndroidLibraryRule.java5
1 files changed, 5 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 bf7da9c983..2947225bdb 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
@@ -70,10 +70,15 @@ ${ATTRIBUTE_SIGNATURE}
the compilation class path.
</p>
+<p>If you need to depend on the appcompat library, put
+<code>//external:android/appcompat_v4</code> or <code>//external:android/appcompat_v7</code>
+in the <code>deps</code> attribute.
+</p>
${IMPLICIT_OUTPUTS}
${ATTRIBUTE_DEFINITION}
+
<h4 id="android_library_examples">Examples</h4>
<p>Examples of Android rules can be found in the <code>examples/android</code> directory of the
Bazel source tree.