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

Side by Side Diff: build/config/android/config.gni

Issue 2123753005: Creating new gn arg: enable_all_proguard_optimizations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Preventing any regression if enable_all_proguard_optimizations is never turned on 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file contains common system config stuff for the Android build. 5 # This file contains common system config stuff for the Android build.
6 6
7 if (is_android) { 7 if (is_android) {
8 assert(rebase_path("//", root_build_dir) == "../../", 8 assert(rebase_path("//", root_build_dir) == "../../",
9 "Android output directory must be nested 2 levels within src/ (" + 9 "Android output directory must be nested 2 levels within src/ (" +
10 "e.g.: out-gn/Debug). http://crbug.com/412935") 10 "e.g.: out-gn/Debug). http://crbug.com/412935")
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 # EMMA filter string consisting of a list of inclusion/exclusion patterns 118 # EMMA filter string consisting of a list of inclusion/exclusion patterns
119 # separated with whitespace and/or comma. Only has effect if 119 # separated with whitespace and/or comma. Only has effect if
120 # emma_coverage==true 120 # emma_coverage==true
121 emma_filter = "" 121 emma_filter = ""
122 122
123 # Disables process isolation when building _incremental targets. 123 # Disables process isolation when building _incremental targets.
124 # Required for Android M+ due to SELinux policies (stronger sandboxing). 124 # Required for Android M+ due to SELinux policies (stronger sandboxing).
125 disable_incremental_isolated_processes = false 125 disable_incremental_isolated_processes = false
126 126
127 # Enables all ProGuard optimizations. These optimizations must not be
128 # enabled for instrumentation tests, since they cause code required by the
129 # tests to be removed.
130 # TODO(smaier): when buildbots get updated to set this flag, change the
131 # default to is_official_build
132 enable_all_proguard_optimizations = false
133
127 # Speed up incremental compiles by compiling only changed files. 134 # Speed up incremental compiles by compiling only changed files.
128 enable_incremental_javac = false 135 enable_incremental_javac = false
129 136
130 # Speed up dexing using dx --incremental. 137 # Speed up dexing using dx --incremental.
131 enable_incremental_dx = is_java_debug 138 enable_incremental_dx = is_java_debug
132 139
133 # Neither of these should ever be used for release builds since they are 140 # Neither of these should ever be used for release builds since they are
134 # somewhat experimental and dx --incremental is known to not produce 141 # somewhat experimental and dx --incremental is known to not produce
135 # byte-for-byte identical output. 142 # byte-for-byte identical output.
136 assert(!(enable_incremental_dx && !is_java_debug)) 143 assert(!(enable_incremental_dx && !is_java_debug))
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 } else if (current_cpu == "mips64el") { 289 } else if (current_cpu == "mips64el") {
283 android_app_abi = "mips64" 290 android_app_abi = "mips64"
284 } else { 291 } else {
285 assert(false, "Unknown Android ABI: " + current_cpu) 292 assert(false, "Unknown Android ABI: " + current_cpu)
286 } 293 }
287 294
288 if (android_libcpp_lib_dir == "") { 295 if (android_libcpp_lib_dir == "") {
289 android_libcpp_lib_dir = "${android_libcpp_root}/libs/${android_app_abi}" 296 android_libcpp_lib_dir = "${android_libcpp_root}/libs/${android_app_abi}"
290 } 297 }
291 } 298 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/android/rules.gni » ('j') | chrome/android/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698