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

Side by Side Diff: BUILD.gn

Issue 2183063002: [build] Conditionally print to stdout on Android (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [gn] Set defines for Android Created 4 years, 4 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 | build_overrides/v8.gni » ('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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/dcheck_always_on.gni") 7 import("//build/config/dcheck_always_on.gni")
8 import("//build/config/mips.gni") 8 import("//build/config/mips.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 } 76 }
77 } 77 }
78 if (v8_enable_gdbjit == "") { 78 if (v8_enable_gdbjit == "") {
79 if (defined(v8_enable_gdbjit_default)) { 79 if (defined(v8_enable_gdbjit_default)) {
80 v8_enable_gdbjit = v8_enable_gdbjit_default 80 v8_enable_gdbjit = v8_enable_gdbjit_default
81 } else { 81 } else {
82 v8_enable_gdbjit = false 82 v8_enable_gdbjit = false
83 } 83 }
84 } 84 }
85 85
86 v8_standalone = defined(v8_standalone_build) && v8_standalone_build
86 v8_generated_peephole_source = "$target_gen_dir/bytecode-peephole-table.cc" 87 v8_generated_peephole_source = "$target_gen_dir/bytecode-peephole-table.cc"
87 v8_random_seed = "314159265" 88 v8_random_seed = "314159265"
88 v8_toolset_for_shell = "host" 89 v8_toolset_for_shell = "host"
89 90
90 ############################################################################### 91 ###############################################################################
91 # Configurations 92 # Configurations
92 # 93 #
93 config("internal_config") { 94 config("internal_config") {
94 visibility = [ ":*" ] # Only targets in this file can depend on this. 95 visibility = [ ":*" ] # Only targets in this file can depend on this.
95 96
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 "VERIFY_HEAP", 323 "VERIFY_HEAP",
323 "DEBUG", 324 "DEBUG",
324 "TRACE_MAPS", 325 "TRACE_MAPS",
325 ] 326 ]
326 if (v8_enable_slow_dchecks) { 327 if (v8_enable_slow_dchecks) {
327 defines += [ "ENABLE_SLOW_DCHECKS" ] 328 defines += [ "ENABLE_SLOW_DCHECKS" ]
328 } 329 }
329 } else if (dcheck_always_on) { 330 } else if (dcheck_always_on) {
330 defines += [ "DEBUG" ] 331 defines += [ "DEBUG" ]
331 } 332 }
333
334 if (v8_standalone) {
335 if (is_android) {
336 defines += [ "V8_ANDROID_LOG_STDOUT" ]
Michael Achenbach 2016/07/26 15:06:34 Porting https://cs.chromium.org/chromium/src/v8/gy
vogelheim 2016/07/27 07:43:40 Are there any sort of asserts or unit tests for BU
337 }
338 }
332 } 339 }
333 340
334 ############################################################################### 341 ###############################################################################
335 # Actions 342 # Actions
336 # 343 #
337 344
338 action("js2c") { 345 action("js2c") {
339 visibility = [ ":*" ] # Only targets in this file can depend on this. 346 visibility = [ ":*" ] # Only targets in this file can depend on this.
340 347
341 script = "tools/js2c.py" 348 script = "tools/js2c.py"
(...skipping 2169 matching lines...) Expand 10 before | Expand all | Expand 10 after
2511 2518
2512 deps = [ 2519 deps = [
2513 ":fuzzer_support", 2520 ":fuzzer_support",
2514 ] 2521 ]
2515 2522
2516 configs = [ ":internal_config" ] 2523 configs = [ ":internal_config" ]
2517 } 2524 }
2518 2525
2519 v8_fuzzer("wasm_asmjs_fuzzer") { 2526 v8_fuzzer("wasm_asmjs_fuzzer") {
2520 } 2527 }
OLDNEW
« no previous file with comments | « no previous file | build_overrides/v8.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698