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

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

Issue 2137433002: Remove android_support_annotations target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add supressions for proguard warnings from the android support libraries. Created 4 years, 5 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
« no previous file with comments | « components/cronet/android/BUILD.gn ('k') | third_party/android_async_task/BUILD.gn » ('j') | 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.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 27 matching lines...) Expand all
38 # Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23). 38 # Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23).
39 -dontwarn org.chromium.base.WindowCallbackWrapper 39 -dontwarn org.chromium.base.WindowCallbackWrapper
40 # Generated for chrome apk and not included into cronet. 40 # Generated for chrome apk and not included into cronet.
41 -dontwarn org.chromium.base.library_loader.NativeLibraries 41 -dontwarn org.chromium.base.library_loader.NativeLibraries
42 # Generated for chrome apk and not included into cronet. 42 # Generated for chrome apk and not included into cronet.
43 -dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller 43 -dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller
44 # Objects of this type are passed around by native code, but the class 44 # Objects of this type are passed around by native code, but the class
45 # is never used directly by native code. Since the class is not loaded, it does 45 # is never used directly by native code. Since the class is not loaded, it does
46 # not need to be preserved as an entry point. 46 # not need to be preserved as an entry point.
47 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap 47 -dontnote org.chromium.net.UrlRequest$ResponseHeadersMap
48 # https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/ proguard-android.txt#54
49 -dontwarn android.support.**
48 50
OLDNEW
« no previous file with comments | « components/cronet/android/BUILD.gn ('k') | third_party/android_async_task/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698