Skip to content

Commit

Permalink
Turning optimizations on for the bulk of webview
Browse files Browse the repository at this point in the history
This shaves 85kb from the .dex size and 10kb from memory overhead.

BUG=627139

Review-Url: https://codereview.chromium.org/2240483002
Cr-Commit-Position: refs/heads/master@{#412329}
  • Loading branch information
smaier authored and Commit bot committed Aug 16, 2016
1 parent 37b59c1 commit 0e0838f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions android_webview/apk/java/proguard.flags
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Don't rename anything, it makes stack traces unintelligible. We only allow the
# obfuscation pass to run so that we can discard attributes like local variable
# tables.
-keepnames class *** { *; }
# tables. However, we don't want to lose out on optimizations, so although they
# can occasionally make the stack trace a bit stranger with inlining, it won't
# make a big difference for the users seeing the stacktraces. We can always use
# build/android/stacktrace/java_deobfuscate.py to fix the stacktrace up for us.
-keepnames,allowoptimization class *** { *; }

# The following chart was created on Aug. 11, 2016, to decide on 3 optimization
# passes.
Expand Down

0 comments on commit 0e0838f

Please sign in to comment.