| OLD | NEW |
| 1 # Keep line number information, useful for stack traces. | 1 # Keep line number information, useful for stack traces. |
| 2 -keepattributes SourceFile,LineNumberTable | 2 -keepattributes SourceFile,LineNumberTable |
| 3 | 3 |
| 4 # Keep the annotations. | 4 # Keep the annotations. |
| 5 -keep @interface *** | 5 -keep @interface *** |
| 6 | 6 |
| 7 # Disable obfuscation for the following two packages. | 7 # Disable obfuscation for the following two packages. |
| 8 -keepnames class com.google.android.apps.chrome.**,org.chromium.** { | 8 -keepnames,allowoptimization class com.google.android.apps.chrome.**,org.chromiu
m.** { |
| 9 *; | 9 *; |
| 10 } | 10 } |
| 11 | 11 |
| 12 # Keep all the primitive and String constants for for the following two packages
. | 12 # Keep all the primitive and String constants for for the following two packages
. |
| 13 -keepclassmembers class com.google.android.apps.chrome.**,org.chromium.** { | 13 -keepclassmembers class com.google.android.apps.chrome.**,org.chromium.** { |
| 14 !private static final % *; | 14 !private static final % *; |
| 15 !private static final java.lang.String *; | 15 !private static final java.lang.String *; |
| 16 } | 16 } |
| 17 | 17 |
| 18 # Fragments are loaded using reflection via Fragment.instantiate(Context,String) | 18 # Fragments are loaded using reflection via Fragment.instantiate(Context,String) |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 # Needed for chrome_sync_shell_test_apk. Note - these do no affect chrome_apk's | 223 # Needed for chrome_sync_shell_test_apk. Note - these do no affect chrome_apk's |
| 224 # size. | 224 # size. |
| 225 -keep class org.chromium.sync.protocol.* { *; } | 225 -keep class org.chromium.sync.protocol.* { *; } |
| 226 | 226 |
| 227 # These resources are referenced in tests, but not in the real application. | 227 # These resources are referenced in tests, but not in the real application. |
| 228 -keepclassmembers class org.chromium.chrome.R$id { | 228 -keepclassmembers class org.chromium.chrome.R$id { |
| 229 int webapp_splash_space; | 229 int webapp_splash_space; |
| 230 int mr_chooser_list; | 230 int mr_chooser_list; |
| 231 int find_toolbar; | 231 int find_toolbar; |
| 232 } | 232 } |
| OLD | NEW |