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

Unified Diff: components/cronet/android/proguard_common.cfg

Issue 2540773003: [Cronet] Add proguard files for different Cronet packaging (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/proguard_common.cfg
diff --git a/components/cronet/android/proguard_common.cfg b/components/cronet/android/proguard_common.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..0a753015e17855bb53010866f0e26614a901f652
--- /dev/null
+++ b/components/cronet/android/proguard_common.cfg
@@ -0,0 +1,6 @@
+# Proguard config for apps that depends on cronet_impl_common_java.jar.
+
+# This constructor is called using the reflection from Cronet API (cronet_api.jar).
+-keep class org.chromium.net.impl.CronetEngineBuilderImpl {
+ public <init>(android.content.Context);
+}

Powered by Google App Engine
This is Rietveld 408576698