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

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

Issue 2540773003: [Cronet] Add proguard files for different Cronet packaging (Closed)
Patch Set: Moved the definition of _package_dir var to its original location Created 4 years 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 # Proguard config for apps that depend on cronet_impl_native_java.jar.
2
1 -keep class org.chromium.net.impl.CronetUrlRequest$HeadersList 3 -keep class org.chromium.net.impl.CronetUrlRequest$HeadersList
2 -keep class org.chromium.net.impl.ChromiumUrlRequest$ResponseHeadersMap 4 -keep class org.chromium.net.impl.ChromiumUrlRequest$ResponseHeadersMap
3 5
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
11 # Suppress unnecessary warnings. 6 # Suppress unnecessary warnings.
12 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver 7 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver
13 -dontnote org.chromium.net.AndroidKeyStore 8 -dontnote org.chromium.net.AndroidKeyStore
14 # Needs 'void setTextAppearance(int)' (API level 23). 9 # Needs 'void setTextAppearance(int)' (API level 23).
15 -dontwarn org.chromium.base.ApiCompatibilityUtils 10 -dontwarn org.chromium.base.ApiCompatibilityUtils
16 # Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23). 11 # Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23).
17 -dontwarn org.chromium.base.WindowCallbackWrapper 12 -dontwarn org.chromium.base.WindowCallbackWrapper
18 13
19 # Generated for chrome apk and not included into cronet. 14 # Generated for chrome apk and not included into cronet.
20 -dontwarn org.chromium.base.BuildConfig 15 -dontwarn org.chromium.base.BuildConfig
21 -dontwarn org.chromium.base.library_loader.NativeLibraries 16 -dontwarn org.chromium.base.library_loader.NativeLibraries
22 -dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller 17 -dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller
23 18
24 # Objects of this type are passed around by native code, but the class 19 # Objects of this type are passed around by native code, but the class
25 # is never used directly by native code. Since the class is not loaded, it does 20 # is never used directly by native code. Since the class is not loaded, it does
26 # not need to be preserved as an entry point. 21 # not need to be preserved as an entry point.
27 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap 22 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap
28 # https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/ proguard-android.txt#54 23 # https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/ proguard-android.txt#54
29 -dontwarn android.support.** 24 -dontwarn android.support.**
30 25
OLDNEW
« no previous file with comments | « components/cronet/android/cronet_impl_common_proguard.cfg ('k') | components/cronet/android/cronet_impl_platform_proguard.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698