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

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

Issue 2561803002: Cronet smoke tests (Closed)
Patch Set: Got rid of //base/android/proguard/chromium_apk.flags proguard 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/smoketests/proguard.cfg
diff --git a/components/cronet/android/test/smoketests/proguard.cfg b/components/cronet/android/test/smoketests/proguard.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..758b8dd4245a09981197e8c4a428e788b2d8c7ca
--- /dev/null
+++ b/components/cronet/android/test/smoketests/proguard.cfg
@@ -0,0 +1,15 @@
+-keepattributes Signature,InnerClasses,SourceFile,LineNumberTable
mef 2016/12/20 20:17:45 nit: add file comment, maybe move it up to android
kapishnikov 2016/12/22 19:21:13 Good idea. Done. Also removed test/javaperftests/p
+-dontwarn io.netty.**
+-keep class io.netty.** { *; }
+-keep class org.chromium.net.smoke.ChromiumJavaOnlyTestSupport
+-keep class org.chromium.net.smoke.ChromiumNativeTestSupport
+
+# TODO(jbudorick): Remove when crbug.com/488192 is fixed.
+-dontwarn org.apache.http.**
+
+# 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