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

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

Issue 2211433003: Obfuscation on for chromium code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests seem to pass locally 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | 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..f20bbae4cdad90181a8e1f7ad45c3c64d05f589d 100644
--- a/chrome/android/java/proguard.flags
+++ b/chrome/android/java/proguard.flags
@@ -1,7 +1,6 @@
-# Disable obfuscation for the following two packages.
--keepnames,allowoptimization class com.google.android.apps.chrome.**,org.chromium.** {
- *;
-}
+-renamesourcefileattribute PG
+
+-repackageclasses ""
# Fragments are loaded using reflection via Fragment.instantiate(Context,String)
# This can be improved upon - see crbug.com/622023.
@@ -24,6 +23,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 | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698