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

Side by Side Diff: BUILD.gn

Issue 2888093003: [heap] Add GN flag for enabling concurrent marking. (Closed)
Patch Set: infer runtime flag from compile time flag Created 3 years, 7 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 | src/flag-definitions.h » ('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/host_byteorder.gni") 8 import("//build/config/host_byteorder.gni")
9 import("//build/config/mips.gni") 9 import("//build/config/mips.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 # Sets -dV8_TRACE_MAPS. 70 # Sets -dV8_TRACE_MAPS.
71 v8_enable_trace_maps = "" 71 v8_enable_trace_maps = ""
72 72
73 # Sets -dV8_ENABLE_CHECKS. 73 # Sets -dV8_ENABLE_CHECKS.
74 v8_enable_v8_checks = "" 74 v8_enable_v8_checks = ""
75 75
76 # Sets -dV8_TRACE_IGNITION. 76 # Sets -dV8_TRACE_IGNITION.
77 v8_enable_trace_ignition = false 77 v8_enable_trace_ignition = false
78 78
79 # Sets -dV8_CONCURRENT_MARKING
80 v8_enable_concurrent_marking = false
81
79 # With post mortem support enabled, metadata is embedded into libv8 that 82 # With post mortem support enabled, metadata is embedded into libv8 that
80 # describes various parameters of the VM for use by debuggers. See 83 # describes various parameters of the VM for use by debuggers. See
81 # tools/gen-postmortem-metadata.py for details. 84 # tools/gen-postmortem-metadata.py for details.
82 v8_postmortem_support = false 85 v8_postmortem_support = false
83 86
84 # Switches off inlining in V8. 87 # Switches off inlining in V8.
85 v8_no_inline = false 88 v8_no_inline = false
86 89
87 # Override OS page size when generating snapshot 90 # Override OS page size when generating snapshot
88 v8_os_page_size = "0" 91 v8_os_page_size = "0"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 } 253 }
251 if (v8_enable_handle_zapping) { 254 if (v8_enable_handle_zapping) {
252 defines += [ "ENABLE_HANDLE_ZAPPING" ] 255 defines += [ "ENABLE_HANDLE_ZAPPING" ]
253 } 256 }
254 if (v8_use_snapshot) { 257 if (v8_use_snapshot) {
255 defines += [ "V8_USE_SNAPSHOT" ] 258 defines += [ "V8_USE_SNAPSHOT" ]
256 } 259 }
257 if (v8_use_external_startup_data) { 260 if (v8_use_external_startup_data) {
258 defines += [ "V8_USE_EXTERNAL_STARTUP_DATA" ] 261 defines += [ "V8_USE_EXTERNAL_STARTUP_DATA" ]
259 } 262 }
263 if (v8_enable_concurrent_marking) {
264 defines += [ "V8_CONCURRENT_MARKING" ]
265 }
260 } 266 }
261 267
262 config("toolchain") { 268 config("toolchain") {
263 visibility = [ ":*" ] # Only targets in this file can depend on this. 269 visibility = [ ":*" ] # Only targets in this file can depend on this.
264 270
265 defines = [] 271 defines = []
266 cflags = [] 272 cflags = []
267 ldflags = [] 273 ldflags = []
268 274
269 if (v8_current_cpu == "arm") { 275 if (v8_current_cpu == "arm") {
(...skipping 2999 matching lines...) Expand 10 before | Expand all | Expand 10 after
3269 ] 3275 ]
3270 3276
3271 configs = [ 3277 configs = [
3272 ":external_config", 3278 ":external_config",
3273 ":internal_config_base", 3279 ":internal_config_base",
3274 ] 3280 ]
3275 } 3281 }
3276 3282
3277 v8_fuzzer("wasm_compile_fuzzer") { 3283 v8_fuzzer("wasm_compile_fuzzer") {
3278 } 3284 }
OLDNEW
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698