aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/android/java/com/google/devtools/build/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 /src/tools/android/java/com/google/devtools/build/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 'src/tools/android/java/com/google/devtools/build/android/BUILD')
-rw-r--r--src/tools/android/java/com/google/devtools/build/android/BUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/android/java/com/google/devtools/build/android/BUILD b/src/tools/android/java/com/google/devtools/build/android/BUILD
index 6dc6b4b2ce..d8df5b4103 100644
--- a/src/tools/android/java/com/google/devtools/build/android/BUILD
+++ b/src/tools/android/java/com/google/devtools/build/android/BUILD
@@ -50,6 +50,14 @@ java_binary(
)
java_binary(
+ name = "AndroidResourceValidatorAction",
+ main_class = "com.google.devtools.build.android.AndroidResourceValidatorAction",
+ runtime_deps = [
+ ":android_builder_lib",
+ ],
+)
+
+java_binary(
name = "ManifestMergerAction",
main_class = "com.google.devtools.build.android.ManifestMergerAction",
runtime_deps = [