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

Side by Side Diff: components/cronet/android/proguard.cfg

Issue 463493005: Split cronet.jar into cronet.jar and cronet_api.jar, preserve full libcronet.so (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed cronet_api.jar into cronet_stub.jar and added a comment. 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 unified diff | Download patch | Annotate | Revision Log
« components/cronet.gypi ('K') | « components/cronet.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Keep annotations used by chromium to keep members referenced by native code 1 # Keep annotations used by chromium to keep members referenced by native code
2 -keep class org.chromium.base.*Native* 2 -keep class org.chromium.base.*Native*
3 -keep class org.chromium.base.JNINamespace 3 -keep class org.chromium.base.JNINamespace
4 -keepclasseswithmembers class org.chromium.** { 4 -keepclasseswithmembers class org.chromium.** {
5 @org.chromium.base.AccessedByNative <fields>; 5 @org.chromium.base.AccessedByNative <fields>;
6 } 6 }
7 -keepclasseswithmembers class org.chromium.** { 7 -keepclasseswithmembers class org.chromium.** {
8 @org.chromium.base.*Native* <methods>; 8 @org.chromium.base.*Native* <methods>;
9 } 9 }
10 -keep @org.chromium.base.JNINamespace class org.chromium.** { 10
11 # TODO(mef) remove unnecessary classes from base, so we don't have to preserve
12 # their methods
13 -keepclasseswithmembers class org.chromium.** {
11 native <methods>; 14 native <methods>;
12 } 15 }
16
13 -dontnote org.chromium.net.AndroidKeyStore 17 -dontnote org.chromium.net.AndroidKeyStore
14 18
19 # Needed so that multiple optimization passes will detect annotations
20 -keepattributes *Annotation*
21
22 # Keep methods used by reflection and native code
23 -keep class org.chromium.net.UsedBy*
24 -keep @org.chromium.net.UsedBy* class *
25 -keepclassmembers class * {
26 @org.chromium.net.UsedBy* *;
27 }
OLDNEW
« components/cronet.gypi ('K') | « components/cronet.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698