blob: 6f793ba20562a43c1ce39c18f7813b1c43fb6f05 [file] [log] [blame]
brettw2bafab42014-11-27 18:36:171# 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]96ea63d2013-07-30 10:17:074
5# The location of the build configuration file.
6buildconfig = "//build/config/BUILDCONFIG.gn"
7
8# The secondary source root is a parallel directory tree where
scheibec4b3a42014-09-18 21:50:139# 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]26688b86e2014-06-19 13:14:2611secondary_source = "//build/secondary/"
brettw2bafab42014-11-27 18:36:1712
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".
brettwe75311d2015-02-17 23:56:4617check_targets = [
brettwbc44c0a92015-02-20 22:30:3918 #"//apps/*", # Medium-hard.
19 #"//ash/*", # Medium-hard.
brettw41ac3412015-10-22 07:35:3020 #"//base/*", # Minor work on Windows.
brettwbc44c0a92015-02-20 22:30:3921 "//blink/*",
22 "//breakpad/*",
23 "//build/*",
brettwe75311d2015-02-17 23:56:4624 "//cc/*",
brettwbc44c0a92015-02-20 22:30:3925
26 #"//chrome/*", # Epic number of errors.
brettw0b9c96b12015-10-15 23:06:0427 "//chrome/common/*",
brettwf986f9572015-10-07 17:18:1528 "//chrome/installer/*",
brettw0b9c96b12015-10-15 23:06:0429 "//chrome/third_party/mozilla_security_manager/*",
brettwbc44c0a92015-02-20 22:30:3930 "//chromecast/*",
binjin41efe082015-02-23 12:34:5031
32 # TODO(brettw): Fix http://crbug.com/460828 and uncomment the following
33 # line.
34 #"//chrome_elf/*",
brettw70b359a2015-10-14 23:43:2335 #"//cloud_print/*",
brettwbc44c0a92015-02-20 22:30:3936
37 #"//components/*", # Lots of errors.
brettw41ac3412015-10-22 07:35:3038 "//components/about_handler/*",
39 "//components/about_ui/*",
tfarina4a0c594882015-07-02 14:39:4140 "//components/app_modal/*",
brettw41ac3412015-10-22 07:35:3041 "//components/audio_modem/*",
jackhoucfa39022015-06-24 00:19:0142 "//components/autofill/*",
brettw41ac3412015-10-22 07:35:3043 "//components/auto_login_parser/*",
tfarina3de81942015-06-12 13:54:4944 "//components/bookmarks/*",
brettw41ac3412015-10-22 07:35:3045 "//components/browser_watcher/*",
46 "//components/browsing_data/*",
47 "//components/bubble/*",
48 "//components/captive_portal/*",
49 "//components/cdm/*",
50 "//components/certificate_reporting/*",
51 "//components/certificate_transparency/*",
52 "//components/chrome_apps/*",
53 "//components/clipboard/*",
54 "//components/cloud_devices/*",
55 "//components/component_updater/*",
56 "//components/compression/*",
57 "//components/constrained_window/*",
brettweab63a52015-10-22 23:47:3658 "//components/content_settings/*",
59 "//components/cookie_config/*",
60 "//components/copresence/*",
dprankedd9600d2015-10-30 00:05:2161 "//components/crash/*",
brettw41ac3412015-10-22 07:35:3062 "//components/cronet/*",
63 "//components/crx_file/*",
brettw5b700b02015-10-24 00:20:2064 "//components/data_reduction_proxy/*",
65 "//components/data_usage/*",
66 "//components/data_use_measurement/*",
67 "//components/device_event_log/*",
68 "//components/devtools_discovery/*",
69 "//components/devtools_http_handler/*",
70 "//components/devtools_service/*",
brettweab63a52015-10-22 23:47:3671
brettw5b700b02015-10-24 00:20:2072 # There are some Android problems where the jni_registrar referenced from
73 # core includes stuff from the content version of the dom_distiller.
74 #"//components/dom_distiller/*",
brettw41ac3412015-10-22 07:35:3075
brettw5b700b02015-10-24 00:20:2076 #"//components/domain_reliability/*", # TODO(brettw) gn gets confused by generated .cc file.
77 "//components/drive/*",
78 "//components/enhanced_bookmarks/*",
79 "//components/error_page/*",
80 "//components/external_video_surface/*",
81 "//components/favicon/*",
82 "//components/favicon_base/*",
83 "//components/feedback/*",
84 "//components/filesystem/*",
85 "//components/flags_ui/*",
86 "//components/font_service/*",
87
88 #"//components/gcm_driver/*",
tfarinac312b422015-07-21 18:17:5289 "//components/google/*",
brettw5b700b02015-10-24 00:20:2090
91 #"//components/gpu/*",
92 #"//components/guest_view/*",
93 #"//components/handoff/*",
sky8131b222015-08-14 17:47:3594 "//components/history/*",
brettw5b700b02015-10-24 00:20:2095 "//components/html_viewer/*",
dprankeb218d912015-09-18 19:07:0096
brettw5b700b02015-10-24 00:20:2097 #"//components/infobars/*",
98 #"//components/invalidation/*",
99 #"//components/json_schema/*",
100 #"//components/keyed_service/*",
101 #"//components/language_usage_metrics/*",
102 #"//components/leveldb_proto/*",
103 #"//components/login/*",
104 #"//components/memory_pressure/*",
105 #"//components/message_port/*",
106 #"//components/metrics/*",
107 #"//components/metrics_services_manager/*",
108 #"//components/mime_util/*",
sky70a066a2015-11-02 19:53:07109 "//components/mus/*",
110
brettw5b700b02015-10-24 00:20:20111 #"//components/nacl/*",
112 #"//components/navigation_interception/*",
113 #"//components/navigation_metrics/*",
tfarinae5723872015-11-03 18:16:47114 "//components/net_log/*",
brettw5b700b02015-10-24 00:20:20115 #"//components/network_hints/*",
tfarinae5723872015-11-03 18:16:47116 "//components/network_time/*",
brettw5b700b02015-10-24 00:20:20117 #"//components/offline_pages/*",
118 #"//components/omnibox/*",
119 #"//components/onc/*",
120 #"//components/open_from_clipboard/*",
121 #"//components/os_crypt/*",
brettw6889e5322015-10-23 08:04:32122
123 #"//components/ownership/*",
124 #"//components/packed_ct_ev_whitelist/*",
125 #"//components/page_load_metrics/*",
126 #"//components/pairing/*",
127 #"//components/password_manager/*",
128 #"//components/pdf/*",
129 #"//components/pdf_viewer/*",
130 #"//components/plugins/*",
131 #"//components/policy/*",
132 #"//components/power/*",
133 #"//components/precache/*",
tfarinadfa9bd72015-06-15 16:49:34134 "//components/pref_registry/*",
brettw6889e5322015-10-23 08:04:32135
136 #"//components/printing/*",
137 #"//components/proximity_auth/*",
138 #"//components/proxy_config/*",
139 #"//components/query_parser/*",
140 #"//components/rappor/*",
141 #"//components/renderer_context_menu/*",
142 #"//components/resource_provider/*",
143 #"//components/resources/*",
144 #"//components/rlz/*",
145 #"//components/safe_json/*",
146 #"//components/scheduler/*",
147 #"//components/search/*",
148 #"//components/search_engines/*",
149 #"//components/search_provider_logos/*",
150 #"//components/security_interstitials/*",
151 #"//components/service_tab_launcher/*",
152 #"//components/session_manager/*",
153 #"//components/sessions/*",
154 #"//components/signin/*",
155 #"//components/ssl_config/*",
156 #"//components/ssl_errors/*",
157 "//components/startup_metric_utils/*",
158 "//components/storage_monitor/*",
159 "//components/strings/*",
160 "//components/suggestions/*",
161 "//components/sync_bookmarks/*",
162 "//components/sync_driver/*",
163 "//components/sync_sessions/*",
164 "//components/syncable_prefs/*",
165 "//components/test/*",
166 "//components/test_runner/*",
167 "//components/timers/*",
168 "//components/toolbar/*",
169 "//components/tools/*",
170 "//components/tracing/*",
brettw3ceb2d9e2015-10-16 05:33:05171 "//components/translate/*",
172 "//components/ui/*",
tfarinaa6fc3a22015-06-17 15:00:54173 "//components/undo/*",
tfarina0c06ad62015-07-08 01:50:55174 "//components/update_client/*",
brettw3ceb2d9e2015-10-16 05:33:05175 "//components/upload_list/*",
rsleevi24f64dc22015-08-07 21:39:21176 "//components/url_formatter/*",
tfarina0c06ad62015-07-08 01:50:55177 "//components/url_matcher/*",
178 "//components/user_manager/*",
tfarinad016bd22015-06-26 18:19:21179 "//components/user_prefs/*",
tfarina0c06ad62015-07-08 01:50:55180 "//components/variations/*",
brettw3ceb2d9e2015-10-16 05:33:05181 "//components/visitedlink/*",
tfarina0c06ad62015-07-08 01:50:55182 "//components/wallpaper/*",
tfarina224aefb2015-07-29 14:38:44183 "//components/web_cache/*",
tfarina224aefb2015-07-29 14:38:44184 "//components/web_modal/*",
brettw3ceb2d9e2015-10-16 05:33:05185 "//components/web_resource/*",
sky919ca822015-09-03 23:55:18186 "//components/web_view/*",
brettw3ceb2d9e2015-10-16 05:33:05187 "//components/webcrypto/*",
tfarina224aefb2015-07-29 14:38:44188 "//components/webdata/*",
189 "//components/webdata_services/*",
brettw3ceb2d9e2015-10-16 05:33:05190 "//components/webp_transcode/*",
191 "//components/webui_generator/*",
192 "//components/webusb/*",
193 "//components/wifi/*",
tfarina3de81942015-06-12 13:54:49194
brettwbc44c0a92015-02-20 22:30:39195 #"//content/*", # A whole lot of errors.
brettwf986f9572015-10-07 17:18:15196 "//content/public/common:result_codes",
brettw70b359a2015-10-14 23:43:23197 "//content/public/common:static_switches",
brettwbc44c0a92015-02-20 22:30:39198 "//courgette/*",
199 "//crypto/*",
200 "//data/*",
201 "//dbus/*",
reillyg279c98b12015-06-24 06:20:29202
203 #"//device/*", # Ran into http://crbug.com/500761 adding dbus dependency
brettwbc44c0a92015-02-20 22:30:39204
205 #"//extensions/*", # Lots of errors.
206 #"//gin/*", # Easy.
tfarina9ee681962015-03-02 03:20:13207 "//google_apis/*",
brettwbc44c0a92015-02-20 22:30:39208 "//google_update/*",
209
210 #"//gpu/*", # Lots of errors.
tfarinaf89722432015-05-15 19:30:19211 "//gpu:*",
212
brettwbc44c0a92015-02-20 22:30:39213 #"//ios/*",
brettwe75311d2015-02-17 23:56:46214 "//ipc/*",
brettwbc44c0a92015-02-20 22:30:39215
216 #"//jingle/*",
sky88d7709e2015-08-12 19:19:49217 "//mandoline/*",
218
brettwbc44c0a92015-02-20 22:30:39219 #"//media/*", # Lots of errors.
sky343931432015-08-10 19:22:19220 "mojo/*",
skyd412f6e2015-07-22 17:22:13221
brettwbc44c0a92015-02-20 22:30:39222 #"//native_client/*",
223 #"//net/*", # Needs GN binary changes to work on Android.
224
225 #"//pdf/*", # Medium-hard.
226 #"//ppapi/*", # Lots of errors.
227 "//printing/*",
228
229 #"//remoting/*", # Medium-hard.
230 #"//rlz/*", # Needs checking on Windows.
231 #"//sandbox/*", # Medium-hard.
232 "//sdch/*",
233 "//skia/*",
234 "//sql/*",
235 "//storage/*",
236 "//sync/*",
237 "//testing/*",
238
239 #"//third_party/*", # May not ever want this.
240 "//tools/*",
241
242 #"//ui/*", # Just a few problems.
243 "//url/*",
244 "//v8/*",
brettwe75311d2015-02-17 23:56:46245]
brettwed99f7b2015-04-07 00:22:50246
247# These are the list of GN files that run exec_script. This whitelist exists
248# to force additional review for new uses of exec_script, which is strongly
249# discouraged except for gypi_to_gn calls.
250exec_script_whitelist = [
251 "//ash/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50252 "//build/config/android/config.gni",
253 "//build/config/android/internal_rules.gni",
254 "//build/config/android/rules.gni",
255 "//build/config/compiler/BUILD.gn",
256 "//build/config/gcc/gcc_version.gni",
257 "//build/config/ios/ios_sdk.gni",
258 "//build/config/linux/BUILD.gn",
259 "//build/config/linux/pkg_config.gni",
260 "//build/config/mac/mac_sdk.gni",
brettw888b65f2015-10-02 18:00:23261 "//build/config/posix/BUILD.gn",
Nico Weber8091cf92015-09-28 09:44:35262 "//build/config/win/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50263 "//build/config/win/visual_studio_version.gni",
264 "//build/gn_helpers.py",
265 "//build/gypi_to_gn.py",
dprankead0c1f42015-08-28 21:48:04266 "//build/linux/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50267 "//build/toolchain/gcc_toolchain.gni",
268 "//build/toolchain/mac/BUILD.gn",
dprankefa6ffe2f2015-08-31 20:17:52269 "//build/toolchain/nacl/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50270 "//build/toolchain/win/BUILD.gn",
brettw983c05622015-07-22 04:26:49271 "//build/util/version.gni",
brettwed99f7b2015-04-07 00:22:50272 "//chrome/android/BUILD.gn",
273 "//chrome/browser/BUILD.gn",
274 "//chrome/browser/chromeos/BUILD.gn",
275 "//chrome/browser/extensions/BUILD.gn",
plundblad70028e5c2015-07-09 09:01:05276 "//chrome/browser/resources/chromeos/chromevox/BUILD.gn",
imchengb6b09239f2015-05-15 21:41:55277 "//chrome/browser/media/router/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50278 "//chrome/browser/ui/BUILD.gn",
279 "//chrome/chrome_tests.gni",
280 "//chrome/common/BUILD.gn",
281 "//chrome/common/extensions/api/schemas.gni",
282 "//chrome/renderer/BUILD.gn",
283 "//chrome/test/BUILD.gn",
284 "//chrome/utility/BUILD.gn",
285 "//chromeos/BUILD.gn",
dgn470951712015-04-07 10:37:47286
287 # TODO(dgn): Layer violation but breaks the build otherwise, see
288 # https://crbug.com/474506
289 "//clank/java/BUILD.gn",
Newton Allen68f14da2015-06-17 20:48:34290 "//clank/native/BUILD.gn",
dgn470951712015-04-07 10:37:47291
brettwed99f7b2015-04-07 00:22:50292 "//components/domain_reliability/BUILD.gn",
jochen83c639f02015-04-22 17:07:37293 "//components/scheduler/scheduler.gni",
brettwed99f7b2015-04-07 00:22:50294 "//content/browser/browser.gni",
295 "//content/child/child.gni",
296 "//content/common/common.gni",
297 "//content/content.gni",
298 "//content/public/android/BUILD.gn",
299 "//content/renderer/renderer.gni",
300 "//content/test/BUILD.gn",
rockot7b6128a2015-05-18 20:18:00301 "//content/utility/utility.gni",
brettwed99f7b2015-04-07 00:22:50302 "//extensions/common/api/schemas.gni",
303 "//extensions/extensions.gni",
304 "//extensions/shell/app_shell.gni",
305 "//extensions/shell/common/api/schemas.gni",
306 "//google_apis/BUILD.gn",
307 "//gpu/gles2_conform_support/BUILD.gn",
ullysses.a.eoffcfd81412015-10-29 17:04:53308 "//gpu/khronos_glcts_support/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50309 "//jingle/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50310 "//net/BUILD.gn",
311 "//ppapi/ppapi_sources.gni",
312 "//printing/BUILD.gn",
313 "//remoting/host/BUILD.gn",
314 "//remoting/remoting_srcs.gni",
315 "//remoting/remoting_version.gni",
316 "//skia/BUILD.gn",
317 "//third_party/android_platform/BUILD.gn",
318 "//third_party/angle/BUILD.gn",
cwallez4c57af32015-09-03 14:54:49319 "//third_party/angle/src/tests/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50320 "//third_party/boringssl/BUILD.gn",
sullivan0cf87672015-08-04 17:10:32321 "//third_party/catapult/tracing/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50322 "//third_party/cld_2/BUILD.gn",
323 "//third_party/cython/rules.gni",
324 "//third_party/google_input_tools/inputview.gni",
325 "//third_party/harfbuzz-ng/BUILD.gn",
326 "//third_party/libaddressinput/BUILD.gn",
327 "//third_party/opus/BUILD.gn",
328 "//third_party/WebKit/Source/bindings/bindings.gni",
329 "//third_party/WebKit/Source/bindings/scripts/scripts.gni",
330 "//third_party/WebKit/Source/config.gni",
331 "//third_party/WebKit/Source/core/core.gni",
332 "//third_party/WebKit/Source/devtools/BUILD.gn",
333 "//third_party/WebKit/Source/modules/modules.gni",
334 "//third_party/WebKit/Source/platform/BUILD.gn",
335 "//third_party/WebKit/Source/platform/platform.gni",
336 "//third_party/WebKit/Source/web/BUILD.gn",
337 "//third_party/WebKit/Source/wtf/BUILD.gn",
mcasas4337d5d32015-09-14 22:43:02338 "//third_party/WebKit/public/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50339 "//tools/gn/BUILD.gn",
340 "//tools/gn/build_settings.h",
341 "//tools/gn/command_help.cc",
342 "//tools/gn/docs/language.md",
343 "//tools/gn/format_test_data/053.gn",
344 "//tools/gn/format_test_data/053.golden",
345 "//tools/gn/format_test_data/055.gn",
346 "//tools/gn/format_test_data/055.golden",
347 "//tools/gn/function_exec_script.cc",
348 "//tools/gn/gn.gyp",
349 "//tools/gn/input_conversion.cc",
350 "//tools/gn/misc/emacs/gn.el",
351 "//tools/gn/misc/vim/syntax/gn.vim",
352 "//tools/gn/setup.cc",
lionel.g.landwerlin991e92d72015-07-09 08:46:25353 "//ui/accessibility/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50354 "//ui/views/BUILD.gn",
355]