-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gn
81 lines (67 loc) · 2.67 KB
/
.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Copyright 2019 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file is used by the GN meta build system to find the root of the source
# tree and to set startup options. For documentation on the values set in this
# file, run "gn help dotfile" at the command line.
import("//build/dotfile_settings.gni")
# The location of the build configuration file.
buildconfig = "//build/config/BUILDCONFIG.gn"
# The secondary source root is a parallel directory tree where
# GN build files are placed when they can not be placed directly
# in the source tree, e.g. for third party source trees.
secondary_source = "//gn/"
# These are the targets to check headers for by default. The files in targets
# matching these patterns (see "gn help label_pattern" for format) will have
# their includes checked for proper dependencies when you run either
# "gn check" or "gn gen --check".
check_targets = ["*"]
# These are the list of GN files that run exec_script. This whitelist exists
# to force additional review for new uses of exec_script, which is strongly
# discouraged except for gypi_to_gn calls.
exec_script_whitelist = build_dotfile_settings.exec_script_whitelist +
[ "//node/node_files.gni" ]
default_args = {
#########################################################
# Changeable defaults
# General build options
use_sysroot = false
use_custom_libcxx = false
is_component_build = false
# Node.js defaults.
node_report = true
is_debug = false
# V8 options.
v8_embedder_string = "-node.0"
v8_enable_embedded_builtins = true
v8_enable_i18n_support = true
# V8 debug options.
v8_enable_disassembler = true
v8_deprecation_warnings = false
v8_imminent_deprecation_warnings = false
v8_enable_handle_zapping = false
v8_enable_pointer_compression = false
v8_optimized_debug = false
v8_enable_fast_mksnapshot = false
#########################################################
# Alternative configuration not supported. Do not change.
# General build options.
clang_use_chrome_plugins = false
icu_use_data_file = false
symbol_level = 1
# Node.js options. Do not change.
node_use_v8_platform = true
# V8 options catering towards Node.js use case.
v8_postmortem_support = true
v8_promise_internal_field_count = 1
v8_use_snapshot = true
v8_use_external_startup_data = false
v8_untrusted_code_mitigations = false
v8_enable_pointer_compression = false
v8_enable_31bit_smis_on_64bit_arch = false
v8_use_siphash = true
v8_expose_symbols = true
# V8 options.
v8_experimental_extra_library_files = []
v8_extra_library_files = []
}