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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 } | 106 } |
107 | 107 |
108 -keep class android.support.v7.app.AlertDialog** { | 108 -keep class android.support.v7.app.AlertDialog** { |
109 *; | 109 *; |
110 } | 110 } |
111 | 111 |
112 -keep class com.google.android.gms.cast.CastMediaControlIntent* { | 112 -keep class com.google.android.gms.cast.CastMediaControlIntent* { |
113 *; | 113 *; |
114 } | 114 } |
115 | 115 |
| 116 -keepnames class jp.tomorrowkey.android.gifplayer.** { |
| 117 public *; |
| 118 } |
| 119 |
116 # Used in tests. | 120 # Used in tests. |
117 -keep class android.support.v4.view.ViewCompat { | 121 -keep class android.support.v4.view.ViewCompat { |
118 public static int getLayoutDirection(android.view.View); | 122 public static int getLayoutDirection(android.view.View); |
119 } | 123 } |
120 | 124 |
121 # flingViewport is used by Android WebView and a Chrome test. | 125 # flingViewport is used by Android WebView and a Chrome test. |
122 -keepclassmembers class org.chromium.content.browser.ContentViewCore { | 126 -keepclassmembers class org.chromium.content.browser.ContentViewCore { |
123 public void flingViewport(long, int, int); | 127 public void flingViewport(long, int, int); |
124 } | 128 } |
125 | 129 |
126 # TODO(aurimas): remove this when Google Play Services no longer uses setLatestE
ventInfo call | 130 # TODO(aurimas): remove this when Google Play Services no longer uses setLatestE
ventInfo call |
127 # that was deprecated in Android M. It is save to suppress this according to b/1
8510449. | 131 # that was deprecated in Android M. It is save to suppress this according to b/1
8510449. |
128 -dontwarn android.app.Notification | 132 -dontwarn android.app.Notification |
129 | 133 |
130 # IntentUtils uses reflection to access a method that is hidden until API level
18. | 134 # IntentUtils uses reflection to access a method that is hidden until API level
18. |
131 -dontnote org.chromium.chrome.browser.util.IntentUtils | 135 -dontnote org.chromium.chrome.browser.util.IntentUtils |
132 | 136 |
133 # Needed to compile ChromeTest.apk | 137 # Needed to compile ChromeTest.apk |
134 -keep class android.support.customtabs.ICustomTabsCallback** { | 138 -keep class android.support.customtabs.ICustomTabsCallback** { |
135 *; | 139 *; |
136 } | 140 } |
137 | 141 |
138 #-keep public class android.net.http.SslCertificate | 142 #-keep public class android.net.http.SslCertificate |
139 #-keep public class android.webkit.WebVie | 143 #-keep public class android.webkit.WebVie |
140 | 144 |
141 #-dontwarn android.webkit.WebView | 145 #-dontwarn android.webkit.WebView |
142 -dontwarn android.net.http.SslCertificate | 146 -dontwarn android.net.http.SslCertificate |
OLD | NEW |