| 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 -keep class org.chromium.net.impl.ChromiumUrlRequest$ResponseHeadersMap | |
| 5 | 4 |
| 6 # Suppress unnecessary warnings. | 5 # Suppress unnecessary warnings. |
| 7 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver | 6 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver |
| 8 -dontnote org.chromium.net.AndroidKeyStore | 7 -dontnote org.chromium.net.AndroidKeyStore |
| 9 # Needs 'void setTextAppearance(int)' (API level 23). | 8 # Needs 'void setTextAppearance(int)' (API level 23). |
| 10 -dontwarn org.chromium.base.ApiCompatibilityUtils | 9 -dontwarn org.chromium.base.ApiCompatibilityUtils |
| 11 # Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23). | 10 # Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23). |
| 12 -dontwarn org.chromium.base.WindowCallbackWrapper | 11 -dontwarn org.chromium.base.WindowCallbackWrapper |
| 13 | 12 |
| 14 # Generated for chrome apk and not included into cronet. | 13 # Generated for chrome apk and not included into cronet. |
| 15 -dontwarn org.chromium.base.BuildConfig | 14 -dontwarn org.chromium.base.BuildConfig |
| 16 -dontwarn org.chromium.base.library_loader.NativeLibraries | 15 -dontwarn org.chromium.base.library_loader.NativeLibraries |
| 17 -dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller | 16 -dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller |
| 18 | 17 |
| 19 # Objects of this type are passed around by native code, but the class | 18 # Objects of this type are passed around by native code, but the class |
| 20 # is never used directly by native code. Since the class is not loaded, it does | 19 # is never used directly by native code. Since the class is not loaded, it does |
| 21 # not need to be preserved as an entry point. | 20 # not need to be preserved as an entry point. |
| 22 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap | 21 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap |
| 23 # https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/
proguard-android.txt#54 | 22 # https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/
proguard-android.txt#54 |
| 24 -dontwarn android.support.** | 23 -dontwarn android.support.** |
| 25 | 24 |
| 26 # This class should be explicitly kept to avoid failure if | 25 # This class should be explicitly kept to avoid failure if |
| 27 # class/merging/horizontal proguard optimization is enabled. | 26 # class/merging/horizontal proguard optimization is enabled. |
| 28 -keep class org.chromium.base.CollectionUtil | 27 -keep class org.chromium.base.CollectionUtil |
| 29 | 28 |
| OLD | NEW |