Index: chrome/android/java/proguard.flags |
diff --git a/chrome/android/java/proguard.flags b/chrome/android/java/proguard.flags |
index dd02feb18882efdcbe2928e712a5144696d8734b..b7704047afa77d1ad00827719c446ca0701b60ff 100644 |
--- a/chrome/android/java/proguard.flags |
+++ b/chrome/android/java/proguard.flags |
@@ -93,6 +93,19 @@ |
!static final <fields>; |
} |
+# Allowing Proguard to change modifiers. This change shrinks the .dex size by |
+# ~1.1%, and reduces the method count by ~4.3%. |
+-allowaccessmodification |
+ |
+# Allows Proguard freedom in removing these log related calls. We ask for debug |
+# and verbose logs to be stripped out in base.Log, so we are just ensuring we |
+# get rid of all other debug/verbose logs. |
+-assumenosideeffects class android.util.Log { |
+ static *** d(...); |
+ static *** v(...); |
+ static *** isLoggable(...); |
+} |
+ |
# Everything below this is kept because they are referenced by the test APK. |
-dontwarn javax.annotation.Nullable |