aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2015-09-07 14:04:35 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-09-08 09:04:17 +0000
commit05e2c5b4e0da2f88e12d95adbc63cc3d46a6fca6 (patch)
treed7d3bed2d666ab019492c4e122f722885d190959 /src
parent3f8aac93ff0b2f06bc01b60614a265304aec177d (diff)
Remove references to the legacy android_resources rule from the Bazel BUILD encyclopedia.
Fixes #426. -- MOS_MIGRATED_REVID=102496247
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinaryOnlyRule.java7
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryBaseRule.java11
2 files changed, 0 insertions, 18 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinaryOnlyRule.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinaryOnlyRule.java
index 4056c784cf..52779882b9 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinaryOnlyRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinaryOnlyRule.java
@@ -88,13 +88,6 @@ public final class AndroidBinaryOnlyRule implements RuleDefinition {
the specified screen densities, to reduce APK size.
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("densities", STRING_LIST))
- /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(resources) -->
- The <code>android_resources</code> target corresponding to this binary.
- ${SYNOPSIS}
- The target describing the manifest, resources and assets used by this
- binary.
- <!-- #END_BLAZE_RULE.ATTRIBUTE --> */
- .add(attr("resources", LABEL).allowedFileTypes().allowedRuleClasses("android_resources"))
.add(attr("$android_manifest_merge_tool", LABEL)
.cfg(HOST)
.exec()
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 1cb6a45697..551798eeca 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
@@ -82,17 +82,6 @@ public final class AndroidLibraryBaseRule implements RuleDefinition {
.override(builder.copy("deps")
.allowedRuleClasses(AndroidRuleClasses.ALLOWED_DEPENDENCIES)
.allowedFileTypes())
- /* <!-- #BLAZE_RULE(android_library).ATTRIBUTE(resources) -->
- The <code>android_resources</code> target assigned to this library.
- ${SYNOPSIS}
- If specified, the resources will be added to any <code>android_binary</code>
- depending on this library.
- <p>Only an <code>android_resource</code> rule with the attribute
- <code>inline_constants</code> set to 0 can be used in this case.</p>
- <!-- #END_BLAZE_RULE.ATTRIBUTE --> */
- .add(attr("resources", LABEL)
- .allowedFileTypes()
- .allowedRuleClasses("android_resources"))
.add(attr("alwayslink", BOOLEAN).undocumented("purely informational for now"))
/* <!-- #BLAZE_RULE(android_library).ATTRIBUTE(neverlink) -->
Only use this library for compilation and not at runtime.