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

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

Issue 2087323002: Switching over to full usage of is_java_debug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed commented out line Created 4 years, 6 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
« no previous file with comments | « no previous file | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 # Speed up incremental compiles by compiling only changed files. 120 # Speed up incremental compiles by compiling only changed files.
121 enable_incremental_javac = false 121 enable_incremental_javac = false
122 122
123 # Speed up dexing using dx --incremental. 123 # Speed up dexing using dx --incremental.
124 enable_incremental_dx = is_java_debug 124 enable_incremental_dx = is_java_debug
125 125
126 # Neither of these should ever be used for release builds since they are 126 # Neither of these should ever be used for release builds since they are
127 # somewhat experimental and dx --incremental is known to not produce 127 # somewhat experimental and dx --incremental is known to not produce
128 # byte-for-byte identical output. 128 # byte-for-byte identical output.
129 assert(!(enable_incremental_dx && !is_debug)) 129 assert(!(enable_incremental_dx && !is_java_debug))
130 assert(!(enable_incremental_javac && !is_debug)) 130 assert(!(enable_incremental_javac && !is_java_debug))
131 131
132 # Adds intrumentation to each function. Writes a file with the order that 132 # Adds intrumentation to each function. Writes a file with the order that
133 # functions are called at startup. 133 # functions are called at startup.
134 use_order_profiling = false 134 use_order_profiling = false
135 } 135 }
136 136
137 # Host stuff ----------------------------------------------------------------- 137 # Host stuff -----------------------------------------------------------------
138 138
139 # Defines the name the Android build gives to the current host CPU 139 # Defines the name the Android build gives to the current host CPU
140 # architecture, which is different than the names GN uses. 140 # architecture, which is different than the names GN uses.
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 } else if (current_cpu == "mips64el") { 275 } else if (current_cpu == "mips64el") {
276 android_app_abi = "mips64" 276 android_app_abi = "mips64"
277 } else { 277 } else {
278 assert(false, "Unknown Android ABI: " + current_cpu) 278 assert(false, "Unknown Android ABI: " + current_cpu)
279 } 279 }
280 280
281 if (android_libcpp_lib_dir == "") { 281 if (android_libcpp_lib_dir == "") {
282 android_libcpp_lib_dir = "${android_libcpp_root}/libs/${android_app_abi}" 282 android_libcpp_lib_dir = "${android_libcpp_root}/libs/${android_app_abi}"
283 } 283 }
284 } 284 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698