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

Side by Side Diff: chrome/android/java/proguard.flags

Issue 1292313004: Update usage of Proguard in clank after moving Proguard to third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update proguard.flags. Created 5 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
OLDNEW
1 # Keep line number information, useful for stack traces. 1 # Keep line number information, useful for stack traces.
2 -keepattributes SourceFile,LineNumberTable 2 -keepattributes SourceFile,LineNumberTable
3 3
4 # Keep the annotations. 4 # Keep the annotations.
5 -keep @interface *** 5 -keep @interface ***
6 6
7 # Disable obfuscation for the following two packages. 7 # Disable obfuscation for the following two packages.
8 -keepnames class com.google.android.apps.chrome.**,org.chromium.** { 8 -keepnames class com.google.android.apps.chrome.**,org.chromium.** {
9 *; 9 *;
10 } 10 }
(...skipping 13 matching lines...) Expand all
24 @**.NativeCall <methods>; 24 @**.NativeCall <methods>;
25 @**.UsedByReflection <methods>; 25 @**.UsedByReflection <methods>;
26 @**.VisibleForTesting *; 26 @**.VisibleForTesting *;
27 native <methods>; 27 native <methods>;
28 } 28 }
29 29
30 # Keep all runtime visible annotations 30 # Keep all runtime visible annotations
31 -keepattributes RuntimeVisibleAnnotations 31 -keepattributes RuntimeVisibleAnnotations
32 32
33 # Remove methods annotated with this if their return value is unused 33 # Remove methods annotated with this if their return value is unused
34 -assumenosideeffects class * { 34 -assumenosideeffects class com.google.android.apps.chrome.**,org.chromium.** {
Yaron 2015/08/25 16:57:35 Ya, I think just revert this for now
35 @org.chromium.base.annotations.RemovableInRelease <methods>; 35 @org.chromium.base.annotations.RemovableInRelease <methods>;
36 } 36 }
37 37
38 # TODO(aurimas): figure out why we need to keep these classes. 38 # TODO(aurimas): figure out why we need to keep these classes.
39 -keep class org.chromium.base.test.** { 39 -keep class org.chromium.base.test.** {
40 *; 40 *;
41 } 41 }
42 42
43 # Keep protobuf code used via reflection 43 # Keep protobuf code used via reflection
44 # TODO(tonyg): Removing these -keeps results in new notes, but nothing seems to 44 # TODO(tonyg): Removing these -keeps results in new notes, but nothing seems to
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 # that was deprecated in Android M. It is save to suppress this according to b/1 8510449. 122 # that was deprecated in Android M. It is save to suppress this according to b/1 8510449.
123 -dontwarn com.google.android.gms.common.GooglePlayServicesUtil 123 -dontwarn com.google.android.gms.common.GooglePlayServicesUtil
124 124
125 # IntentUtils uses reflection to access a method that is hidden until API level 18. 125 # IntentUtils uses reflection to access a method that is hidden until API level 18.
126 -dontnote org.chromium.chrome.browser.util.IntentUtils 126 -dontnote org.chromium.chrome.browser.util.IntentUtils
127 127
128 # Needed to compile ChromeTest.apk 128 # Needed to compile ChromeTest.apk
129 -keep class android.support.customtabs.ICustomTabsCallback** { 129 -keep class android.support.customtabs.ICustomTabsCallback** {
130 *; 130 *;
131 } 131 }
OLDNEW
« build/android/pylib/constants/__init__.py ('K') | « build/java_prebuilt.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698