| Index: chrome/android/java/proguard.flags
|
| diff --git a/chrome/android/java/proguard.flags b/chrome/android/java/proguard.flags
|
| index cf546d1ba7ebc350d2eac18eebae58716d6d46b8..0e90d1af06c7535b559a5eb6775179c5bbd9a7b2 100644
|
| --- a/chrome/android/java/proguard.flags
|
| +++ b/chrome/android/java/proguard.flags
|
| @@ -1,3 +1,13 @@
|
| +# As of August 11, 2016, obfuscation was tested and passed on the trybots,
|
| +# saving us 660kb on our .dex size and 53kb memory/process. Enable obfuscation
|
| +# as soon as Crash supports ReTrace's deobfuscation of stack traces.
|
| +#
|
| +# To enable obfuscation, remove the -keepnames rule for
|
| +# com.google.android.apps.chrome.** and org.chromium.**, and uncomment the
|
| +# following two lines:
|
| +# -renamesourcefileattribute PG
|
| +# -repackageclasses ""
|
| +
|
| # Disable obfuscation for the following two packages.
|
| -keepnames,allowoptimization class com.google.android.apps.chrome.**,org.chromium.** {
|
| *;
|
| @@ -24,6 +34,13 @@
|
| *;
|
| }
|
|
|
| +# These classes aren't themselves referenced, but __ProcessService[0,1,2...] are
|
| +# referenced, and we look up these services by appending a number onto the name
|
| +# of the base class. Thus, we need to keep the base class name around so that
|
| +# the child classes can be looked up.
|
| +-keep class org.chromium.content.app.SandboxedProcessService
|
| +-keep class org.chromium.content.app.PrivilegedProcessService
|
| +
|
| # Keep all Parcelables as they might be marshalled outside Chrome.
|
| -keepnames class * implements android.os.Parcelable {
|
| public static final ** CREATOR;
|
|
|