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

Unified Diff: chrome/android/java/proguard.flags

Issue 2160693002: Turning obfuscation on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@annotation
Patch Set: broken Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/chrome_public_apk_tmpl.gni ('k') | chrome/android/java/proguard_for_release.flags » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/proguard.flags
diff --git a/chrome/android/java/proguard.flags b/chrome/android/java/proguard.flags
index cf546d1ba7ebc350d2eac18eebae58716d6d46b8..fb5a4d8d9a789c04aa6d7a3aef04ac99a6781c9c 100644
--- a/chrome/android/java/proguard.flags
+++ b/chrome/android/java/proguard.flags
@@ -1,8 +1,3 @@
-# Disable obfuscation for the following two packages.
--keepnames,allowoptimization class com.google.android.apps.chrome.**,org.chromium.** {
- *;
-}
-
# Fragments are loaded using reflection via Fragment.instantiate(Context,String)
# This can be improved upon - see crbug.com/622023.
-keep public class com.google.android.apps.chrome** extends android.app.Fragment
@@ -24,6 +19,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;
« no previous file with comments | « chrome/android/chrome_public_apk_tmpl.gni ('k') | chrome/android/java/proguard_for_release.flags » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698