| 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 { |
| 10 android.view.ViewGroup mContainerView; |
| 11 } |
| 12 |
| 9 # Keep the factory and its public members; it's the main entry point used by the | 13 # Keep the factory and its public members; it's the main entry point used by the |
| 10 # framework. | 14 # framework. |
| 11 -keep class com.android.webview.chromium.WebViewChromiumFactoryProvider { | 15 -keep class com.android.webview.chromium.WebViewChromiumFactoryProvider { |
| 12 public *; | 16 public *; |
| 13 } | 17 } |
| 14 | 18 |
| 15 -keep class com.android.webview.chromium.WebViewChromiumFactoryProviderFor* { | 19 -keep class com.android.webview.chromium.WebViewChromiumFactoryProviderFor* { |
| 16 public *; | 20 public *; |
| 17 } | 21 } |
| 18 | 22 |
| 19 | |
| 20 -keep class com.android.webview.chromium.WebViewDatabaseAdapter { | 23 -keep class com.android.webview.chromium.WebViewDatabaseAdapter { |
| 21 public *; | 24 public *; |
| 22 } | 25 } |
| 23 | 26 |
| 24 # This is the main entry point for APIs. It is kept to make developing with | 27 # This is the main entry point for APIs. It is kept to make developing with |
| 25 # unreleased Android easier. | 28 # unreleased Android easier. |
| 26 -keep class com.android.webview.chromium.WebViewChromium { | 29 -keep class com.android.webview.chromium.WebViewChromium { |
| 27 public *; | 30 public *; |
| 28 } | 31 } |
| 29 | 32 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 -dontnote com.android.webview.chromium.AwSafeBrowsingApiHandler | 71 -dontnote com.android.webview.chromium.AwSafeBrowsingApiHandler |
| 69 | 72 |
| 70 #TODO(hush): remove after N release. crbug.com/546762 | 73 #TODO(hush): remove after N release. crbug.com/546762 |
| 71 -keep class com.android.webview.chromium.ContentSettingsAdapter { | 74 -keep class com.android.webview.chromium.ContentSettingsAdapter { |
| 72 public void setDisabledActionModeMenuItems(int); | 75 public void setDisabledActionModeMenuItems(int); |
| 73 public int getDisabledActionModeMenuItems(); | 76 public int getDisabledActionModeMenuItems(); |
| 74 } | 77 } |
| 75 | 78 |
| 76 # We strip some unused resources when preprocessing the GMS client libs. | 79 # We strip some unused resources when preprocessing the GMS client libs. |
| 77 -dontwarn com.google.android.gms.R** | 80 -dontwarn com.google.android.gms.R** |
| OLD | NEW |