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

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

Issue 2237633002: Removing proguard -keep which does nothing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | 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 # Disable obfuscation for the following two packages. 1 # Disable obfuscation for the following two packages.
2 -keepnames,allowoptimization class com.google.android.apps.chrome.**,org.chromiu m.** { 2 -keepnames,allowoptimization class com.google.android.apps.chrome.**,org.chromiu m.** {
3 *; 3 *;
4 } 4 }
5 5
6 # Fragments are loaded using reflection via Fragment.instantiate(Context,String) 6 # Fragments are loaded using reflection via Fragment.instantiate(Context,String)
7 # This can be improved upon - see crbug.com/622023. 7 # This can be improved upon - see crbug.com/622023.
8 -keep public class com.google.android.apps.chrome** extends android.app.Fragment 8 -keep public class com.google.android.apps.chrome** extends android.app.Fragment
9 -keep public class org.chromium** extends android.app.Fragment 9 -keep public class org.chromium** extends android.app.Fragment
10 10
(...skipping 24 matching lines...) Expand all
35 public <init>(...); 35 public <init>(...);
36 } 36 }
37 37
38 # Google Play Services warnings are about its resources. 38 # Google Play Services warnings are about its resources.
39 -dontwarn com.google.android.gms.R** 39 -dontwarn com.google.android.gms.R**
40 40
41 # The support library contains references to newer platform versions. 41 # The support library contains references to newer platform versions.
42 # Don't warn about those in case this app is linking against an older 42 # Don't warn about those in case this app is linking against an older
43 # platform version. We know about them, and they are safe. 43 # platform version. We know about them, and they are safe.
44 -dontwarn android.support.** 44 -dontwarn android.support.**
45
46 # Proguard mistakenly optimizes away some null checks on final fields
47 # in the support library.
48 # See https://sourceforge.net/p/proguard/bugs/531/#fdc9/41e2
49 -keepclassmembers,allowshrinking,allowobfuscation class android.support.v7.widge t.AppCompatButton {
50 !static final <fields>;
51 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698