Index: components/cronet/android/test/proguard.cfg |
diff --git a/components/cronet/android/test/proguard.cfg b/components/cronet/android/test/proguard.cfg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..22b0db07f95b327dcdcf3850cee91d03f690653b |
--- /dev/null |
+++ b/components/cronet/android/test/proguard.cfg |
@@ -0,0 +1,19 @@ |
+# Proguard configuration that is common for all type of tests. |
+ |
+-keepattributes Signature,InnerClasses,SourceFile,LineNumberTable |
+-dontwarn io.netty.** |
+-keep class io.netty.** { *; } |
+-keep class org.chromium.net.smoke.ChromiumNativeTestSupport |
+-keep class org.chromium.net.smoke.ChromiumPlatformOnlyTestSupport |
+ |
+# TODO(jbudorick): Remove when crbug.com/488192 is fixed. |
+-dontwarn org.apache.http.** |
+ |
+-dontwarn android.support.test.runner.MonitoringInstrumentation |
+ |
+# 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. |
+-keep class org.chromium.base.test.util.** |
+-keep class org.chromium.net.TestFilesInstaller |
+-keep class org.chromium.net.MetricsTestUtil |