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

Unified Diff: testing/android/proguard_for_tests.flags

Issue 2160693002: Turning obfuscation on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@annotation
Patch Set: broken Created 4 years, 5 months 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
« no previous file with comments | « testing/android/proguard_for_test.flags ('k') | testing/android/proguard_under_test.flags » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/android/proguard_for_tests.flags
diff --git a/testing/android/proguard_for_tests.flags b/testing/android/proguard_for_tests.flags
new file mode 100644
index 0000000000000000000000000000000000000000..e45959fe6a5d29df6506abdf54ee651839e83f58
--- /dev/null
+++ b/testing/android/proguard_for_tests.flags
@@ -0,0 +1,25 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# No need to cut stuff out of the instrumentation tests.
+-dontoptimize
+-dontshrink
+-dontskipnonpubliclibraryclassmembers
+
+-dontwarn android.webkit.WebView*
+-dontwarn org.apache.http.conn.scheme.LayeredSocketFactory
+-dontwarn org.chromium.chrome.browser.notifications.WebApkNotificationClient$*
+-dontwarn org.chromium.webapk.lib.client.WebApkServiceConnectionManager$*
+
+-keep class * extends junit.framework.TestCase {
+ *;
+}
+
+# We don't want BasicHttpParams or AbstractHttpParams to get renamed since that
+# then makes our calls to them use the implementation that we find in our .dex
+# file, which is broken. We need to rely on these calls resolving to the
+# system's implementation. See crbug.com/488192#c36.
+-keep class org.apache.** {
+ *;
+}
« no previous file with comments | « testing/android/proguard_for_test.flags ('k') | testing/android/proguard_under_test.flags » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698