Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Proguard configuration that is common for all type of tests. | 1 # Proguard configuration that is common for all type of tests. |
| 2 | 2 |
| 3 -keepattributes Signature,InnerClasses,SourceFile,LineNumberTable | 3 -keepattributes Signature,InnerClasses,SourceFile,LineNumberTable |
| 4 -dontwarn io.netty.** | 4 -dontwarn io.netty.** |
| 5 -keep class io.netty.** { *; } | 5 -keep class io.netty.** { *; } |
| 6 # Keep ChromiumNativeTestSupport & ChromiumPlatformOnlyTestSupport since they ar e | 6 # Keep ChromiumNativeTestSupport & ChromiumPlatformOnlyTestSupport since they ar e |
| 7 # instantiated through Reflection by the smoke tests. | 7 # instantiated through Reflection by the smoke tests. |
| 8 -keep class org.chromium.net.smoke.ChromiumNativeTestSupport | 8 -keep class org.chromium.net.smoke.ChromiumNativeTestSupport |
| 9 -keep class org.chromium.net.smoke.ChromiumPlatformOnlyTestSupport | 9 -keep class org.chromium.net.smoke.ChromiumPlatformOnlyTestSupport |
| 10 | 10 |
| 11 -dontwarn android.support.test.runner.MonitoringInstrumentation | 11 -dontwarn android.support.test.runner.MonitoringInstrumentation |
| 12 | 12 |
| 13 # Do not obfuscate this class for testing since some of the tests check the clas s | 13 # Do not obfuscate this class for testing since some of the tests check the clas s |
| 14 # name in order to check that an instantiated engine is the Java one. | 14 # name in order to check that an instantiated engine is the Java one. |
| 15 -keepnames class org.chromium.net.impl.JavaCronetEngine | 15 -keepnames class org.chromium.net.impl.JavaCronetEngine |
| 16 | 16 |
| 17 # These classes should be explicitly kept to avoid failure if | 17 # These classes should be explicitly kept to avoid failure if |
| 18 # class/merging/horizontal proguard optimization is enabled. | 18 # class/merging/horizontal proguard optimization is enabled. |
| 19 # NOTE: make sure that only test classes are added to this list. | 19 # NOTE: make sure that only test classes are added to this list. |
| 20 -keep class org.chromium.base.test.util.** | 20 -keep class org.chromium.base.test.util.** |
| 21 -keep class org.chromium.net.TestFilesInstaller | 21 -keep class org.chromium.net.TestFilesInstaller |
| 22 -keep class org.chromium.net.MetricsTestUtil | 22 -keep class org.chromium.net.MetricsTestUtil |
| 23 | |
| 24 # A netty-tcnative class that is only called from the native code. | |
| 25 -keep class org.apache.tomcat.jni.CertificateRequestedCallback$KeyMaterial { *; } | |
|
mef
2017/04/27 18:54:19
nit: maybe move it up to io.netty classes and add
kapishnikov
2017/04/27 19:45:08
I re-ran the tests and it looks that this "keep" w
| |
| OLD | NEW |