| 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; |
| 11 } | 11 } |
| 12 | 12 |
| 13 # 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 |
| 14 # framework. | 14 # framework. |
| 15 -keep class com.android.webview.chromium.WebViewChromiumFactoryProvider { | 15 -keep class com.android.webview.chromium.WebViewChromiumFactoryProvider { |
| 16 public *; | 16 public *; |
| 17 } | 17 } |
| 18 | 18 |
| 19 -keep class com.android.webview.chromium.ContentSettingsAdapter { |
| 20 public *; |
| 21 } |
| 22 |
| 19 -keep class com.android.webview.chromium.WebViewChromiumFactoryProviderFor* { | 23 -keep class com.android.webview.chromium.WebViewChromiumFactoryProviderFor* { |
| 20 public *; | 24 public *; |
| 21 } | 25 } |
| 22 | 26 |
| 23 -keep class com.android.webview.chromium.WebViewDatabaseAdapter { | 27 -keep class com.android.webview.chromium.WebViewDatabaseAdapter { |
| 24 public *; | 28 public *; |
| 25 } | 29 } |
| 26 | 30 |
| 27 # This is the main entry point for APIs. It is kept to make developing with | 31 # This is the main entry point for APIs. It is kept to make developing with |
| 28 # unreleased Android easier. | 32 # unreleased Android easier. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 PlatformServiceBridgeGoogle(...); | 69 PlatformServiceBridgeGoogle(...); |
| 66 } | 70 } |
| 67 -dontnote com.android.webview.chromium.PlatformServiceBridgeGoogle | 71 -dontnote com.android.webview.chromium.PlatformServiceBridgeGoogle |
| 68 -keep class com.android.webview.chromium.AwSafeBrowsingApiHandler { | 72 -keep class com.android.webview.chromium.AwSafeBrowsingApiHandler { |
| 69 AwSafeBrowsingApiHandler(...); | 73 AwSafeBrowsingApiHandler(...); |
| 70 } | 74 } |
| 71 -dontnote com.android.webview.chromium.AwSafeBrowsingApiHandler | 75 -dontnote com.android.webview.chromium.AwSafeBrowsingApiHandler |
| 72 | 76 |
| 73 # We strip some unused resources when preprocessing the GMS client libs. | 77 # We strip some unused resources when preprocessing the GMS client libs. |
| 74 -dontwarn com.google.android.gms.R** | 78 -dontwarn com.google.android.gms.R** |
| OLD | NEW |