Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: components/cronet/android/test/proguard.cfg

Issue 2843293002: Switched to new versions of netty and tcnative (Closed)
Patch Set: Added Http2Server certificate constants to the test base class. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698