OLD | NEW |
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. However, we don't want to lose out on optimizations, so although they | 3 # tables. However, we don't want to lose out on optimizations, so although they |
4 # can occasionally make the stack trace a bit stranger with inlining, it won't | 4 # can occasionally make the stack trace a bit stranger with inlining, it won't |
5 # make a big difference for the users seeing the stacktraces. We can always use | 5 # make a big difference for the users seeing the stacktraces. We can always use |
6 # build/android/stacktrace/java_deobfuscate.py to fix the stacktrace up for us. | 6 # build/android/stacktrace/java_deobfuscate.py to fix the stacktrace up for us. |
7 -keepnames,allowoptimization class *** { *; } | 7 -keepnames,allowoptimization class *** { *; } |
8 | 8 |
9 -keepclassmembers class org.chromium.android_webview.AwPdfExporter { | 9 -keepclassmembers class org.chromium.android_webview.AwPdfExporter { |
10 android.view.ViewGroup mContainerView; | 10 android.view.ViewGroup mContainerView; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 -keep class com.android.webview.chromium.PlatformServiceBridgeGoogle { | 63 -keep class com.android.webview.chromium.PlatformServiceBridgeGoogle { |
64 void setMetricsSettingListener(...); | 64 void setMetricsSettingListener(...); |
65 PlatformServiceBridgeGoogle(...); | 65 PlatformServiceBridgeGoogle(...); |
66 } | 66 } |
67 -dontnote com.android.webview.chromium.PlatformServiceBridgeGoogle | 67 -dontnote com.android.webview.chromium.PlatformServiceBridgeGoogle |
68 -keep class com.android.webview.chromium.AwSafeBrowsingApiHandler { | 68 -keep class com.android.webview.chromium.AwSafeBrowsingApiHandler { |
69 AwSafeBrowsingApiHandler(...); | 69 AwSafeBrowsingApiHandler(...); |
70 } | 70 } |
71 -dontnote com.android.webview.chromium.AwSafeBrowsingApiHandler | 71 -dontnote com.android.webview.chromium.AwSafeBrowsingApiHandler |
72 | 72 |
| 73 #TODO(hush): remove after N release. crbug.com/546762 |
| 74 -keep class com.android.webview.chromium.ContentSettingsAdapter { |
| 75 public void setDisabledActionModeMenuItems(int); |
| 76 public int getDisabledActionModeMenuItems(); |
| 77 } |
| 78 |
73 # We strip some unused resources when preprocessing the GMS client libs. | 79 # We strip some unused resources when preprocessing the GMS client libs. |
74 -dontwarn com.google.android.gms.R** | 80 -dontwarn com.google.android.gms.R** |
OLD | NEW |