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

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

Issue 2626523003: Cronet: a framework for providing alternative Cronet implementations (Closed)
Patch Set: Fixed JavaDoc links Created 3 years, 11 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 class org.chromium.net.smoke.ChromiumNativeTestSupport 6 -keep class org.chromium.net.smoke.ChromiumNativeTestSupport
7 -keep class org.chromium.net.smoke.ChromiumPlatformOnlyTestSupport 7 -keep class org.chromium.net.smoke.ChromiumPlatformOnlyTestSupport
pauljensen 2017/01/20 17:13:36 why are these two lines needed? can you add a com
kapishnikov 2017/01/20 21:48:39 Added comment; # Keep ChromiumNativeTestSupport &
8 8
9 # TODO(jbudorick): Remove when crbug.com/488192 is fixed. 9 # TODO(jbudorick): Remove when crbug.com/488192 is fixed.
10 -dontwarn org.apache.http.** 10 -dontwarn org.apache.http.**
11 11
12 -dontwarn android.support.test.runner.MonitoringInstrumentation 12 -dontwarn android.support.test.runner.MonitoringInstrumentation
13 13
14 # Do not obfuscate this class for testing since some of the tests check the clas s
15 # name in order to check that an instantiated engine is the Java one.
16 -keep class org.chromium.net.impl.JavaCronetEngine
pauljensen 2017/01/20 17:13:36 Instead of checking the name, why not just do "ins
kapishnikov 2017/01/20 21:48:39 This is a good point. Currently smoke tests only r
17
14 # These classes should be explicitly kept to avoid failure if 18 # These classes should be explicitly kept to avoid failure if
15 # class/merging/horizontal proguard optimization is enabled. 19 # class/merging/horizontal proguard optimization is enabled.
16 # NOTE: make sure that only test classes are added to this list. 20 # NOTE: make sure that only test classes are added to this list.
17 -keep class org.chromium.base.test.util.** 21 -keep class org.chromium.base.test.util.**
18 -keep class org.chromium.net.TestFilesInstaller 22 -keep class org.chromium.net.TestFilesInstaller
19 -keep class org.chromium.net.MetricsTestUtil 23 -keep class org.chromium.net.MetricsTestUtil
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698