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. |
| 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. |
brettw | 74a2a34f | 2015-05-21 04:43:40 | [diff] [blame] | 27 | "//chrome/installer/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 28 | "//chromecast/*", |
binjin | 41efe08 | 2015-02-23 12:34:50 | [diff] [blame] | 29 | |
| 30 | # TODO(brettw): Fix http://crbug.com/460828 and uncomment the following |
| 31 | # line. |
| 32 | #"//chrome_elf/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 33 | "//cloud_print/*", |
| 34 | |
| 35 | #"//components/*", # Lots of errors. |
tfarina | 4a0c59488 | 2015-07-02 14:39:41 | [diff] [blame] | 36 | "//components/app_modal/*", |
jackhou | cfa3902 | 2015-06-24 00:19:01 | [diff] [blame] | 37 | "//components/autofill/*", |
tfarina | 3de8194 | 2015-06-12 13:54:49 | [diff] [blame] | 38 | "//components/bookmarks/*", |
tfarina | c312b42 | 2015-07-21 18:17:52 | [diff] [blame] | 39 | "//components/google/*", |
| 40 | "//components/omnibox/*", |
tfarina | d016bd2 | 2015-06-26 18:19:21 | [diff] [blame] | 41 | "//components/os_crypt/*", |
tfarina | dfa9bd7 | 2015-06-15 16:49:34 | [diff] [blame] | 42 | "//components/pref_registry/*", |
tfarina | a6fc3a2 | 2015-06-17 15:00:54 | [diff] [blame] | 43 | "//components/undo/*", |
tfarina | 0c06ad6 | 2015-07-08 01:50:55 | [diff] [blame] | 44 | "//components/update_client/*", |
| 45 | "//components/url_fixer/*", |
| 46 | "//components/url_matcher/*", |
| 47 | "//components/user_manager/*", |
tfarina | d016bd2 | 2015-06-26 18:19:21 | [diff] [blame] | 48 | "//components/user_prefs/*", |
tfarina | 0c06ad6 | 2015-07-08 01:50:55 | [diff] [blame] | 49 | "//components/variations/*", |
| 50 | "//components/wallpaper/*", |
tfarina | 224aefb | 2015-07-29 14:38:44 | [diff] [blame^] | 51 | "//components/web_cache/*", |
tfarina | a6fc3a2 | 2015-06-17 15:00:54 | [diff] [blame] | 52 | "//components/webcrypto/*", |
tfarina | 224aefb | 2015-07-29 14:38:44 | [diff] [blame^] | 53 | "//components/web_modal/*", |
| 54 | "//components/webdata/*", |
| 55 | "//components/webdata_services/*", |
tfarina | 3de8194 | 2015-06-12 13:54:49 | [diff] [blame] | 56 | |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 57 | #"//content/*", # A whole lot of errors. |
| 58 | "//courgette/*", |
| 59 | "//crypto/*", |
| 60 | "//data/*", |
| 61 | "//dbus/*", |
reillyg | 279c98b1 | 2015-06-24 06:20:29 | [diff] [blame] | 62 | |
| 63 | #"//device/*", # Ran into http://crbug.com/500761 adding dbus dependency |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 64 | |
| 65 | #"//extensions/*", # Lots of errors. |
| 66 | #"//gin/*", # Easy. |
tfarina | 9ee68196 | 2015-03-02 03:20:13 | [diff] [blame] | 67 | "//google_apis/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 68 | "//google_update/*", |
| 69 | |
| 70 | #"//gpu/*", # Lots of errors. |
tfarina | f8972243 | 2015-05-15 19:30:19 | [diff] [blame] | 71 | "//gpu:*", |
| 72 | |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 73 | #"//ios/*", |
brettw | e75311d | 2015-02-17 23:56:46 | [diff] [blame] | 74 | "//ipc/*", |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 75 | |
| 76 | #"//jingle/*", |
| 77 | #"//media/*", # Lots of errors. |
sky | 71c3f2b | 2015-07-23 22:27:19 | [diff] [blame] | 78 | "mojo/android/*", |
| 79 | "mojo/application/*", |
| 80 | "mojo/build/*", |
| 81 | "mojo/cc/*", |
sky | 393104d5 | 2015-07-27 22:24:50 | [diff] [blame] | 82 | |
| 83 | # TODO(sky): resolve this. |
| 84 | # "mojo/common/*", |
sky | 71c3f2b | 2015-07-23 22:27:19 | [diff] [blame] | 85 | "mojo/converters/*", |
| 86 | "mojo/environment/*", |
| 87 | |
| 88 | # TODO(sky): resolve this. |
| 89 | # "mojo/gles2/*", |
| 90 | "mojo/gpu/*", |
| 91 | "mojo/nacl/*", |
| 92 | |
| 93 | # TODO(sky): resolve this. |
| 94 | # "mojo/platform_handle/*", |
| 95 | "mojo/public/*", |
| 96 | "mojo/runner/*", |
| 97 | "mojo/services/*", |
| 98 | "mojo/shell/*", |
| 99 | "mojo/test/*", |
| 100 | "mojo/tools/*", |
| 101 | "mojo/util/*", |
sky | d412f6e | 2015-07-22 17:22:13 | [diff] [blame] | 102 | |
brettw | bc44c0a9 | 2015-02-20 22:30:39 | [diff] [blame] | 103 | #"//native_client/*", |
| 104 | #"//net/*", # Needs GN binary changes to work on Android. |
| 105 | |
| 106 | #"//pdf/*", # Medium-hard. |
| 107 | #"//ppapi/*", # Lots of errors. |
| 108 | "//printing/*", |
| 109 | |
| 110 | #"//remoting/*", # Medium-hard. |
| 111 | #"//rlz/*", # Needs checking on Windows. |
| 112 | #"//sandbox/*", # Medium-hard. |
| 113 | "//sdch/*", |
| 114 | "//skia/*", |
| 115 | "//sql/*", |
| 116 | "//storage/*", |
| 117 | "//sync/*", |
| 118 | "//testing/*", |
| 119 | |
| 120 | #"//third_party/*", # May not ever want this. |
| 121 | "//tools/*", |
| 122 | |
| 123 | #"//ui/*", # Just a few problems. |
| 124 | "//url/*", |
| 125 | "//v8/*", |
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 = [ |
| 132 | "//ash/BUILD.gn", |
| 133 | "//build/config/android/BUILD.gn", |
| 134 | "//build/config/android/config.gni", |
| 135 | "//build/config/android/internal_rules.gni", |
| 136 | "//build/config/android/rules.gni", |
| 137 | "//build/config/compiler/BUILD.gn", |
| 138 | "//build/config/gcc/gcc_version.gni", |
| 139 | "//build/config/ios/ios_sdk.gni", |
| 140 | "//build/config/linux/BUILD.gn", |
| 141 | "//build/config/linux/pkg_config.gni", |
| 142 | "//build/config/mac/mac_sdk.gni", |
| 143 | "//build/config/win/visual_studio_version.gni", |
| 144 | "//build/gn_helpers.py", |
| 145 | "//build/gypi_to_gn.py", |
| 146 | "//build/toolchain/gcc_toolchain.gni", |
| 147 | "//build/toolchain/mac/BUILD.gn", |
| 148 | "//build/toolchain/win/BUILD.gn", |
brettw | 983c0562 | 2015-07-22 04:26:49 | [diff] [blame] | 149 | "//build/util/version.gni", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 150 | "//chrome/android/BUILD.gn", |
| 151 | "//chrome/browser/BUILD.gn", |
| 152 | "//chrome/browser/chromeos/BUILD.gn", |
| 153 | "//chrome/browser/extensions/BUILD.gn", |
plundblad | 70028e5c | 2015-07-09 09:01:05 | [diff] [blame] | 154 | "//chrome/browser/resources/chromeos/chromevox/BUILD.gn", |
imcheng | b6b09239f | 2015-05-15 21:41:55 | [diff] [blame] | 155 | "//chrome/browser/media/router/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 156 | "//chrome/browser/ui/BUILD.gn", |
| 157 | "//chrome/chrome_tests.gni", |
| 158 | "//chrome/common/BUILD.gn", |
| 159 | "//chrome/common/extensions/api/schemas.gni", |
| 160 | "//chrome/renderer/BUILD.gn", |
| 161 | "//chrome/test/BUILD.gn", |
| 162 | "//chrome/utility/BUILD.gn", |
| 163 | "//chromeos/BUILD.gn", |
dgn | 47095171 | 2015-04-07 10:37:47 | [diff] [blame] | 164 | |
| 165 | # TODO(dgn): Layer violation but breaks the build otherwise, see |
| 166 | # https://crbug.com/474506 |
| 167 | "//clank/java/BUILD.gn", |
Newton Allen | 68f14da | 2015-06-17 20:48:34 | [diff] [blame] | 168 | "//clank/native/BUILD.gn", |
dgn | 47095171 | 2015-04-07 10:37:47 | [diff] [blame] | 169 | |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 170 | "//components/domain_reliability/BUILD.gn", |
jochen | 83c639f0 | 2015-04-22 17:07:37 | [diff] [blame] | 171 | "//components/scheduler/scheduler.gni", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 172 | "//content/browser/browser.gni", |
| 173 | "//content/child/child.gni", |
| 174 | "//content/common/common.gni", |
| 175 | "//content/content.gni", |
| 176 | "//content/public/android/BUILD.gn", |
| 177 | "//content/renderer/renderer.gni", |
| 178 | "//content/test/BUILD.gn", |
rockot | 7b6128a | 2015-05-18 20:18:00 | [diff] [blame] | 179 | "//content/utility/utility.gni", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 180 | "//extensions/common/api/schemas.gni", |
| 181 | "//extensions/extensions.gni", |
| 182 | "//extensions/shell/app_shell.gni", |
| 183 | "//extensions/shell/common/api/schemas.gni", |
| 184 | "//google_apis/BUILD.gn", |
| 185 | "//gpu/gles2_conform_support/BUILD.gn", |
| 186 | "//jingle/BUILD.gn", |
| 187 | "//native_client/build/toolchain/gcc_toolchain.gni", |
| 188 | "//native_client/build/toolchain/nacl/BUILD.gn", |
| 189 | "//native_client/build/config/android/BUILD.gn", |
| 190 | "//native_client/build/config/gcc/gcc_version.gni", |
| 191 | "//native_client/build/config/ios/ios_sdk.gni", |
| 192 | "//native_client/build/config/linux/BUILD.gn", |
| 193 | "//native_client/build/config/linux/pkg_config.gni", |
| 194 | "//native_client/build/config/mac/mac_sdk.gni", |
| 195 | "//native_client/build/config/win/visual_studio_version.gni", |
| 196 | "//native_client/build/toolchain/gcc_toolchain.gni", |
| 197 | "//native_client/build/toolchain/mac/BUILD.gn", |
| 198 | "//native_client/build/toolchain/nacl/BUILD.gn", |
| 199 | "//native_client/build/toolchain/win/BUILD.gn", |
| 200 | "//net/BUILD.gn", |
| 201 | "//ppapi/ppapi_sources.gni", |
| 202 | "//printing/BUILD.gn", |
| 203 | "//remoting/host/BUILD.gn", |
| 204 | "//remoting/remoting_srcs.gni", |
| 205 | "//remoting/remoting_version.gni", |
| 206 | "//skia/BUILD.gn", |
| 207 | "//third_party/android_platform/BUILD.gn", |
| 208 | "//third_party/angle/BUILD.gn", |
| 209 | "//third_party/boringssl/BUILD.gn", |
| 210 | "//third_party/cld_2/BUILD.gn", |
| 211 | "//third_party/cython/rules.gni", |
| 212 | "//third_party/google_input_tools/inputview.gni", |
| 213 | "//third_party/harfbuzz-ng/BUILD.gn", |
| 214 | "//third_party/libaddressinput/BUILD.gn", |
| 215 | "//third_party/opus/BUILD.gn", |
dsinclair | 052d25e | 2015-07-01 12:52:33 | [diff] [blame] | 216 | "//third_party/trace-viewer/tracing/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 217 | "//third_party/WebKit/Source/bindings/bindings.gni", |
| 218 | "//third_party/WebKit/Source/bindings/scripts/scripts.gni", |
| 219 | "//third_party/WebKit/Source/config.gni", |
| 220 | "//third_party/WebKit/Source/core/core.gni", |
| 221 | "//third_party/WebKit/Source/devtools/BUILD.gn", |
| 222 | "//third_party/WebKit/Source/modules/modules.gni", |
| 223 | "//third_party/WebKit/Source/platform/BUILD.gn", |
| 224 | "//third_party/WebKit/Source/platform/platform.gni", |
| 225 | "//third_party/WebKit/Source/web/BUILD.gn", |
| 226 | "//third_party/WebKit/Source/wtf/BUILD.gn", |
| 227 | "//tools/gn/BUILD.gn", |
| 228 | "//tools/gn/build_settings.h", |
| 229 | "//tools/gn/command_help.cc", |
| 230 | "//tools/gn/docs/language.md", |
| 231 | "//tools/gn/format_test_data/053.gn", |
| 232 | "//tools/gn/format_test_data/053.golden", |
| 233 | "//tools/gn/format_test_data/055.gn", |
| 234 | "//tools/gn/format_test_data/055.golden", |
| 235 | "//tools/gn/function_exec_script.cc", |
| 236 | "//tools/gn/gn.gyp", |
| 237 | "//tools/gn/input_conversion.cc", |
| 238 | "//tools/gn/misc/emacs/gn.el", |
| 239 | "//tools/gn/misc/vim/syntax/gn.vim", |
| 240 | "//tools/gn/setup.cc", |
lionel.g.landwerlin | 991e92d7 | 2015-07-09 08:46:25 | [diff] [blame] | 241 | "//ui/accessibility/BUILD.gn", |
brettw | ed99f7b | 2015-04-07 00:22:50 | [diff] [blame] | 242 | "//ui/views/BUILD.gn", |
| 243 | ] |