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

Unified Diff: components/cronet/android/cronet_impl_platform_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_native_proguard.cfg ('k') | components/cronet/android/proguard.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/cronet_impl_platform_proguard.cfg
diff --git a/components/cronet/android/cronet_impl_platform_proguard.cfg b/components/cronet/android/cronet_impl_platform_proguard.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..3e9d42c7263cba2873a171d2bd8c8637e45f22ca
--- /dev/null
+++ b/components/cronet/android/cronet_impl_platform_proguard.cfg
@@ -0,0 +1,7 @@
+# Proguard config for apps that depend on cronet_impl_platform_java.jar.
+
+# This constructor is called using the reflection from the Cronet common
+# implementation (cronet_impl_platform_java.jar).
+-keep class org.chromium.net.impl.JavaCronetEngine {
+ public <init>(java.lang.String);
+}
« no previous file with comments | « components/cronet/android/cronet_impl_native_proguard.cfg ('k') | components/cronet/android/proguard.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698