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

Unified Diff: testing/android/proguard_for_test.flags

Issue 2123753005: Creating new gn arg: enable_all_proguard_optimizations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased again 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 | « chrome/android/chrome_public_apk_tmpl.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/android/proguard_for_test.flags
diff --git a/testing/android/proguard_for_test.flags b/testing/android/proguard_for_test.flags
new file mode 100644
index 0000000000000000000000000000000000000000..a9c5e606dda519d88455d32c4681c2f64cbf7c27
--- /dev/null
+++ b/testing/android/proguard_for_test.flags
@@ -0,0 +1,18 @@
+# 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.
+
+# This file is for proguard flags which will be applied to apks that are being
+# built to be instrumentation tested. The flags in this file should only affect
+# how the instrumentation tests interact with the .apk. Do not put any flags in
+# this file which might affect the correctness of the .apk.
+
+# This line prevents optmization from being applied to either packages. We rely
+# on optimizations being off to prevent inlining functions our instrumentation
+# tests use.
+# TODO(smaier): when buildbot scripts have been updated to not include this
+# config as part of its release build, switch these lines to:
+# -dontoptimize
+-keepnames,allowobfuscation class com.google.android.apps.chrome.**,org.chromium.** {
+ *;
+}
« no previous file with comments | « chrome/android/chrome_public_apk_tmpl.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698