| machenbach | c0e1192 | 2016-05-02 15:08:37 | [diff] [blame] | 1 | # 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 |  | 
| machenbach | 868abcb | 2016-11-29 11:16:41 | [diff] [blame] | 5 | import("//build/dotfile_settings.gni") | 
 | 6 |  | 
| machenbach | c0e1192 | 2016-05-02 15:08:37 | [diff] [blame] | 7 | # The location of the build configuration file. | 
 | 8 | buildconfig = "//build/config/BUILDCONFIG.gn" | 
 | 9 |  | 
| Michael Achenbach | d9923f5 | 2021-05-11 10:34:36 | [diff] [blame] | 10 | # The python interpreter to use by default. On Windows, this will look | 
 | 11 | # for python3.exe and python3.bat. | 
 | 12 | script_executable = "python3" | 
 | 13 |  | 
| machenbach | c0e1192 | 2016-05-02 15:08:37 | [diff] [blame] | 14 | # 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 Elphick | 55ae1a5 | 2021-04-28 15:50:33 | [diff] [blame] | 18 | no_check_targets = [ | 
 | 19 |   "//:cppgc_base", | 
 | 20 |   "//:v8_internal_headers", | 
| Zhi An Ng | 50fb0a2 | 2021-07-02 16:14:44 | [diff] [blame] | 21 |   "//src/inspector:inspector", | 
| Nico Hartmann | d1d9eb8 | 2023-03-30 13:30:11 | [diff] [blame] | 22 |   "//test/cctest:cctest_sources",  # 15 errors | 
 | 23 |   "//test/unittests:inspector_unittests_sources",  # 2 errors | 
| Dan Elphick | 6bb5688 | 2021-04-30 14:55:15 | [diff] [blame] | 24 |   "//third_party/icu:*", | 
| Dan Elphick | 55ae1a5 | 2021-04-28 15:50:33 | [diff] [blame] | 25 | ] | 
| machenbach | c0e1192 | 2016-05-02 15:08:37 | [diff] [blame] | 26 |  | 
| Victor Gomes | 39295b0 | 2022-08-29 13:42:12 | [diff] [blame] | 27 | default_args = { | 
| Michael Achenbach | 59db0e2 | 2024-05-03 08:20:15 | [diff] [blame] | 28 |   # Disable js dependencies like the closure compiler. | 
 | 29 |   enable_js_protobuf = false | 
| Manish Goregaokar | e1c6879 | 2025-03-06 08:32:53 | [diff] [blame] | 30 |  | 
| Manish Goregaokar | 39bb89e | 2025-06-18 23:14:13 | [diff] [blame] | 31 |   # Enable rust dependencies. | 
| Manish Goregaokar | e1c6879 | 2025-03-06 08:32:53 | [diff] [blame] | 32 |   enable_rust = true | 
| Leszek Swirski | e3022d7 | 2025-04-22 11:27:53 | [diff] [blame] | 33 |  | 
 | 34 |   # Needed only for std::atomic_ref<T> for large Ts http://crbug.com/402171653 | 
 | 35 |   use_llvm_libatomic = false | 
| Junji Watanabe | da46357 | 2025-06-20 04:19:57 | [diff] [blame] | 36 |  | 
 | 37 |   # Use Siso instead of Ninja. | 
 | 38 |   use_siso = true | 
| Victor Gomes | 39295b0 | 2022-08-29 13:42:12 | [diff] [blame] | 39 | } | 
 | 40 |  | 
| machenbach | c0e1192 | 2016-05-02 15:08:37 | [diff] [blame] | 41 | # 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 Pranke | 51d69ed | 2025-04-02 22:28:03 | [diff] [blame] | 44 | exec_script_allowlist = build_dotfile_settings.exec_script_allowlist + | 
| Michael Achenbach | 561e517 | 2019-07-29 07:55:29 | [diff] [blame] | 45 |                         [ "//build_overrides/build.gni" ] |