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

Unified Diff: components/cronet/android/test/proguard.cfg

Issue 2561803002: Cronet smoke tests (Closed)
Patch Set: Moved to android.support.test.filters & added support for network-security-config Created 4 years 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698