| OLD | NEW |
| 1 # Proguard config for apps that depend on cronet_impl_native_java.jar. | 1 # Proguard config for apps that depend on cronet_impl_native_java.jar. |
| 2 | 2 |
| 3 -keep class org.chromium.net.impl.CronetUrlRequest$HeadersList | 3 -keep class org.chromium.net.impl.CronetUrlRequest$HeadersList |
| 4 | 4 |
| 5 # This constructor is called using the reflection from Cronet API (cronet_api.ja
r). |
| 6 -keep class org.chromium.net.impl.NativeCronetProvider { |
| 7 public <init>(android.content.Context); |
| 8 } |
| 9 |
| 5 # Suppress unnecessary warnings. | 10 # Suppress unnecessary warnings. |
| 6 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver | 11 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver |
| 7 -dontnote org.chromium.net.AndroidKeyStore | 12 -dontnote org.chromium.net.AndroidKeyStore |
| 8 # Needs 'void setTextAppearance(int)' (API level 23). | 13 # Needs 'void setTextAppearance(int)' (API level 23). |
| 9 -dontwarn org.chromium.base.ApiCompatibilityUtils | 14 -dontwarn org.chromium.base.ApiCompatibilityUtils |
| 10 # Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23). | 15 # Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23). |
| 11 -dontwarn org.chromium.base.WindowCallbackWrapper | 16 -dontwarn org.chromium.base.WindowCallbackWrapper |
| 12 | 17 |
| 13 # Generated for chrome apk and not included into cronet. | 18 # Generated for chrome apk and not included into cronet. |
| 14 -dontwarn org.chromium.base.BuildConfig | 19 -dontwarn org.chromium.base.BuildConfig |
| 15 -dontwarn org.chromium.base.library_loader.NativeLibraries | 20 -dontwarn org.chromium.base.library_loader.NativeLibraries |
| 16 -dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller | 21 -dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller |
| 17 | 22 |
| 18 # Objects of this type are passed around by native code, but the class | 23 # Objects of this type are passed around by native code, but the class |
| 19 # is never used directly by native code. Since the class is not loaded, it does | 24 # is never used directly by native code. Since the class is not loaded, it does |
| 20 # not need to be preserved as an entry point. | 25 # not need to be preserved as an entry point. |
| 21 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap | 26 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap |
| 22 # https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/
proguard-android.txt#54 | 27 # https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/
proguard-android.txt#54 |
| 23 -dontwarn android.support.** | 28 -dontwarn android.support.** |
| 24 | 29 |
| 25 # This class should be explicitly kept to avoid failure if | 30 # This class should be explicitly kept to avoid failure if |
| 26 # class/merging/horizontal proguard optimization is enabled. | 31 # class/merging/horizontal proguard optimization is enabled. |
| 27 -keep class org.chromium.base.CollectionUtil | 32 -keep class org.chromium.base.CollectionUtil |
| 28 | 33 |
| OLD | NEW |