Chromium Code Reviews| 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 com.google.android.gms.gcm.** { | |
|
Yaron
2015/10/19 20:34:36
How many methods does this add? You can use this t
iclelland
2015/10/20 18:56:05
According to that tool, there are 137 methods incl
| |
| 117 *; | |
| 118 } | |
| 119 | |
| 116 -keepnames class jp.tomorrowkey.android.gifplayer.** { | 120 -keepnames class jp.tomorrowkey.android.gifplayer.** { |
| 117 public *; | 121 public *; |
| 118 } | 122 } |
| 119 | 123 |
| 120 # Used in tests. | 124 # Used in tests. |
| 121 -keep class android.support.v4.view.ViewCompat { | 125 -keep class android.support.v4.view.ViewCompat { |
| 122 public static int getLayoutDirection(android.view.View); | 126 public static int getLayoutDirection(android.view.View); |
| 123 } | 127 } |
| 124 | 128 |
| 125 # flingViewport is used by Android WebView and a Chrome test. | 129 # flingViewport is used by Android WebView and a Chrome test. |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 137 # Needed to compile ChromeTest.apk | 141 # Needed to compile ChromeTest.apk |
| 138 -keep class android.support.customtabs.ICustomTabsCallback** { | 142 -keep class android.support.customtabs.ICustomTabsCallback** { |
| 139 *; | 143 *; |
| 140 } | 144 } |
| 141 | 145 |
| 142 #-keep public class android.net.http.SslCertificate | 146 #-keep public class android.net.http.SslCertificate |
| 143 #-keep public class android.webkit.WebVie | 147 #-keep public class android.webkit.WebVie |
| 144 | 148 |
| 145 #-dontwarn android.webkit.WebView | 149 #-dontwarn android.webkit.WebView |
| 146 -dontwarn android.net.http.SslCertificate | 150 -dontwarn android.net.http.SslCertificate |
| OLD | NEW |