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

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

Issue 2237113002: Removed unnecessary keep for ipc invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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 # 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
11 # Disable obfuscation for the following two packages. 11 # Disable obfuscation for the following two packages.
12 -keepnames,allowoptimization class com.google.android.apps.chrome.**,org.chromiu m.** { 12 -keepnames,allowoptimization class com.google.android.apps.chrome.**,org.chromiu m.** {
13 *; 13 *;
14 } 14 }
15 15
16 # Fragments are loaded using reflection via Fragment.instantiate(Context,String) 16 # Fragments are loaded using reflection via Fragment.instantiate(Context,String)
17 # This can be improved upon - see crbug.com/622023. 17 # This can be improved upon - see crbug.com/622023.
18 -keep public class com.google.android.apps.chrome** extends android.app.Fragment 18 -keep public class com.google.android.apps.chrome** extends android.app.Fragment
19 -keep public class org.chromium** extends android.app.Fragment 19 -keep public class org.chromium** extends android.app.Fragment
20 20
21 # Keep the client interfaces for cacheinvalidation as they are used as
22 # argument types for some of our code that we're keeping and proguard warns
23 # otherwise.
24 -keep class com.google.ipc.invalidation.external.client.** {
25 *;
26 }
27
28 # These classes aren't themselves referenced, but __ProcessService[0,1,2...] are 21 # These classes aren't themselves referenced, but __ProcessService[0,1,2...] are
29 # referenced, and we look up these services by appending a number onto the name 22 # referenced, and we look up these services by appending a number onto the name
30 # of the base class. Thus, we need to keep the base class name around so that 23 # of the base class. Thus, we need to keep the base class name around so that
31 # the child classes can be looked up. 24 # the child classes can be looked up.
32 -keep class org.chromium.content.app.SandboxedProcessService 25 -keep class org.chromium.content.app.SandboxedProcessService
33 -keep class org.chromium.content.app.PrivilegedProcessService 26 -keep class org.chromium.content.app.PrivilegedProcessService
34 27
35 # Keep all Parcelables as they might be marshalled outside Chrome. 28 # Keep all Parcelables as they might be marshalled outside Chrome.
36 -keepnames class * implements android.os.Parcelable { 29 -keepnames class * implements android.os.Parcelable {
37 public static final ** CREATOR; 30 public static final ** CREATOR;
38 } 31 }
39 32
40 # SearchView is used in website_preferences_menu.xml and is constructed by 33 # SearchView is used in website_preferences_menu.xml and is constructed by
41 # Android using reflection. 34 # Android using reflection.
42 -keep class android.support.v7.widget.SearchView { 35 -keep class android.support.v7.widget.SearchView {
43 public <init>(...); 36 public <init>(...);
44 } 37 }
45 38
46 # Google Play Services warnings are about its resources. 39 # Google Play Services warnings are about its resources.
47 -dontwarn com.google.android.gms.R** 40 -dontwarn com.google.android.gms.R**
48 41
49 # The support library contains references to newer platform versions. 42 # The support library contains references to newer platform versions.
50 # Don't warn about those in case this app is linking against an older 43 # Don't warn about those in case this app is linking against an older
51 # platform version. We know about them, and they are safe. 44 # platform version. We know about them, and they are safe.
52 -dontwarn android.support.** 45 -dontwarn android.support.**
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