aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibrary.java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-04-15 20:35:59 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-04-18 10:43:19 +0000
commit1bdf2f49edf67c699b0ffe4a35dd89673c7d9dc8 (patch)
treee05ca9b35f892096fe00b58d0ac77da2a5f90c5e /src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibrary.java
parentea81a7037f761c10516cfa6ef1eeee7e4bcc7d07 (diff)
Add a crunch_png attribute to android_binary
This allows a user to turn off png crunching during the final merge (with crunch_png = 0), but it does not skip nine-patch processing. RELNOTES: adds crunch_png attribute to android_binary -- MOS_MIGRATED_REVID=119986498
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibrary.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibrary.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibrary.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibrary.java
index 529e10f7b7..642cac823d 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibrary.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibrary.java
@@ -88,6 +88,7 @@ public abstract class AndroidLibrary implements RuleConfiguredTargetFactory {
ruleContext.getImplicitOutputArtifact(AndroidRuleClasses.ANDROID_SYMBOLS_TXT),
ImmutableList.<String>of(), /* configurationFilters */
ImmutableList.<String>of(), /* uncompressedExtensions */
+ false, /* crunchPng */
ImmutableList.<String>of(), /* densities */
null /* applicationId */,
null /* versionCode */,