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

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

Issue 512953002: Use proguard.cfg in cronet sample apk. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments, move UsedByReflection to org.chromium.base. Created 6 years, 4 months 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.cfg
diff --git a/components/cronet/android/proguard.cfg b/components/cronet/android/proguard.cfg
index a4a47a711fb79fe4d1e51eb206b55167b9009491..447fa23a7a3e663953724637e9365c1c554bfa3d 100644
--- a/components/cronet/android/proguard.cfg
+++ b/components/cronet/android/proguard.cfg
@@ -18,10 +18,10 @@
-keepattributes *Annotation*
# Keep methods used by reflection and native code
--keep class org.chromium.net.UsedBy*
--keep @org.chromium.net.UsedBy* class *
+-keep class org.chromium.base.UsedBy*
+-keep @org.chromium.base.UsedBy* class *
-keepclassmembers class * {
- @org.chromium.net.UsedBy* *;
+ @org.chromium.base.UsedBy* *;
}
# Suppress unnecessary warnings.

Powered by Google App Engine
This is Rietveld 408576698