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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 *; | 113 *; |
114 } | 114 } |
115 | 115 |
116 # flingViewport is used by Android WebView and a Chrome test. | 116 # flingViewport is used by Android WebView and a Chrome test. |
117 -keepclassmembers class org.chromium.content.browser.ContentViewCore { | 117 -keepclassmembers class org.chromium.content.browser.ContentViewCore { |
118 public void flingViewport(long, int, int); | 118 public void flingViewport(long, int, int); |
119 } | 119 } |
120 | 120 |
121 # TODO(aurimas): remove this when Google Play Services no longer uses setLatestE
ventInfo call | 121 # TODO(aurimas): remove this when Google Play Services no longer uses setLatestE
ventInfo call |
122 # that was deprecated in Android M. It is save to suppress this according to b/1
8510449. | 122 # that was deprecated in Android M. It is save to suppress this according to b/1
8510449. |
123 -dontwarn com.google.android.gms.common.GooglePlayServicesUtil | 123 -dontwarn com.google.android.gms.common.GooglePlayServicesUtil |
| 124 |
| 125 # IntentUtils uses reflection to access a method that is hidden until API level
18. |
| 126 -dontnote org.chromium.chrome.browser.util.IntentUtils |
| 127 |
| 128 # Needed to compile ChromeTest.apk |
| 129 -keep class android.support.customtabs.ICustomTabsCallback** { |
| 130 *; |
| 131 } |
OLD | NEW |