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

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

Issue 2251213003: Don't let proguard rename the CREATOR static of any Parcelable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment #8 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 | « base/android/base_proguard_config.flags ('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 # As of August 11, 2016, obfuscation was tested and passed on the trybots, 1 # As of August 11, 2016, obfuscation was tested and passed on the trybots,
2 # saving us 660kb on our .dex size and 53kb memory/process. Enable obfuscation 2 # saving us 660kb on our .dex size and 53kb memory/process. Enable obfuscation
3 # as soon as Crash supports ReTrace's deobfuscation of stack traces. 3 # as soon as Crash supports ReTrace's deobfuscation of stack traces.
4 # 4 #
5 # To enable obfuscation, remove the -keepnames rule for 5 # To enable obfuscation, remove the -keepnames rule for
6 # com.google.android.apps.chrome.** and org.chromium.**, and uncomment the 6 # com.google.android.apps.chrome.** and org.chromium.**, and uncomment the
7 # following two lines: 7 # following two lines:
8 # -renamesourcefileattribute PG 8 # -renamesourcefileattribute PG
9 # -repackageclasses "" 9 # -repackageclasses ""
10 10
(...skipping 26 matching lines...) Expand all
37 -keep public class com.google.android.apps.chrome** extends android.app.Fragment 37 -keep public class com.google.android.apps.chrome** extends android.app.Fragment
38 -keep public class org.chromium** extends android.app.Fragment 38 -keep public class org.chromium** extends android.app.Fragment
39 39
40 # These classes aren't themselves referenced, but __ProcessService[0,1,2...] are 40 # These classes aren't themselves referenced, but __ProcessService[0,1,2...] are
41 # referenced, and we look up these services by appending a number onto the name 41 # referenced, and we look up these services by appending a number onto the name
42 # of the base class. Thus, we need to keep the base class name around so that 42 # of the base class. Thus, we need to keep the base class name around so that
43 # the child classes can be looked up. 43 # the child classes can be looked up.
44 -keep class org.chromium.content.app.SandboxedProcessService 44 -keep class org.chromium.content.app.SandboxedProcessService
45 -keep class org.chromium.content.app.PrivilegedProcessService 45 -keep class org.chromium.content.app.PrivilegedProcessService
46 46
47 # Keep all Parcelables as they might be marshalled outside Chrome.
48 -keepnames class * implements android.os.Parcelable {
49 public static final ** CREATOR;
50 }
51
52 # SearchView is used in website_preferences_menu.xml and is constructed by 47 # SearchView is used in website_preferences_menu.xml and is constructed by
53 # Android using reflection. 48 # Android using reflection.
54 -keep class android.support.v7.widget.SearchView { 49 -keep class android.support.v7.widget.SearchView {
55 public <init>(...); 50 public <init>(...);
56 } 51 }
57 52
58 # Google Play Services warnings are about its resources. 53 # Google Play Services warnings are about its resources.
59 -dontwarn com.google.android.gms.R** 54 -dontwarn com.google.android.gms.R**
60 55
61 # The support library contains references to newer platform versions. 56 # The support library contains references to newer platform versions.
62 # Don't warn about those in case this app is linking against an older 57 # Don't warn about those in case this app is linking against an older
63 # platform version. We know about them, and they are safe. 58 # platform version. We know about them, and they are safe.
64 -dontwarn android.support.** 59 -dontwarn android.support.**
OLDNEW
« no previous file with comments | « base/android/base_proguard_config.flags ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698