| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 } | 147 } |
| 148 | 148 |
| 149 # TODO(aurimas): remove this when Google Play Services no longer uses setLatestE
ventInfo call | 149 # TODO(aurimas): remove this when Google Play Services no longer uses setLatestE
ventInfo call |
| 150 # that was deprecated in Android M. It is save to suppress this according to b/1
8510449. | 150 # that was deprecated in Android M. It is save to suppress this according to b/1
8510449. |
| 151 -dontwarn android.app.Notification | 151 -dontwarn android.app.Notification |
| 152 | 152 |
| 153 # IntentUtils uses reflection to access a method that is hidden until API level
18. | 153 # IntentUtils uses reflection to access a method that is hidden until API level
18. |
| 154 -dontnote org.chromium.chrome.browser.util.IntentUtils | 154 -dontnote org.chromium.chrome.browser.util.IntentUtils |
| 155 | 155 |
| 156 # Needed to compile ChromeTest.apk | 156 # Needed to compile ChromeTest.apk |
| 157 -keep class android.support.customtabs.ICustomTabsCallback** { | 157 -keep class android.support.customtabs.** { |
| 158 *; | 158 *; |
| 159 } | 159 } |
| 160 | 160 |
| 161 # Needed to run ChromeTest.apk | 161 # Needed to run ChromeTest.apk |
| 162 -keepnames class com.google.android.gms.common.GoogleApiAvailability { | 162 -keepnames class com.google.android.gms.common.GoogleApiAvailability { |
| 163 *; | 163 *; |
| 164 } | 164 } |
| 165 | 165 |
| 166 #-keep public class android.net.http.SslCertificate | 166 #-keep public class android.net.http.SslCertificate |
| 167 #-keep public class android.webkit.WebVie | 167 #-keep public class android.webkit.WebVie |
| 168 | 168 |
| 169 #-dontwarn android.webkit.WebView | 169 #-dontwarn android.webkit.WebView |
| 170 -dontwarn android.net.http.SslCertificate | 170 -dontwarn android.net.http.SslCertificate |
| 171 | 171 |
| 172 # Needed for assertions in BaseChromiumApplication. | 172 # Needed for assertions in BaseChromiumApplication. |
| 173 # TODO(twellington): Remove these two lines when support for detecting a debug | 173 # TODO(twellington): Remove these two lines when support for detecting a debug |
| 174 # build lands (https://codereview.chromium.org/1597273005/). | 174 # build lands (https://codereview.chromium.org/1597273005/). |
| 175 -keep class android.support.v7.app.ToolbarActionBar$ToolbarCallbackWrapper {*;} | 175 -keep class android.support.v7.app.ToolbarActionBar$ToolbarCallbackWrapper {*;} |
| 176 -keep class android.support.v7.internal.app.ToolbarActionBar$ToolbarCallbackWrap
per {*;} | 176 -keep class android.support.v7.internal.app.ToolbarActionBar$ToolbarCallbackWrap
per {*;} |
| OLD | NEW |