| 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 class com.google.android.apps.chrome.**,org.chromium.** { |
| 9 *; | 9 *; |
| 10 } | 10 } |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 -dontwarn org.apache.http.conn.scheme.LayeredSocketFactory | 216 -dontwarn org.apache.http.conn.scheme.LayeredSocketFactory |
| 217 | 217 |
| 218 # Needed to run ChromeTest.apk | 218 # Needed to run ChromeTest.apk |
| 219 -keepnames class com.google.android.gms.common.GoogleApiAvailability { | 219 -keepnames class com.google.android.gms.common.GoogleApiAvailability { |
| 220 *; | 220 *; |
| 221 } | 221 } |
| 222 | 222 |
| 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 |
| 227 # These resources are referenced in tests, but not in the real application. |
| 228 -keepclassmembers class org.chromium.chrome.R$id { |
| 229 int webapp_splash_space; |
| 230 int mr_chooser_list; |
| 231 int find_toolbar; |
| 232 } |
| OLD | NEW |