Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: android_webview/apk/java/proguard.flags

Issue 2250963004: Use keepclassmembers for android.webkit.JavascriptInterface in proguard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Don't rename anything, it makes stack traces unintelligible. We only allow the 1 # Don't rename anything, it makes stack traces unintelligible. We only allow the
2 # obfuscation pass to run so that we can discard attributes like local variable 2 # obfuscation pass to run so that we can discard attributes like local variable
3 # tables. 3 # tables.
4 -keepnames class *** { *; } 4 -keepnames class *** { *; }
5 5
6 # The following chart was created on Aug. 11, 2016, to decide on 3 optimization 6 # The following chart was created on Aug. 11, 2016, to decide on 3 optimization
7 # passes. 7 # passes.
8 # optimization passes | time | .dex size | dirty memory 8 # optimization passes | time | .dex size | dirty memory
9 # ----------------------------------------------------------------- 9 # -----------------------------------------------------------------
10 # 1 | 0:13 | 1022588 | 97772 10 # 1 | 0:13 | 1022588 | 97772
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 -keep class org.chromium.android_webview.AwDebug { 70 -keep class org.chromium.android_webview.AwDebug {
71 public static boolean dumpWithoutCrashing(...); 71 public static boolean dumpWithoutCrashing(...);
72 } 72 }
73 73
74 #TODO(hush): remove after N release. crbug.com/546762 74 #TODO(hush): remove after N release. crbug.com/546762
75 -keep class com.android.webview.chromium.ContentSettingsAdapter { 75 -keep class com.android.webview.chromium.ContentSettingsAdapter {
76 public void setDisabledActionModeMenuItems(int); 76 public void setDisabledActionModeMenuItems(int);
77 public int getDisabledActionModeMenuItems(); 77 public int getDisabledActionModeMenuItems();
78 } 78 }
79 79
80 # Keeps for method level annotations.
81 -keepclasseswithmembers class * {
82 @android.webkit.JavascriptInterface <methods>;
83 }
84
80 # Ignore notes and warnings about the support library, which uses reflection and 85 # Ignore notes and warnings about the support library, which uses reflection and
81 # may reference classes no longer in the SDK. 86 # may reference classes no longer in the SDK.
82 -dontnote android.support.** 87 -dontnote android.support.**
83 -dontwarn android.support.** 88 -dontwarn android.support.**
OLDNEW
« no previous file with comments | « no previous file | base/android/base_proguard_config.flags » ('j') | base/android/base_proguard_config.flags » ('J')

Powered by Google App Engine
This is Rietveld 408576698