Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1039)

Side by Side Diff: components/cronet/android/proguard.cfg

Issue 2339223002: Cronet API Refactoring (Closed)
Patch Set: Rebase & Conflict Resolution Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 -keep class org.chromium.net.impl.CronetUrlRequest$HeadersList 1 -keep class org.chromium.net.impl.CronetUrlRequest$HeadersList
2 -keep class org.chromium.net.impl.ChromiumUrlRequest$ResponseHeadersMap 2 -keep class org.chromium.net.impl.ChromiumUrlRequest$ResponseHeadersMap
3 3
4 # This constructor is called by the reflection from Cronet API. It cannot be
5 # annotated with @org.chromium.base.annotations.AccessedByNative in order to
6 # avoid the dependency on Chromium-Base Java classes.
7 -keep class org.chromium.net.impl.CronetEngineBuilderImpl {
8 public <init>(android.content.Context);
9 }
10
4 # Suppress unnecessary warnings. 11 # Suppress unnecessary warnings.
5 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver 12 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver
6 -dontnote org.chromium.net.AndroidKeyStore 13 -dontnote org.chromium.net.AndroidKeyStore
7 # Needs 'void setTextAppearance(int)' (API level 23). 14 # Needs 'void setTextAppearance(int)' (API level 23).
8 -dontwarn org.chromium.base.ApiCompatibilityUtils 15 -dontwarn org.chromium.base.ApiCompatibilityUtils
9 # Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23). 16 # Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23).
10 -dontwarn org.chromium.base.WindowCallbackWrapper 17 -dontwarn org.chromium.base.WindowCallbackWrapper
11 18
12 # Generated for chrome apk and not included into cronet. 19 # Generated for chrome apk and not included into cronet.
13 -dontwarn org.chromium.base.BuildConfig 20 -dontwarn org.chromium.base.BuildConfig
14 -dontwarn org.chromium.base.library_loader.NativeLibraries 21 -dontwarn org.chromium.base.library_loader.NativeLibraries
15 -dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller 22 -dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller
16 23
17 # Objects of this type are passed around by native code, but the class 24 # Objects of this type are passed around by native code, but the class
18 # is never used directly by native code. Since the class is not loaded, it does 25 # is never used directly by native code. Since the class is not loaded, it does
19 # not need to be preserved as an entry point. 26 # not need to be preserved as an entry point.
20 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap 27 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap
21 # https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/ proguard-android.txt#54 28 # https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/ proguard-android.txt#54
22 -dontwarn android.support.** 29 -dontwarn android.support.**
23 30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698