blob: e13ae6d5ec82daf1a83ec7b903f928f1074afadf [file] [log] [blame]
machenbachc0e11922016-05-02 15:08:371# This file is used by the GN meta build system to find the root of the source
2# tree and to set startup options. For documentation on the values set in this
3# file, run "gn help dotfile" at the command line.
4
machenbach868abcb2016-11-29 11:16:415import("//build/dotfile_settings.gni")
6
machenbachc0e11922016-05-02 15:08:377# The location of the build configuration file.
8buildconfig = "//build/config/BUILDCONFIG.gn"
9
Michael Achenbachd9923f52021-05-11 10:34:3610# The python interpreter to use by default. On Windows, this will look
11# for python3.exe and python3.bat.
12script_executable = "python3"
13
machenbachc0e11922016-05-02 15:08:3714# These are the targets to check headers for by default. The files in targets
15# matching these patterns (see "gn help label_pattern" for format) will have
16# their includes checked for proper dependencies when you run either
17# "gn check" or "gn gen --check".
Dan Elphick55ae1a52021-04-28 15:50:3318no_check_targets = [
19 "//:cppgc_base",
20 "//:v8_internal_headers",
Zhi An Ng50fb0a22021-07-02 16:14:4421 "//src/inspector:inspector",
Nico Hartmannd1d9eb82023-03-30 13:30:1122 "//test/cctest:cctest_sources", # 15 errors
23 "//test/unittests:inspector_unittests_sources", # 2 errors
Dan Elphick6bb56882021-04-30 14:55:1524 "//third_party/icu:*",
Dan Elphick55ae1a52021-04-28 15:50:3325]
machenbachc0e11922016-05-02 15:08:3726
Victor Gomes39295b02022-08-29 13:42:1227default_args = {
Michael Achenbach59db0e22024-05-03 08:20:1528 # Disable js dependencies like the closure compiler.
29 enable_js_protobuf = false
Manish Goregaokare1c68792025-03-06 08:32:5330
Manish Goregaokar39bb89e2025-06-18 23:14:1331 # Enable rust dependencies.
Manish Goregaokare1c68792025-03-06 08:32:5332 enable_rust = true
Leszek Swirskie3022d72025-04-22 11:27:5333
34 # Needed only for std::atomic_ref<T> for large Ts http://crbug.com/402171653
35 use_llvm_libatomic = false
Junji Watanabeda463572025-06-20 04:19:5736
37 # Use Siso instead of Ninja.
38 use_siso = true
Victor Gomes39295b02022-08-29 13:42:1239}
40
machenbachc0e11922016-05-02 15:08:3741# These are the list of GN files that run exec_script. This whitelist exists
42# to force additional review for new uses of exec_script, which is strongly
43# discouraged except for gypi_to_gn calls.
Dirk Pranke51d69ed2025-04-02 22:28:0344exec_script_allowlist = build_dotfile_settings.exec_script_allowlist +
Michael Achenbach561e5172019-07-29 07:55:2945 [ "//build_overrides/build.gni" ]