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

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

Issue 2793033003: [Android] Remove org.apache.http from proguard flags and gn. (Closed)
Patch Set: rebase and git cl format Created 3 years, 8 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 # TODO(jbudorick): Remove when crbug.com/488192 is fixed.
12 -dontwarn org.apache.http.**
13
14 -dontwarn android.support.test.runner.MonitoringInstrumentation 11 -dontwarn android.support.test.runner.MonitoringInstrumentation
15 12
16 # 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
17 # 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.
18 -keepnames class org.chromium.net.impl.JavaCronetEngine 15 -keepnames class org.chromium.net.impl.JavaCronetEngine
19 16
20 # These classes should be explicitly kept to avoid failure if 17 # These classes should be explicitly kept to avoid failure if
21 # class/merging/horizontal proguard optimization is enabled. 18 # class/merging/horizontal proguard optimization is enabled.
22 # 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.
23 -keep class org.chromium.base.test.util.** 20 -keep class org.chromium.base.test.util.**
24 -keep class org.chromium.net.TestFilesInstaller 21 -keep class org.chromium.net.TestFilesInstaller
25 -keep class org.chromium.net.MetricsTestUtil 22 -keep class org.chromium.net.MetricsTestUtil
OLDNEW
« no previous file with comments | « components/cronet/android/sample/javatests/proguard.cfg ('k') | content/public/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698