Chromium Code Reviews| OLD | NEW |
|---|---|
| 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.annotations.*Native* | 2 -keep class org.chromium.base.annotations.*Native* |
| 3 -keep class org.chromium.base.annotations.JNINamespace | 3 -keep class org.chromium.base.annotations.JNINamespace |
| 4 -keepclasseswithmembers class org.chromium.** { | 4 -keepclasseswithmembers class org.chromium.** { |
| 5 @org.chromium.base.annotations.AccessedByNative <fields>; | 5 @org.chromium.base.annotations.AccessedByNative <fields>; |
| 6 } | 6 } |
| 7 -keepclasseswithmembers class org.chromium.** { | 7 -keepclasseswithmembers class org.chromium.** { |
| 8 @org.chromium.base.annotations.*Native* <methods>; | 8 @org.chromium.base.annotations.*Native* <methods>; |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 32 | 32 |
| 33 # Suppress unnecessary warnings. | 33 # Suppress unnecessary warnings. |
| 34 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver | 34 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver |
| 35 -dontnote org.chromium.net.AndroidKeyStore | 35 -dontnote org.chromium.net.AndroidKeyStore |
| 36 -dontwarn org.chromium.base.library_loader.NativeLibraries | 36 -dontwarn org.chromium.base.library_loader.NativeLibraries |
| 37 # Objects of this type are passed around by native code, but the class | 37 # Objects of this type are passed around by native code, but the class |
| 38 # is never used directly by native code. Since the class is not loaded, it does | 38 # is never used directly by native code. Since the class is not loaded, it does |
| 39 # not need to be preserved as an entry point. | 39 # not need to be preserved as an entry point. |
| 40 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap | 40 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap |
| 41 | 41 |
| 42 # TODO(pauljensen): Remove when crbug.com/488192 is fixed. | |
| 43 -dontwarn org.apache.http.** | |
|
mef
2015/12/29 17:27:44
can this be done in separate proguard.cfg? We incl
pauljensen
2016/01/21 03:51:50
Done.
| |
| OLD | NEW |