Index: .gn |
diff --git a/.gn b/.gn |
index aee1752d4be65e7fa567ee58ca451f6d8f325d3a..c80980ea092d0564320a40ef32812c47ef65ff66 100644 |
--- a/.gn |
+++ b/.gn |
@@ -2,6 +2,8 @@ |
# 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" |
@@ -19,30 +21,5 @@ 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/config/android/BUILD.gn", |
- "//build/config/android/config.gni", |
- "//build/config/android/internal_rules.gni", |
- "//build/config/android/rules.gni", |
- "//build/config/BUILD.gn", |
- "//build/config/compiler/BUILD.gn", |
- "//build/config/gcc/gcc_version.gni", |
- "//build/config/ios/ios_sdk.gni", |
- "//build/config/linux/atk/BUILD.gn", |
- "//build/config/linux/BUILD.gn", |
- "//build/config/linux/pkg_config.gni", |
- "//build/config/mac/mac_sdk.gni", |
- "//build/config/posix/BUILD.gn", |
- "//build/config/sysroot.gni", |
- "//build/config/win/BUILD.gn", |
- "//build/config/win/visual_studio_version.gni", |
- "//build/gn_helpers.py", |
- "//build/gypi_to_gn.py", |
- "//build/toolchain/concurrent_links.gni", |
- "//build/toolchain/gcc_toolchain.gni", |
- "//build/toolchain/mac/BUILD.gn", |
- "//build/toolchain/win/BUILD.gn", |
- "//build/util/branding.gni", |
- "//build/util/version.gni", |
- "//test/test262/BUILD.gn", |
-] |
+exec_script_whitelist = |
+ build_dotfile_settings.exec_script_whitelist + [ "//test/test262/BUILD.gn" ] |