Index: testing/android/proguard_for_test.flags |
diff --git a/testing/android/proguard_for_test.flags b/testing/android/proguard_for_test.flags |
index e108f4f788695ade9023f5e55d623a8b949e8745..a5ae9521fa35aa33378903be8445bd6f38c7e8c1 100644 |
--- a/testing/android/proguard_for_test.flags |
+++ b/testing/android/proguard_for_test.flags |
@@ -30,6 +30,15 @@ |
public static ** valueOf(java.lang.String); |
} |
+# Keey any annotation used by tests for instrumentation runner to list out |
+# test annotation information |
+-keep @interface android.support.test.** |
+-keep @interface org.chromium.base.test.** |
+-keep @interface org.junit.** |
+-keep @interface android.test.** |
+ |
+-keepattributes *Annotation* |
+ |
# We have some "library class WebView depends on program class SslCertificate" |
# warnings, and they don't affect us. |
-dontwarn android.webkit.WebView* |