Commit e79c0ef8 authored by smaier's avatar smaier Committed by Commit bot

Proguard: Logging stripped and allowaccessmodification turned on

BUG=620371

Review-Url: https://codereview.chromium.org/2067303002
Cr-Commit-Position: refs/heads/master@{#400692}
parent 29fd9e8e
...@@ -96,6 +96,19 @@ ...@@ -96,6 +96,19 @@
!static final <fields>; !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. # Everything below this is kept because they are referenced by the test APK.
-keep class android.support.v7.mediarouter.R* { -keep class android.support.v7.mediarouter.R* {
*; *;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment