aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/android/BUILD
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-08-29 18:54:44 +0000
committerGravatar Klaus Aehlig <aehlig@google.com>2016-08-30 08:34:07 +0000
commita32a70ccdcd79dd9f8820963fd7568d269d21138 (patch)
tree8bffd5e485df36ca5752ac52f8933d1fdf6632a5 /tools/android/BUILD
parent21d1277801416a0ccd820b804cab3b3b87dee175 (diff)
Add a resource validator action for android_library
Part 3 of the 3 new proposed android_library res processing actions. Pulls a zip file from the merging action, unpacks it, and then validates the results with aapt. Get an R.txt and srcjar w/ javadocs from aapt. In order to the get the R.txt, I think you need to ask for the R.java sources anyway. Split the processResources() into a runAapt() function that can be reused. Hookup in bazel coming separately. -- MOS_MIGRATED_REVID=131618410
Diffstat (limited to 'tools/android/BUILD')
-rw-r--r--tools/android/BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/android/BUILD b/tools/android/BUILD
index 9eb2023587..a9652dfaac 100644
--- a/tools/android/BUILD
+++ b/tools/android/BUILD
@@ -51,6 +51,11 @@ alias(
)
alias(
+ name = "resource_validator",
+ actual = "//src/tools/android/java/com/google/devtools/build/android:AndroidResourceValidatorAction",
+)
+
+alias(
name = "merge_dexzips",
actual = "//src/tools/android/java/com/google/devtools/build/android/ziputils:reducer",
)