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

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

Issue 2331573003: build full 64bit WebView (Closed)
Patch Set: build full 64bit WebView Created 4 years, 3 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 # Disables process isolation when building _incremental targets. 126 # Disables process isolation when building _incremental targets.
127 # Required for Android M+ due to SELinux policies (stronger sandboxing). 127 # Required for Android M+ due to SELinux policies (stronger sandboxing).
128 disable_incremental_isolated_processes = false 128 disable_incremental_isolated_processes = false
129 129
130 # Speed up incremental compiles by compiling only changed files. 130 # Speed up incremental compiles by compiling only changed files.
131 enable_incremental_javac = false 131 enable_incremental_javac = false
132 132
133 # Adds intrumentation to each function. Writes a file with the order that 133 # Adds intrumentation to each function. Writes a file with the order that
134 # functions are called at startup. 134 # functions are called at startup.
135 use_order_profiling = false 135 use_order_profiling = false
136
137 # Only build 64-bit binaries in 64-bit WebView APK.
Torne 2016/09/16 14:04:18 Maybe "Only build 64-bit binaries in 64-bit WebVie
michaelbai 2016/09/16 16:14:22 Done.
138 build_64bit_only_webview = false
136 } 139 }
137 140
138 # We need a second declare_args block to make sure we are using the overridden 141 # We need a second declare_args block to make sure we are using the overridden
139 # value of the arguments set above. 142 # value of the arguments set above.
140 declare_args() { 143 declare_args() {
141 # Speed up dexing using dx --incremental. 144 # Speed up dexing using dx --incremental.
142 enable_incremental_dx = is_java_debug 145 enable_incremental_dx = is_java_debug
143 } 146 }
144 147
148 if (defined(merge_64bit_webview_and_monochrome) &&
Torne 2016/09/16 14:04:18 I think you should also just declare this variable
michaelbai 2016/09/16 16:14:22 It is not for hiding something, I think this shoul
Torne 2016/09/16 16:35:33 But we will at some point.
michaelbai 2016/09/16 20:05:55 Fair enough, everything is in public
149 merge_64bit_webview_and_monochrome) {
150 build_64bit_only_webview = true
151 }
152
145 # Neither of these should ever be used for release builds since they are 153 # Neither of these should ever be used for release builds since they are
146 # somewhat experimental and dx --incremental is known to not produce 154 # somewhat experimental and dx --incremental is known to not produce
147 # byte-for-byte identical output. 155 # byte-for-byte identical output.
148 assert(!(enable_incremental_dx && !is_java_debug)) 156 assert(!(enable_incremental_dx && !is_java_debug))
149 assert(!(enable_incremental_javac && !is_java_debug)) 157 assert(!(enable_incremental_javac && !is_java_debug))
150 158
151 # Host stuff ----------------------------------------------------------------- 159 # Host stuff -----------------------------------------------------------------
152 160
153 # Defines the name the Android build gives to the current host CPU 161 # Defines the name the Android build gives to the current host CPU
154 # architecture, which is different than the names GN uses. 162 # architecture, which is different than the names GN uses.
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 "//build/toolchain/android:${android_secondary_abi_cpu}" 332 "//build/toolchain/android:${android_secondary_abi_cpu}"
325 } 333 }
326 } 334 }
327 } 335 }
328 336
329 declare_args() { 337 declare_args() {
330 # Enables used resource whitelist generation. Set for official builds only 338 # Enables used resource whitelist generation. Set for official builds only
331 # as a large amount of build output is generated. 339 # as a large amount of build output is generated.
332 enable_resource_whitelist_generation = is_android && is_official_build 340 enable_resource_whitelist_generation = is_android && is_official_build
333 } 341 }
OLDNEW
« android_webview/BUILD.gn ('K') | « android_webview/system_webview_apk_tmpl.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698