OLD | NEW |
1 # This file is used by the GN meta build system to find the root of the source | 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 | 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. | 3 # file, run "gn help dotfile" at the command line. |
4 | 4 |
| 5 import("//build/dotfile_settings.gni") |
| 6 |
5 # The location of the build configuration file. | 7 # The location of the build configuration file. |
6 buildconfig = "//build/config/BUILDCONFIG.gn" | 8 buildconfig = "//build/config/BUILDCONFIG.gn" |
7 | 9 |
8 # The secondary source root is a parallel directory tree where | 10 # The secondary source root is a parallel directory tree where |
9 # GN build files are placed when they can not be placed directly | 11 # GN build files are placed when they can not be placed directly |
10 # in the source tree, e.g. for third party source trees. | 12 # in the source tree, e.g. for third party source trees. |
11 secondary_source = "//build/secondary/" | 13 secondary_source = "//build/secondary/" |
12 | 14 |
13 # These are the targets to check headers for by default. The files in targets | 15 # These are the targets to check headers for by default. The files in targets |
14 # matching these patterns (see "gn help label_pattern" for format) will have | 16 # matching these patterns (see "gn help label_pattern" for format) will have |
15 # their includes checked for proper dependencies when you run either | 17 # their includes checked for proper dependencies when you run either |
16 # "gn check" or "gn gen --check". | 18 # "gn check" or "gn gen --check". |
17 check_targets = [] | 19 check_targets = [] |
18 | 20 |
19 # These are the list of GN files that run exec_script. This whitelist exists | 21 # These are the list of GN files that run exec_script. This whitelist exists |
20 # to force additional review for new uses of exec_script, which is strongly | 22 # to force additional review for new uses of exec_script, which is strongly |
21 # discouraged except for gypi_to_gn calls. | 23 # discouraged except for gypi_to_gn calls. |
22 exec_script_whitelist = [ | 24 exec_script_whitelist = |
23 "//build/config/android/BUILD.gn", | 25 build_dotfile_settings.exec_script_whitelist + [ "//test/test262/BUILD.gn" ] |
24 "//build/config/android/config.gni", | |
25 "//build/config/android/internal_rules.gni", | |
26 "//build/config/android/rules.gni", | |
27 "//build/config/BUILD.gn", | |
28 "//build/config/compiler/BUILD.gn", | |
29 "//build/config/gcc/gcc_version.gni", | |
30 "//build/config/ios/ios_sdk.gni", | |
31 "//build/config/linux/atk/BUILD.gn", | |
32 "//build/config/linux/BUILD.gn", | |
33 "//build/config/linux/pkg_config.gni", | |
34 "//build/config/mac/mac_sdk.gni", | |
35 "//build/config/posix/BUILD.gn", | |
36 "//build/config/sysroot.gni", | |
37 "//build/config/win/BUILD.gn", | |
38 "//build/config/win/visual_studio_version.gni", | |
39 "//build/gn_helpers.py", | |
40 "//build/gypi_to_gn.py", | |
41 "//build/toolchain/concurrent_links.gni", | |
42 "//build/toolchain/gcc_toolchain.gni", | |
43 "//build/toolchain/mac/BUILD.gn", | |
44 "//build/toolchain/win/BUILD.gn", | |
45 "//build/util/branding.gni", | |
46 "//build/util/version.gni", | |
47 "//test/test262/BUILD.gn", | |
48 ] | |
OLD | NEW |