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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/cronet_impl_native_proguard.cfg
diff --git a/components/cronet/android/proguard.cfg b/components/cronet/android/cronet_impl_native_proguard.cfg
similarity index 78%
rename from components/cronet/android/proguard.cfg
rename to components/cronet/android/cronet_impl_native_proguard.cfg
index 1d6c8e1728b108ab14a808605c79343fb8976953..9ee247f299843b98c31948c5d1b7e4fec0366c7d 100644
--- a/components/cronet/android/proguard.cfg
+++ b/components/cronet/android/cronet_impl_native_proguard.cfg
@@ -1,13 +1,8 @@
+# Proguard config for apps that depend on cronet_impl_native_java.jar.
+
-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
« 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