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. |
[email protected] | 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. |
[email protected] | 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. |
msw | afbb0c0 | 2016-02-11 01:54:12 | [diff] [blame] | 19 | "//ash/*", |
brettw | 29c2f89 | 2015-11-27 17:03:49 | [diff] [blame] | 20 | "//base/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 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. |
tfarina | 8e58488 | 2016-01-09 00:50:15 | [diff] [blame] | 27 | "//chrome/app/*", |
brettw | 0b9c96b1 | 2015-10-15 23:06:04 | [diff] [blame] | 28 | "//chrome/common/*", |
brettw | f986f957 | 2015-10-07 17:18:15 | [diff] [blame] | 29 | "//chrome/installer/*", |
brettw | 0b9c96b1 | 2015-10-15 23:06:04 | [diff] [blame] | 30 | "//chrome/third_party/mozilla_security_manager/*", |
tfarina | 961ad5d | 2016-01-06 22:27:11 | [diff] [blame] | 31 | "//chrome/tools/*", |
tfarina | 02f77a4 | 2015-12-17 22:38:23 | [diff] [blame] | 32 | "//chrome/utility/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 33 | "//chromecast/*", |
brettw | a219e92 | 2015-12-07 22:23:39 | [diff] [blame] | 34 | "//chrome_elf/*", |
| 35 | "//cloud_print/*", |
brettw | b5440a9 | 2015-12-03 00:47:12 | [diff] [blame] | 36 | "//components/*", |
tfarina | 3de8194 | 2015-06-12 13:54:49 | [diff] [blame] | 37 | |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 38 | #"//content/*", # A whole lot of errors. |
brettw | f986f957 | 2015-10-07 17:18:15 | [diff] [blame] | 39 | "//content/public/common:result_codes", |
brettw | 70b359a | 2015-10-14 23:43:23 | [diff] [blame] | 40 | "//content/public/common:static_switches", |
jbroman | fc4ac0dd7 | 2016-01-23 01:53:44 | [diff] [blame] | 41 | "//content/renderer/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 42 | "//courgette/*", |
| 43 | "//crypto/*", |
| 44 | "//data/*", |
| 45 | "//dbus/*", |
brettw | bda835b | 2015-12-04 22:12:30 | [diff] [blame] | 46 | "//device/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 47 | |
| 48 | #"//extensions/*", # Lots of errors. |
jbroman | b5e3179 | 2015-12-09 17:13:02 | [diff] [blame] | 49 | "//gin/*", |
tfarina | 9ee68196 | 2015-03-02 03:20:13 | [diff] [blame] | 50 | "//google_apis/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 51 | "//google_update/*", |
| 52 | |
| 53 | #"//gpu/*", # Lots of errors. |
tfarina | f8972243 | 2015-05-15 19:30:19 | [diff] [blame] | 54 | "//gpu:*", |
| 55 | |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 56 | #"//ios/*", |
brettw | e75311d | 2015-02-17 23:56:46 | [diff] [blame] | 57 | "//ipc/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 58 | |
| 59 | #"//jingle/*", |
sky | 88d7709e | 2015-08-12 19:19:49 | [diff] [blame] | 60 | "//mandoline/*", |
sky | b044635 | 2015-11-18 00:43:56 | [diff] [blame] | 61 | "//mash/*", |
sky | 88d7709e | 2015-08-12 19:19:49 | [diff] [blame] | 62 | |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 63 | #"//media/*", # Lots of errors. |
sky | 34393143 | 2015-08-10 19:22:19 | [diff] [blame] | 64 | "mojo/*", |
sky | d412f6e | 2015-07-22 17:22:13 | [diff] [blame] | 65 | |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 66 | #"//native_client/*", |
| 67 | #"//net/*", # Needs GN binary changes to work on Android. |
| 68 | |
| 69 | #"//pdf/*", # Medium-hard. |
| 70 | #"//ppapi/*", # Lots of errors. |
jbroman | 86f7827 | 2015-12-31 00:00:51 | [diff] [blame] | 71 | "//ppapi/examples/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 72 | "//printing/*", |
| 73 | |
| 74 | #"//remoting/*", # Medium-hard. |
| 75 | #"//rlz/*", # Needs checking on Windows. |
| 76 | #"//sandbox/*", # Medium-hard. |
| 77 | "//sdch/*", |
| 78 | "//skia/*", |
| 79 | "//sql/*", |
| 80 | "//storage/*", |
| 81 | "//sync/*", |
| 82 | "//testing/*", |
| 83 | |
| 84 | #"//third_party/*", # May not ever want this. |
pmonette | 502a83e | 2016-01-08 00:21:16 | [diff] [blame] | 85 | "//third_party/kasko/*", |
jbroman | 626eecf | 2015-12-03 18:59:00 | [diff] [blame] | 86 | "//third_party/WebKit/Source/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 87 | "//tools/*", |
| 88 | |
brettw | b7f2c30 | 2015-12-08 01:29:21 | [diff] [blame] | 89 | #"//ui/*", # Work left on Chromeos w/ use_ozone. Some parts of UI that work: |
| 90 | "//ui/accessibility/*", |
| 91 | "//ui/android/*", |
| 92 | "//ui/app_list/*", |
| 93 | "//ui/aura/*", |
| 94 | "//ui/aura_extra/*", |
| 95 | "//ui/base/*", |
| 96 | "//ui/chromeos/*", |
| 97 | "//ui/compositor/*", |
| 98 | "//ui/display/*", |
| 99 | "//ui/events:events", # Specifically avoid //ui/events/ozone |
| 100 | "//ui/events:events_base", |
| 101 | "//ui/events:events_unittests", |
| 102 | "//ui/file_manager/*", |
| 103 | "//ui/gfx/*", |
| 104 | "//ui/gl/*", |
| 105 | "//ui/keyboard/*", |
| 106 | "//ui/login/*", |
| 107 | "//ui/message_center/*", |
| 108 | "//ui/metro_viewer/*", |
| 109 | "//ui/mojo/*", |
| 110 | "//ui/native_theme/*", |
| 111 | "//ui/platform_window/*", |
| 112 | "//ui/resources/*", |
| 113 | "//ui/shell_dialogs/*", |
| 114 | "//ui/snapshot/*", |
| 115 | "//ui/strings/*", |
| 116 | "//ui/surface/*", |
| 117 | "//ui/touch_selection/*", |
| 118 | "//ui/views/*", |
| 119 | "//ui/views_content_client/*", |
| 120 | "//ui/web_dialogs/*", |
| 121 | "//ui/webui/*", |
| 122 | "//ui/wm/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 123 | "//url/*", |
| 124 | "//v8/*", |
brettw | 0ead977 | 2015-11-23 23:12:08 | [diff] [blame] | 125 | "//win8/*", |
brettw | e75311d | 2015-02-17 23:56:46 | [diff] [blame] | 126 | ] |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 127 | |
| 128 | # These are the list of GN files that run exec_script. This whitelist exists |
| 129 | # to force additional review for new uses of exec_script, which is strongly |
| 130 | # discouraged except for gypi_to_gn calls. |
| 131 | exec_script_whitelist = [ |
michaelbai | cbcc7e6 | 2015-11-12 04:29:53 | [diff] [blame] | 132 | "//android_webview/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 133 | "//ash/BUILD.gn", |
agrieve | 92a9e068 | 2016-02-16 16:54:38 | [diff] [blame^] | 134 | "//build/config/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 135 | "//build/config/android/config.gni", |
| 136 | "//build/config/android/internal_rules.gni", |
| 137 | "//build/config/android/rules.gni", |
| 138 | "//build/config/compiler/BUILD.gn", |
| 139 | "//build/config/gcc/gcc_version.gni", |
| 140 | "//build/config/ios/ios_sdk.gni", |
| 141 | "//build/config/linux/BUILD.gn", |
| 142 | "//build/config/linux/pkg_config.gni", |
| 143 | "//build/config/mac/mac_sdk.gni", |
brettw | 888b65f | 2015-10-02 18:00:23 | [diff] [blame] | 144 | "//build/config/posix/BUILD.gn", |
agrieve | 45c8e9fd | 2015-12-03 20:56:48 | [diff] [blame] | 145 | "//build/config/sysroot.gni", |
Nico Weber | 8091cf9 | 2015-09-28 09:44:35 | [diff] [blame] | 146 | "//build/config/win/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 147 | "//build/config/win/visual_studio_version.gni", |
| 148 | "//build/gn_helpers.py", |
| 149 | "//build/gypi_to_gn.py", |
dpranke | ad0c1f4 | 2015-08-28 21:48:04 | [diff] [blame] | 150 | "//build/linux/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 151 | "//build/toolchain/gcc_toolchain.gni", |
| 152 | "//build/toolchain/mac/BUILD.gn", |
dpranke | fa6ffe2f | 2015-08-31 20:17:52 | [diff] [blame] | 153 | "//build/toolchain/nacl/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 154 | "//build/toolchain/win/BUILD.gn", |
brettw | 983c0562 | 2015-07-22 04:26:49 | [diff] [blame] | 155 | "//build/util/version.gni", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 156 | "//chrome/android/BUILD.gn", |
| 157 | "//chrome/browser/BUILD.gn", |
| 158 | "//chrome/browser/chromeos/BUILD.gn", |
| 159 | "//chrome/browser/extensions/BUILD.gn", |
plundblad | 70028e5c | 2015-07-09 09:01:05 | [diff] [blame] | 160 | "//chrome/browser/resources/chromeos/chromevox/BUILD.gn", |
imcheng | b6b09239f | 2015-05-15 21:41:55 | [diff] [blame] | 161 | "//chrome/browser/media/router/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 162 | "//chrome/browser/ui/BUILD.gn", |
| 163 | "//chrome/chrome_tests.gni", |
| 164 | "//chrome/common/BUILD.gn", |
| 165 | "//chrome/common/extensions/api/schemas.gni", |
| 166 | "//chrome/renderer/BUILD.gn", |
| 167 | "//chrome/test/BUILD.gn", |
| 168 | "//chrome/utility/BUILD.gn", |
| 169 | "//chromeos/BUILD.gn", |
dgn | 47095171 | 2015-04-07 10:37:47 | [diff] [blame] | 170 | |
| 171 | # TODO(dgn): Layer violation but breaks the build otherwise, see |
| 172 | # https://crbug.com/474506 |
| 173 | "//clank/java/BUILD.gn", |
Newton Allen | 68f14da | 2015-06-17 20:48:34 | [diff] [blame] | 174 | "//clank/native/BUILD.gn", |
dgn | 47095171 | 2015-04-07 10:37:47 | [diff] [blame] | 175 | |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 176 | "//components/domain_reliability/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 177 | "//content/browser/browser.gni", |
| 178 | "//content/child/child.gni", |
| 179 | "//content/common/common.gni", |
| 180 | "//content/content.gni", |
| 181 | "//content/public/android/BUILD.gn", |
| 182 | "//content/renderer/renderer.gni", |
| 183 | "//content/test/BUILD.gn", |
rockot | 7b6128a | 2015-05-18 20:18:00 | [diff] [blame] | 184 | "//content/utility/utility.gni", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 185 | "//extensions/common/api/schemas.gni", |
| 186 | "//extensions/extensions.gni", |
| 187 | "//extensions/shell/app_shell.gni", |
| 188 | "//extensions/shell/common/api/schemas.gni", |
| 189 | "//google_apis/BUILD.gn", |
| 190 | "//gpu/gles2_conform_support/BUILD.gn", |
ullysses.a.eoff | cfd8141 | 2015-10-29 17:04:53 | [diff] [blame] | 191 | "//gpu/khronos_glcts_support/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 192 | "//jingle/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 193 | "//net/BUILD.gn", |
| 194 | "//ppapi/ppapi_sources.gni", |
| 195 | "//printing/BUILD.gn", |
| 196 | "//remoting/host/BUILD.gn", |
| 197 | "//remoting/remoting_srcs.gni", |
| 198 | "//remoting/remoting_version.gni", |
| 199 | "//skia/BUILD.gn", |
pkotwicz | 9ae3420e | 2015-11-25 03:52:20 | [diff] [blame] | 200 | "//sync/protocol/protocol_sources.gni", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 201 | "//third_party/android_platform/BUILD.gn", |
| 202 | "//third_party/angle/BUILD.gn", |
cwallez | 4c57af3 | 2015-09-03 14:54:49 | [diff] [blame] | 203 | "//third_party/angle/src/tests/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 204 | "//third_party/boringssl/BUILD.gn", |
sullivan | 0cf8767 | 2015-08-04 17:10:32 | [diff] [blame] | 205 | "//third_party/catapult/tracing/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 206 | "//third_party/cld_2/BUILD.gn", |
| 207 | "//third_party/cython/rules.gni", |
| 208 | "//third_party/google_input_tools/inputview.gni", |
| 209 | "//third_party/harfbuzz-ng/BUILD.gn", |
| 210 | "//third_party/libaddressinput/BUILD.gn", |
| 211 | "//third_party/opus/BUILD.gn", |
hbos | 17a7b4a2 | 2015-12-07 10:49:45 | [diff] [blame] | 212 | "//third_party/openh264/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 213 | "//third_party/WebKit/Source/bindings/bindings.gni", |
| 214 | "//third_party/WebKit/Source/bindings/scripts/scripts.gni", |
| 215 | "//third_party/WebKit/Source/config.gni", |
| 216 | "//third_party/WebKit/Source/core/core.gni", |
| 217 | "//third_party/WebKit/Source/devtools/BUILD.gn", |
| 218 | "//third_party/WebKit/Source/modules/modules.gni", |
| 219 | "//third_party/WebKit/Source/platform/BUILD.gn", |
| 220 | "//third_party/WebKit/Source/platform/platform.gni", |
| 221 | "//third_party/WebKit/Source/web/BUILD.gn", |
| 222 | "//third_party/WebKit/Source/wtf/BUILD.gn", |
mcasas | 4337d5d3 | 2015-09-14 22:43:02 | [diff] [blame] | 223 | "//third_party/WebKit/public/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 224 | "//tools/gn/BUILD.gn", |
| 225 | "//tools/gn/build_settings.h", |
| 226 | "//tools/gn/command_help.cc", |
| 227 | "//tools/gn/docs/language.md", |
| 228 | "//tools/gn/format_test_data/053.gn", |
| 229 | "//tools/gn/format_test_data/053.golden", |
| 230 | "//tools/gn/format_test_data/055.gn", |
| 231 | "//tools/gn/format_test_data/055.golden", |
| 232 | "//tools/gn/function_exec_script.cc", |
| 233 | "//tools/gn/gn.gyp", |
| 234 | "//tools/gn/input_conversion.cc", |
| 235 | "//tools/gn/misc/emacs/gn.el", |
| 236 | "//tools/gn/misc/vim/syntax/gn.vim", |
| 237 | "//tools/gn/setup.cc", |
lionel.g.landwerlin | 991e92d7 | 2015-07-09 08:46:25 | [diff] [blame] | 238 | "//ui/accessibility/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 239 | "//ui/views/BUILD.gn", |
| 240 | ] |