blob: 78fb79a7d654a4f8944d4ed9f331ccba01de9c0d [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/*",
brettw41ac3412015-10-22 07:35:3061
brettweab63a52015-10-22 23:47:3662 #"//components/crash/*", TODO(brettw) once conflicting patches are landed.
brettw41ac3412015-10-22 07:35:3063 "//components/cronet/*",
64 "//components/crx_file/*",
brettweab63a52015-10-22 23:47:3665 "//components/data_reduction_proxy",
66 "//components/data_usage",
67 "//components/data_use_measurement",
68 "//components/device_event_log",
69 "//components/devtools_discovery",
70 "//components/devtools_http_handler",
71 "//components/devtools_service",
72 "//components/dom_distiller",
73
74 #"//components/domain_reliability", # TODO(brettw) gn gets confused by generated .cc file.
75 "//components/drive",
76 "//components/enhanced_bookmarks",
77 "//components/error_page",
78 "//components/external_video_surface",
79 "//components/favicon",
80 "//components/favicon_base",
81 "//components/feedback",
82 "//components/filesystem",
83 "//components/flags_ui",
84 "//components/font_service",
brettw41ac3412015-10-22 07:35:3085
tfarinac312b422015-07-21 18:17:5286 "//components/google/*",
sky8131b222015-08-14 17:47:3587 "//components/history/*",
dprankeb218d912015-09-18 19:07:0088
89 # TODO(dpranke): Reenable once v8 exports v8_base as a public_dep
90 #"//components/html_viewer/*",
91
fsamuel80ad9502015-09-14 22:10:1792 "//components/mus/*",
tfarinac312b422015-07-21 18:17:5293 "//components/omnibox/*",
brettw6889e5322015-10-23 08:04:3294
95 # TODO(brettw) gap here.
tfarinad016bd22015-06-26 18:19:2196 "//components/os_crypt/*",
brettw6889e5322015-10-23 08:04:3297
98 #"//components/ownership/*",
99 #"//components/packed_ct_ev_whitelist/*",
100 #"//components/page_load_metrics/*",
101 #"//components/pairing/*",
102 #"//components/password_manager/*",
103 #"//components/pdf/*",
104 #"//components/pdf_viewer/*",
105 #"//components/plugins/*",
106 #"//components/policy/*",
107 #"//components/power/*",
108 #"//components/precache/*",
tfarinadfa9bd72015-06-15 16:49:34109 "//components/pref_registry/*",
brettw6889e5322015-10-23 08:04:32110
111 #"//components/printing/*",
112 #"//components/proximity_auth/*",
113 #"//components/proxy_config/*",
114 #"//components/query_parser/*",
115 #"//components/rappor/*",
116 #"//components/renderer_context_menu/*",
117 #"//components/resource_provider/*",
118 #"//components/resources/*",
119 #"//components/rlz/*",
120 #"//components/safe_json/*",
121 #"//components/scheduler/*",
122 #"//components/search/*",
123 #"//components/search_engines/*",
124 #"//components/search_provider_logos/*",
125 #"//components/security_interstitials/*",
126 #"//components/service_tab_launcher/*",
127 #"//components/session_manager/*",
128 #"//components/sessions/*",
129 #"//components/signin/*",
130 #"//components/ssl_config/*",
131 #"//components/ssl_errors/*",
132 "//components/startup_metric_utils/*",
133 "//components/storage_monitor/*",
134 "//components/strings/*",
135 "//components/suggestions/*",
136 "//components/sync_bookmarks/*",
137 "//components/sync_driver/*",
138 "//components/sync_sessions/*",
139 "//components/syncable_prefs/*",
140 "//components/test/*",
141 "//components/test_runner/*",
142 "//components/timers/*",
143 "//components/toolbar/*",
144 "//components/tools/*",
145 "//components/tracing/*",
brettw3ceb2d9e2015-10-16 05:33:05146 "//components/translate/*",
147 "//components/ui/*",
tfarinaa6fc3a22015-06-17 15:00:54148 "//components/undo/*",
tfarina0c06ad62015-07-08 01:50:55149 "//components/update_client/*",
brettw3ceb2d9e2015-10-16 05:33:05150 "//components/upload_list/*",
rsleevi24f64dc22015-08-07 21:39:21151 "//components/url_formatter/*",
tfarina0c06ad62015-07-08 01:50:55152 "//components/url_matcher/*",
153 "//components/user_manager/*",
tfarinad016bd22015-06-26 18:19:21154 "//components/user_prefs/*",
tfarina0c06ad62015-07-08 01:50:55155 "//components/variations/*",
brettw3ceb2d9e2015-10-16 05:33:05156 "//components/visitedlink/*",
tfarina0c06ad62015-07-08 01:50:55157 "//components/wallpaper/*",
tfarina224aefb2015-07-29 14:38:44158 "//components/web_cache/*",
tfarina224aefb2015-07-29 14:38:44159 "//components/web_modal/*",
brettw3ceb2d9e2015-10-16 05:33:05160 "//components/web_resource/*",
sky919ca822015-09-03 23:55:18161 "//components/web_view/*",
brettw3ceb2d9e2015-10-16 05:33:05162 "//components/webcrypto/*",
tfarina224aefb2015-07-29 14:38:44163 "//components/webdata/*",
164 "//components/webdata_services/*",
brettw3ceb2d9e2015-10-16 05:33:05165 "//components/webp_transcode/*",
166 "//components/webui_generator/*",
167 "//components/webusb/*",
168 "//components/wifi/*",
tfarina3de81942015-06-12 13:54:49169
brettwbc44c0a92015-02-20 22:30:39170 #"//content/*", # A whole lot of errors.
brettwf986f9572015-10-07 17:18:15171 "//content/public/common:result_codes",
brettw70b359a2015-10-14 23:43:23172 "//content/public/common:static_switches",
brettwbc44c0a92015-02-20 22:30:39173 "//courgette/*",
174 "//crypto/*",
175 "//data/*",
176 "//dbus/*",
reillyg279c98b12015-06-24 06:20:29177
178 #"//device/*", # Ran into http://crbug.com/500761 adding dbus dependency
brettwbc44c0a92015-02-20 22:30:39179
180 #"//extensions/*", # Lots of errors.
181 #"//gin/*", # Easy.
tfarina9ee681962015-03-02 03:20:13182 "//google_apis/*",
brettwbc44c0a92015-02-20 22:30:39183 "//google_update/*",
184
185 #"//gpu/*", # Lots of errors.
tfarinaf89722432015-05-15 19:30:19186 "//gpu:*",
187
brettwbc44c0a92015-02-20 22:30:39188 #"//ios/*",
brettwe75311d2015-02-17 23:56:46189 "//ipc/*",
brettwbc44c0a92015-02-20 22:30:39190
191 #"//jingle/*",
sky88d7709e2015-08-12 19:19:49192 "//mandoline/*",
193
brettwbc44c0a92015-02-20 22:30:39194 #"//media/*", # Lots of errors.
sky343931432015-08-10 19:22:19195 "mojo/*",
skyd412f6e2015-07-22 17:22:13196
brettwbc44c0a92015-02-20 22:30:39197 #"//native_client/*",
198 #"//net/*", # Needs GN binary changes to work on Android.
199
200 #"//pdf/*", # Medium-hard.
201 #"//ppapi/*", # Lots of errors.
202 "//printing/*",
203
204 #"//remoting/*", # Medium-hard.
205 #"//rlz/*", # Needs checking on Windows.
206 #"//sandbox/*", # Medium-hard.
207 "//sdch/*",
208 "//skia/*",
209 "//sql/*",
210 "//storage/*",
211 "//sync/*",
212 "//testing/*",
213
214 #"//third_party/*", # May not ever want this.
215 "//tools/*",
216
217 #"//ui/*", # Just a few problems.
218 "//url/*",
219 "//v8/*",
brettwe75311d2015-02-17 23:56:46220]
brettwed99f7b2015-04-07 00:22:50221
222# These are the list of GN files that run exec_script. This whitelist exists
223# to force additional review for new uses of exec_script, which is strongly
224# discouraged except for gypi_to_gn calls.
225exec_script_whitelist = [
226 "//ash/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50227 "//build/config/android/config.gni",
228 "//build/config/android/internal_rules.gni",
229 "//build/config/android/rules.gni",
230 "//build/config/compiler/BUILD.gn",
231 "//build/config/gcc/gcc_version.gni",
232 "//build/config/ios/ios_sdk.gni",
233 "//build/config/linux/BUILD.gn",
234 "//build/config/linux/pkg_config.gni",
235 "//build/config/mac/mac_sdk.gni",
brettw888b65f2015-10-02 18:00:23236 "//build/config/posix/BUILD.gn",
Nico Weber8091cf92015-09-28 09:44:35237 "//build/config/win/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50238 "//build/config/win/visual_studio_version.gni",
239 "//build/gn_helpers.py",
240 "//build/gypi_to_gn.py",
dprankead0c1f42015-08-28 21:48:04241 "//build/linux/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50242 "//build/toolchain/gcc_toolchain.gni",
243 "//build/toolchain/mac/BUILD.gn",
dprankefa6ffe2f2015-08-31 20:17:52244 "//build/toolchain/nacl/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50245 "//build/toolchain/win/BUILD.gn",
brettw983c05622015-07-22 04:26:49246 "//build/util/version.gni",
brettwed99f7b2015-04-07 00:22:50247 "//chrome/android/BUILD.gn",
248 "//chrome/browser/BUILD.gn",
249 "//chrome/browser/chromeos/BUILD.gn",
250 "//chrome/browser/extensions/BUILD.gn",
plundblad70028e5c2015-07-09 09:01:05251 "//chrome/browser/resources/chromeos/chromevox/BUILD.gn",
imchengb6b09239f2015-05-15 21:41:55252 "//chrome/browser/media/router/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50253 "//chrome/browser/ui/BUILD.gn",
254 "//chrome/chrome_tests.gni",
255 "//chrome/common/BUILD.gn",
256 "//chrome/common/extensions/api/schemas.gni",
257 "//chrome/renderer/BUILD.gn",
258 "//chrome/test/BUILD.gn",
259 "//chrome/utility/BUILD.gn",
260 "//chromeos/BUILD.gn",
dgn470951712015-04-07 10:37:47261
262 # TODO(dgn): Layer violation but breaks the build otherwise, see
263 # https://crbug.com/474506
264 "//clank/java/BUILD.gn",
Newton Allen68f14da2015-06-17 20:48:34265 "//clank/native/BUILD.gn",
dgn470951712015-04-07 10:37:47266
brettwed99f7b2015-04-07 00:22:50267 "//components/domain_reliability/BUILD.gn",
jochen83c639f02015-04-22 17:07:37268 "//components/scheduler/scheduler.gni",
brettwed99f7b2015-04-07 00:22:50269 "//content/browser/browser.gni",
270 "//content/child/child.gni",
271 "//content/common/common.gni",
272 "//content/content.gni",
273 "//content/public/android/BUILD.gn",
274 "//content/renderer/renderer.gni",
275 "//content/test/BUILD.gn",
rockot7b6128a2015-05-18 20:18:00276 "//content/utility/utility.gni",
brettwed99f7b2015-04-07 00:22:50277 "//extensions/common/api/schemas.gni",
278 "//extensions/extensions.gni",
279 "//extensions/shell/app_shell.gni",
280 "//extensions/shell/common/api/schemas.gni",
281 "//google_apis/BUILD.gn",
282 "//gpu/gles2_conform_support/BUILD.gn",
283 "//jingle/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50284 "//net/BUILD.gn",
285 "//ppapi/ppapi_sources.gni",
286 "//printing/BUILD.gn",
287 "//remoting/host/BUILD.gn",
288 "//remoting/remoting_srcs.gni",
289 "//remoting/remoting_version.gni",
290 "//skia/BUILD.gn",
291 "//third_party/android_platform/BUILD.gn",
292 "//third_party/angle/BUILD.gn",
cwallez4c57af32015-09-03 14:54:49293 "//third_party/angle/src/tests/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50294 "//third_party/boringssl/BUILD.gn",
sullivan0cf87672015-08-04 17:10:32295 "//third_party/catapult/tracing/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50296 "//third_party/cld_2/BUILD.gn",
297 "//third_party/cython/rules.gni",
298 "//third_party/google_input_tools/inputview.gni",
299 "//third_party/harfbuzz-ng/BUILD.gn",
300 "//third_party/libaddressinput/BUILD.gn",
301 "//third_party/opus/BUILD.gn",
302 "//third_party/WebKit/Source/bindings/bindings.gni",
303 "//third_party/WebKit/Source/bindings/scripts/scripts.gni",
304 "//third_party/WebKit/Source/config.gni",
305 "//third_party/WebKit/Source/core/core.gni",
306 "//third_party/WebKit/Source/devtools/BUILD.gn",
307 "//third_party/WebKit/Source/modules/modules.gni",
308 "//third_party/WebKit/Source/platform/BUILD.gn",
309 "//third_party/WebKit/Source/platform/platform.gni",
310 "//third_party/WebKit/Source/web/BUILD.gn",
311 "//third_party/WebKit/Source/wtf/BUILD.gn",
mcasas4337d5d32015-09-14 22:43:02312 "//third_party/WebKit/public/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50313 "//tools/gn/BUILD.gn",
314 "//tools/gn/build_settings.h",
315 "//tools/gn/command_help.cc",
316 "//tools/gn/docs/language.md",
317 "//tools/gn/format_test_data/053.gn",
318 "//tools/gn/format_test_data/053.golden",
319 "//tools/gn/format_test_data/055.gn",
320 "//tools/gn/format_test_data/055.golden",
321 "//tools/gn/function_exec_script.cc",
322 "//tools/gn/gn.gyp",
323 "//tools/gn/input_conversion.cc",
324 "//tools/gn/misc/emacs/gn.el",
325 "//tools/gn/misc/vim/syntax/gn.vim",
326 "//tools/gn/setup.cc",
lionel.g.landwerlin991e92d72015-07-09 08:46:25327 "//ui/accessibility/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50328 "//ui/views/BUILD.gn",
329]