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

Unified Diff: components/cronet/android/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/cronet/android/cronet_impl_platform_proguard.cfg ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/proguard.cfg
diff --git a/components/cronet/android/proguard.cfg b/components/cronet/android/proguard.cfg
deleted file mode 100644
index 1d6c8e1728b108ab14a808605c79343fb8976953..0000000000000000000000000000000000000000
--- a/components/cronet/android/proguard.cfg
+++ /dev/null
@@ -1,30 +0,0 @@
--keep class org.chromium.net.impl.CronetUrlRequest$HeadersList
--keep class org.chromium.net.impl.ChromiumUrlRequest$ResponseHeadersMap
-
-# This constructor is called by the reflection from Cronet API. It cannot be
-# annotated with @org.chromium.base.annotations.AccessedByNative in order to
-# avoid the dependency on Chromium-Base Java classes.
--keep class org.chromium.net.impl.CronetEngineBuilderImpl {
- public <init>(android.content.Context);
-}
-
-# Suppress unnecessary warnings.
--dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver
--dontnote org.chromium.net.AndroidKeyStore
-# Needs 'void setTextAppearance(int)' (API level 23).
--dontwarn org.chromium.base.ApiCompatibilityUtils
-# Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23).
--dontwarn org.chromium.base.WindowCallbackWrapper
-
-# Generated for chrome apk and not included into cronet.
--dontwarn org.chromium.base.BuildConfig
--dontwarn org.chromium.base.library_loader.NativeLibraries
--dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller
-
-# Objects of this type are passed around by native code, but the class
-# is never used directly by native code. Since the class is not loaded, it does
-# not need to be preserved as an entry point.
--dontnote org.chromium.net.UrlRequest$ResponseHeadersMap
-# https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/proguard-android.txt#54
--dontwarn android.support.**
-
« no previous file with comments | « components/cronet/android/cronet_impl_platform_proguard.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698