| Index: components/cronet/android/test/proguard.cfg
|
| diff --git a/components/cronet/android/test/proguard.cfg b/components/cronet/android/test/proguard.cfg
|
| index 22b0db07f95b327dcdcf3850cee91d03f690653b..335913149a83c06b48cde82a591b14846457a9b0 100644
|
| --- a/components/cronet/android/test/proguard.cfg
|
| +++ b/components/cronet/android/test/proguard.cfg
|
| @@ -3,6 +3,8 @@
|
| -keepattributes Signature,InnerClasses,SourceFile,LineNumberTable
|
| -dontwarn io.netty.**
|
| -keep class io.netty.** { *; }
|
| +# Keep ChromiumNativeTestSupport & ChromiumPlatformOnlyTestSupport since they are
|
| +# instantiated through Reflection by the smoke tests.
|
| -keep class org.chromium.net.smoke.ChromiumNativeTestSupport
|
| -keep class org.chromium.net.smoke.ChromiumPlatformOnlyTestSupport
|
|
|
| @@ -11,6 +13,10 @@
|
|
|
| -dontwarn android.support.test.runner.MonitoringInstrumentation
|
|
|
| +# Do not obfuscate this class for testing since some of the tests check the class
|
| +# name in order to check that an instantiated engine is the Java one.
|
| +-keepnames class org.chromium.net.impl.JavaCronetEngine
|
| +
|
| # These classes should be explicitly kept to avoid failure if
|
| # class/merging/horizontal proguard optimization is enabled.
|
| # NOTE: make sure that only test classes are added to this list.
|
|
|