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

Unified Diff: content/shell/android/BUILD.gn

Issue 2123753005: Creating new gn arg: enable_all_proguard_optimizations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing from 2 apks to gn arg which controls optimizations 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
Index: content/shell/android/BUILD.gn
diff --git a/content/shell/android/BUILD.gn b/content/shell/android/BUILD.gn
index 95296ccbd5a68490986367fe81a50fde3aebd963..a9336ead0028795387de76d4a0c03302ac9ab9b5 100644
--- a/content/shell/android/BUILD.gn
+++ b/content/shell/android/BUILD.gn
@@ -152,19 +152,21 @@ android_library("content_shell_test_java") {
]
}
-instrumentation_test_apk("content_shell_test_apk") {
- deps = [
- "//base:base_javatests",
- "//content/public/android:content_javatests",
- "//net/android:net_javatests",
- ]
- data_deps = [
- ":content_shell_apk",
- ]
- apk_under_test = ":content_shell_apk"
- apk_name = "ContentShellTest"
- android_manifest = "javatests/AndroidManifest.xml"
- isolate_file = "../../content_shell_test_data.isolate"
+if (!enable_all_proguard_optimizations) {
+ instrumentation_test_apk("content_shell_test_apk") {
+ deps = [
+ "//base:base_javatests",
+ "//content/public/android:content_javatests",
+ "//net/android:net_javatests",
+ ]
+ data_deps = [
+ ":content_shell_apk",
+ ]
+ apk_under_test = ":content_shell_apk"
+ apk_name = "ContentShellTest"
+ android_manifest = "javatests/AndroidManifest.xml"
+ isolate_file = "../../content_shell_test_data.isolate"
+ }
}
if (current_cpu != "x64") {

Powered by Google App Engine
This is Rietveld 408576698