summaryrefslogtreecommitdiffstats
path: root/mobile/android/config/proguard/strip-libs.cfg
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-04-23 15:32:23 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-04-23 15:32:23 -0400
commitabe80cc31d5a40ebed743085011fbcda0c1a9a10 (patch)
treefb3762f06b84745b182af281abb107b95a9fcf01 /mobile/android/config/proguard/strip-libs.cfg
parent63295d0087eb58a6eb34cad324c4c53d1b220491 (diff)
downloadUXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar
UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.gz
UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.lz
UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.xz
UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.zip
Issue #1053 - Drop support Android and remove Fennec - Part 1a: Remove mobile/android
Diffstat (limited to 'mobile/android/config/proguard/strip-libs.cfg')
-rw-r--r--mobile/android/config/proguard/strip-libs.cfg41
1 files changed, 0 insertions, 41 deletions
diff --git a/mobile/android/config/proguard/strip-libs.cfg b/mobile/android/config/proguard/strip-libs.cfg
deleted file mode 100644
index 80a1f151c..000000000
--- a/mobile/android/config/proguard/strip-libs.cfg
+++ /dev/null
@@ -1,41 +0,0 @@
-# Proguard step for stripping debug information.
-#
-# This is useful to work around a bug in the way Proguard handles debug information: it
-# sometimes corrupts it. Classes with corrupt debug information cannot be dexed, but
-# classes with *no* debug information can be. There's no way to configure Proguard to
-# delete debug information on a per-class basis, so we need this special extra step for
-# stripping debug information only from those classes for which the Proguard bug is
-# encountered.
-#
-# Currently, this pass is applied to all bundled library jars for which we are not
-# compiling the source. This is slightly more than is strictly necessary to work around
-# the Proguard bug, but such debug information is of negligible value and stripping it
-# too slightly simplifies the makefile and saves us a handful of kilobytes of binary size.
-#
-# Configuring Proguard to do nothing except strip metadata is done by having it run only
-# the obfuscation pass, but with a configuration that prevents it from renaming any classes.
-# It then attempts to delete class metadata, so we further configure it not to do so for
-# anything except the problematic debug information.
-
-# Run only the obfuscator.
--dontoptimize
--dontshrink
--dontpreverify
--verbose
-
-# Don't rename anything.
--keeppackagenames
-
-# Seriously, don't rename anything.
--keep class *
--keepclassmembers class * {
- *;
-}
-
-# Don't delete other useful metadata.
--keepattributes Exceptions,InnerClasses,Signature,Deprecated,*Annotation*,EnclosingMethod
-
-# Don't print spurious warnings from the support library.
-# See: http://stackoverflow.com/questions/22441366/note-android-support-v4-text-icucompatics-cant-find-dynamically-referenced-cl
--dontnote android.support.**
--dontwarn android.support.**