brettw | 2bafab4 | 2014-11-27 18:36:17 | [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. |
bauerb@chromium.org | 96ea63d | 2013-07-30 10:17:07 | [diff] [blame] | 4 | |
| 5 | # The location of the build configuration file. |
| 6 | buildconfig = "//build/config/BUILDCONFIG.gn" |
| 7 | |
| 8 | # The secondary source root is a parallel directory tree where |
scheib | ec4b3a4 | 2014-09-18 21:50:13 | [diff] [blame] | 9 | # GN build files are placed when they can not be placed directly |
| 10 | # in the source tree, e.g. for third party source trees. |
cmasone@chromium.org | 26688b86e | 2014-06-19 13:14:26 | [diff] [blame] | 11 | secondary_source = "//build/secondary/" |
brettw | 2bafab4 | 2014-11-27 18:36:17 | [diff] [blame] | 12 | |
| 13 | # 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 |
| 15 | # their includes checked for proper dependencies when you run either |
| 16 | # "gn check" or "gn gen --check". |
brettw | e75311d | 2015-02-17 23:56:46 | [diff] [blame] | 17 | check_targets = [ |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 18 | #"//apps/*", # Medium-hard. |
| 19 | #"//ash/*", # Medium-hard. |
| 20 | #"//base/*", # Needs GN binary changes to work on Android. |
| 21 | "//blink/*", |
| 22 | "//breakpad/*", |
| 23 | "//build/*", |
brettw | e75311d | 2015-02-17 23:56:46 | [diff] [blame] | 24 | "//cc/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 25 | |
| 26 | #"//chrome/*", # Epic number of errors. |
| 27 | "//chromecast/*", |
binjin | 41efe08 | 2015-02-23 12:34:50 | [diff] [blame] | 28 | |
| 29 | # TODO(brettw): Fix http://crbug.com/460828 and uncomment the following |
| 30 | # line. |
| 31 | #"//chrome_elf/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 32 | "//cloud_print/*", |
| 33 | |
| 34 | #"//components/*", # Lots of errors. |
| 35 | #"//content/*", # A whole lot of errors. |
| 36 | "//courgette/*", |
| 37 | "//crypto/*", |
| 38 | "//data/*", |
| 39 | "//dbus/*", |
| 40 | "//device/*", |
| 41 | |
| 42 | #"//extensions/*", # Lots of errors. |
| 43 | #"//gin/*", # Easy. |
tfarina | 9ee68196 | 2015-03-02 03:20:13 | [diff] [blame] | 44 | "//google_apis/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 45 | "//google_update/*", |
| 46 | |
| 47 | #"//gpu/*", # Lots of errors. |
tfarina | f8972243 | 2015-05-15 19:30:19 | [diff] [blame^] | 48 | "//gpu:*", |
| 49 | |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 50 | #"//ios/*", |
brettw | e75311d | 2015-02-17 23:56:46 | [diff] [blame] | 51 | "//ipc/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 52 | |
| 53 | #"//jingle/*", |
| 54 | #"//media/*", # Lots of errors. |
| 55 | #"//mojo/*", |
| 56 | #"//native_client/*", |
| 57 | #"//net/*", # Needs GN binary changes to work on Android. |
| 58 | |
| 59 | #"//pdf/*", # Medium-hard. |
| 60 | #"//ppapi/*", # Lots of errors. |
| 61 | "//printing/*", |
| 62 | |
| 63 | #"//remoting/*", # Medium-hard. |
| 64 | #"//rlz/*", # Needs checking on Windows. |
| 65 | #"//sandbox/*", # Medium-hard. |
| 66 | "//sdch/*", |
| 67 | "//skia/*", |
| 68 | "//sql/*", |
| 69 | "//storage/*", |
| 70 | "//sync/*", |
| 71 | "//testing/*", |
| 72 | |
| 73 | #"//third_party/*", # May not ever want this. |
| 74 | "//tools/*", |
| 75 | |
| 76 | #"//ui/*", # Just a few problems. |
| 77 | "//url/*", |
| 78 | "//v8/*", |
brettw | e75311d | 2015-02-17 23:56:46 | [diff] [blame] | 79 | ] |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 80 | |
| 81 | # These are the list of GN files that run exec_script. This whitelist exists |
| 82 | # to force additional review for new uses of exec_script, which is strongly |
| 83 | # discouraged except for gypi_to_gn calls. |
| 84 | exec_script_whitelist = [ |
| 85 | "//ash/BUILD.gn", |
| 86 | "//build/config/android/BUILD.gn", |
| 87 | "//build/config/android/config.gni", |
| 88 | "//build/config/android/internal_rules.gni", |
| 89 | "//build/config/android/rules.gni", |
| 90 | "//build/config/compiler/BUILD.gn", |
| 91 | "//build/config/gcc/gcc_version.gni", |
| 92 | "//build/config/ios/ios_sdk.gni", |
| 93 | "//build/config/linux/BUILD.gn", |
| 94 | "//build/config/linux/pkg_config.gni", |
| 95 | "//build/config/mac/mac_sdk.gni", |
| 96 | "//build/config/win/visual_studio_version.gni", |
| 97 | "//build/gn_helpers.py", |
| 98 | "//build/gypi_to_gn.py", |
| 99 | "//build/toolchain/gcc_toolchain.gni", |
| 100 | "//build/toolchain/mac/BUILD.gn", |
| 101 | "//build/toolchain/win/BUILD.gn", |
| 102 | "//chrome/android/BUILD.gn", |
| 103 | "//chrome/browser/BUILD.gn", |
| 104 | "//chrome/browser/chromeos/BUILD.gn", |
| 105 | "//chrome/browser/extensions/BUILD.gn", |
| 106 | "//chrome/browser/ui/BUILD.gn", |
| 107 | "//chrome/chrome_tests.gni", |
| 108 | "//chrome/common/BUILD.gn", |
| 109 | "//chrome/common/extensions/api/schemas.gni", |
| 110 | "//chrome/renderer/BUILD.gn", |
| 111 | "//chrome/test/BUILD.gn", |
| 112 | "//chrome/utility/BUILD.gn", |
| 113 | "//chromeos/BUILD.gn", |
dgn | 47095171 | 2015-04-07 10:37:47 | [diff] [blame] | 114 | |
| 115 | # TODO(dgn): Layer violation but breaks the build otherwise, see |
| 116 | # https://crbug.com/474506 |
| 117 | "//clank/java/BUILD.gn", |
| 118 | "//clank/native/framework/BUILD.gn", |
| 119 | |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 120 | "//components/domain_reliability/BUILD.gn", |
jochen | 83c639f0 | 2015-04-22 17:07:37 | [diff] [blame] | 121 | "//components/scheduler/scheduler.gni", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 122 | "//components/webui_generator/generator/wug.gni", |
| 123 | "//content/browser/browser.gni", |
| 124 | "//content/child/child.gni", |
| 125 | "//content/common/common.gni", |
| 126 | "//content/content.gni", |
| 127 | "//content/public/android/BUILD.gn", |
| 128 | "//content/renderer/renderer.gni", |
| 129 | "//content/test/BUILD.gn", |
| 130 | "//extensions/common/api/schemas.gni", |
| 131 | "//extensions/extensions.gni", |
| 132 | "//extensions/shell/app_shell.gni", |
| 133 | "//extensions/shell/common/api/schemas.gni", |
| 134 | "//google_apis/BUILD.gn", |
| 135 | "//gpu/gles2_conform_support/BUILD.gn", |
| 136 | "//jingle/BUILD.gn", |
| 137 | "//native_client/build/toolchain/gcc_toolchain.gni", |
| 138 | "//native_client/build/toolchain/nacl/BUILD.gn", |
| 139 | "//native_client/build/config/android/BUILD.gn", |
| 140 | "//native_client/build/config/gcc/gcc_version.gni", |
| 141 | "//native_client/build/config/ios/ios_sdk.gni", |
| 142 | "//native_client/build/config/linux/BUILD.gn", |
| 143 | "//native_client/build/config/linux/pkg_config.gni", |
| 144 | "//native_client/build/config/mac/mac_sdk.gni", |
| 145 | "//native_client/build/config/win/visual_studio_version.gni", |
| 146 | "//native_client/build/toolchain/gcc_toolchain.gni", |
| 147 | "//native_client/build/toolchain/mac/BUILD.gn", |
| 148 | "//native_client/build/toolchain/nacl/BUILD.gn", |
| 149 | "//native_client/build/toolchain/win/BUILD.gn", |
| 150 | "//net/BUILD.gn", |
| 151 | "//ppapi/ppapi_sources.gni", |
| 152 | "//printing/BUILD.gn", |
| 153 | "//remoting/host/BUILD.gn", |
| 154 | "//remoting/remoting_srcs.gni", |
| 155 | "//remoting/remoting_version.gni", |
| 156 | "//skia/BUILD.gn", |
| 157 | "//third_party/android_platform/BUILD.gn", |
| 158 | "//third_party/angle/BUILD.gn", |
| 159 | "//third_party/boringssl/BUILD.gn", |
| 160 | "//third_party/cld_2/BUILD.gn", |
| 161 | "//third_party/cython/rules.gni", |
| 162 | "//third_party/google_input_tools/inputview.gni", |
| 163 | "//third_party/harfbuzz-ng/BUILD.gn", |
| 164 | "//third_party/libaddressinput/BUILD.gn", |
| 165 | "//third_party/opus/BUILD.gn", |
| 166 | "//third_party/WebKit/Source/bindings/bindings.gni", |
| 167 | "//third_party/WebKit/Source/bindings/scripts/scripts.gni", |
| 168 | "//third_party/WebKit/Source/config.gni", |
| 169 | "//third_party/WebKit/Source/core/core.gni", |
| 170 | "//third_party/WebKit/Source/devtools/BUILD.gn", |
| 171 | "//third_party/WebKit/Source/modules/modules.gni", |
| 172 | "//third_party/WebKit/Source/platform/BUILD.gn", |
| 173 | "//third_party/WebKit/Source/platform/platform.gni", |
| 174 | "//third_party/WebKit/Source/web/BUILD.gn", |
| 175 | "//third_party/WebKit/Source/wtf/BUILD.gn", |
| 176 | "//tools/gn/BUILD.gn", |
| 177 | "//tools/gn/build_settings.h", |
| 178 | "//tools/gn/command_help.cc", |
| 179 | "//tools/gn/docs/language.md", |
| 180 | "//tools/gn/format_test_data/053.gn", |
| 181 | "//tools/gn/format_test_data/053.golden", |
| 182 | "//tools/gn/format_test_data/055.gn", |
| 183 | "//tools/gn/format_test_data/055.golden", |
| 184 | "//tools/gn/function_exec_script.cc", |
| 185 | "//tools/gn/gn.gyp", |
| 186 | "//tools/gn/input_conversion.cc", |
| 187 | "//tools/gn/misc/emacs/gn.el", |
| 188 | "//tools/gn/misc/vim/syntax/gn.vim", |
| 189 | "//tools/gn/setup.cc", |
| 190 | "//ui/views/BUILD.gn", |
| 191 | ] |