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

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

Issue 2069313002: Removed keeps for unused member variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test addding R.dex Created 4 years, 6 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 | « build/config/android/rules.gni ('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 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 }
11 11
12 # Keep all the primitive and String constants for for the following two packages .
13 -keepclassmembers class com.google.android.apps.chrome.**,org.chromium.** {
14 !private static final % *;
15 !private static final java.lang.String *;
16 }
17
18 # Keep code annotated with the following annotations. 12 # Keep code annotated with the following annotations.
19 -keep class com.google.android.apps.chrome.**,org.chromium.** { 13 -keep class com.google.android.apps.chrome.**,org.chromium.** {
20 @**.AccessedByNative <fields>; 14 @**.AccessedByNative <fields>;
21 @**.CalledByNative <methods>; 15 @**.CalledByNative <methods>;
22 @**.CalledByNativeUnchecked <methods>; 16 @**.CalledByNativeUnchecked <methods>;
23 @**.JavascriptInterface <methods>; 17 @**.JavascriptInterface <methods>;
24 @**.NativeCall <methods>; 18 @**.NativeCall <methods>;
25 @**.UsedByReflection <methods>; 19 @**.UsedByReflection <methods>;
26 @**.VisibleForTesting *; 20 @**.VisibleForTesting *;
27 native <methods>; 21 native <methods>;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 # Needed to run ChromeTest.apk 161 # Needed to run ChromeTest.apk
168 -keepnames class com.google.android.gms.common.GoogleApiAvailability { 162 -keepnames class com.google.android.gms.common.GoogleApiAvailability {
169 *; 163 *;
170 } 164 }
171 165
172 #-keep public class android.net.http.SslCertificate 166 #-keep public class android.net.http.SslCertificate
173 #-keep public class android.webkit.WebVie 167 #-keep public class android.webkit.WebVie
174 168
175 #-dontwarn android.webkit.WebView 169 #-dontwarn android.webkit.WebView
176 -dontwarn android.net.http.SslCertificate 170 -dontwarn android.net.http.SslCertificate
OLDNEW
« no previous file with comments | « build/config/android/rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698