blob: 62b55b28b7892a15e877c544a0f62227ad27931f [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.
20 #"//base/*", # Needs GN binary changes to work on Android.
21 "//blink/*",
22 "//breakpad/*",
23 "//build/*",
brettwe75311d2015-02-17 23:56:4624 "//cc/*",
brettwbc44c0a92015-02-20 22:30:3925
26 #"//chrome/*", # Epic number of errors.
brettw74a2a34f2015-05-21 04:43:4027 "//chrome/installer/*",
brettwbc44c0a92015-02-20 22:30:3928 "//chromecast/*",
binjin41efe082015-02-23 12:34:5029
30 # TODO(brettw): Fix http://crbug.com/460828 and uncomment the following
31 # line.
32 #"//chrome_elf/*",
brettwbc44c0a92015-02-20 22:30:3933 "//cloud_print/*",
34
35 #"//components/*", # Lots of errors.
tfarina4a0c594882015-07-02 14:39:4136 "//components/app_modal/*",
jackhoucfa39022015-06-24 00:19:0137 "//components/autofill/*",
tfarina3de81942015-06-12 13:54:4938 "//components/bookmarks/*",
tfarinac312b422015-07-21 18:17:5239 "//components/google/*",
sky8131b222015-08-14 17:47:3540 "//components/history/*",
sky576cb0e2015-08-10 23:38:3141 "//components/html_viewer/*",
fsamuel80ad9502015-09-14 22:10:1742 "//components/mus/*",
tfarinac312b422015-07-21 18:17:5243 "//components/omnibox/*",
tfarinad016bd22015-06-26 18:19:2144 "//components/os_crypt/*",
tfarinadfa9bd72015-06-15 16:49:3445 "//components/pref_registry/*",
tfarinaa6fc3a22015-06-17 15:00:5446 "//components/undo/*",
tfarina0c06ad62015-07-08 01:50:5547 "//components/update_client/*",
rsleevi24f64dc22015-08-07 21:39:2148 "//components/url_formatter/*",
tfarina0c06ad62015-07-08 01:50:5549 "//components/url_matcher/*",
50 "//components/user_manager/*",
tfarinad016bd22015-06-26 18:19:2151 "//components/user_prefs/*",
tfarina0c06ad62015-07-08 01:50:5552 "//components/variations/*",
53 "//components/wallpaper/*",
tfarina224aefb2015-07-29 14:38:4454 "//components/web_cache/*",
tfarinaa6fc3a22015-06-17 15:00:5455 "//components/webcrypto/*",
tfarina224aefb2015-07-29 14:38:4456 "//components/web_modal/*",
sky919ca822015-09-03 23:55:1857 "//components/web_view/*",
tfarina224aefb2015-07-29 14:38:4458 "//components/webdata/*",
59 "//components/webdata_services/*",
tfarina3de81942015-06-12 13:54:4960
brettwbc44c0a92015-02-20 22:30:3961 #"//content/*", # A whole lot of errors.
62 "//courgette/*",
63 "//crypto/*",
64 "//data/*",
65 "//dbus/*",
reillyg279c98b12015-06-24 06:20:2966
67 #"//device/*", # Ran into http://crbug.com/500761 adding dbus dependency
brettwbc44c0a92015-02-20 22:30:3968
69 #"//extensions/*", # Lots of errors.
70 #"//gin/*", # Easy.
tfarina9ee681962015-03-02 03:20:1371 "//google_apis/*",
brettwbc44c0a92015-02-20 22:30:3972 "//google_update/*",
73
74 #"//gpu/*", # Lots of errors.
tfarinaf89722432015-05-15 19:30:1975 "//gpu:*",
76
brettwbc44c0a92015-02-20 22:30:3977 #"//ios/*",
brettwe75311d2015-02-17 23:56:4678 "//ipc/*",
brettwbc44c0a92015-02-20 22:30:3979
80 #"//jingle/*",
sky88d7709e2015-08-12 19:19:4981 "//mandoline/*",
82
brettwbc44c0a92015-02-20 22:30:3983 #"//media/*", # Lots of errors.
sky343931432015-08-10 19:22:1984 "mojo/*",
skyd412f6e2015-07-22 17:22:1385
brettwbc44c0a92015-02-20 22:30:3986 #"//native_client/*",
87 #"//net/*", # Needs GN binary changes to work on Android.
88
89 #"//pdf/*", # Medium-hard.
90 #"//ppapi/*", # Lots of errors.
91 "//printing/*",
92
93 #"//remoting/*", # Medium-hard.
94 #"//rlz/*", # Needs checking on Windows.
95 #"//sandbox/*", # Medium-hard.
96 "//sdch/*",
97 "//skia/*",
98 "//sql/*",
99 "//storage/*",
100 "//sync/*",
101 "//testing/*",
102
103 #"//third_party/*", # May not ever want this.
104 "//tools/*",
105
106 #"//ui/*", # Just a few problems.
107 "//url/*",
108 "//v8/*",
brettwe75311d2015-02-17 23:56:46109]
brettwed99f7b2015-04-07 00:22:50110
111# These are the list of GN files that run exec_script. This whitelist exists
112# to force additional review for new uses of exec_script, which is strongly
113# discouraged except for gypi_to_gn calls.
114exec_script_whitelist = [
115 "//ash/BUILD.gn",
116 "//build/config/android/BUILD.gn",
117 "//build/config/android/config.gni",
118 "//build/config/android/internal_rules.gni",
119 "//build/config/android/rules.gni",
120 "//build/config/compiler/BUILD.gn",
121 "//build/config/gcc/gcc_version.gni",
122 "//build/config/ios/ios_sdk.gni",
123 "//build/config/linux/BUILD.gn",
124 "//build/config/linux/pkg_config.gni",
125 "//build/config/mac/mac_sdk.gni",
126 "//build/config/win/visual_studio_version.gni",
127 "//build/gn_helpers.py",
128 "//build/gypi_to_gn.py",
dprankead0c1f42015-08-28 21:48:04129 "//build/linux/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50130 "//build/toolchain/gcc_toolchain.gni",
131 "//build/toolchain/mac/BUILD.gn",
dprankefa6ffe2f2015-08-31 20:17:52132 "//build/toolchain/nacl/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50133 "//build/toolchain/win/BUILD.gn",
brettw983c05622015-07-22 04:26:49134 "//build/util/version.gni",
brettwed99f7b2015-04-07 00:22:50135 "//chrome/android/BUILD.gn",
136 "//chrome/browser/BUILD.gn",
137 "//chrome/browser/chromeos/BUILD.gn",
138 "//chrome/browser/extensions/BUILD.gn",
plundblad70028e5c2015-07-09 09:01:05139 "//chrome/browser/resources/chromeos/chromevox/BUILD.gn",
imchengb6b09239f2015-05-15 21:41:55140 "//chrome/browser/media/router/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50141 "//chrome/browser/ui/BUILD.gn",
142 "//chrome/chrome_tests.gni",
143 "//chrome/common/BUILD.gn",
144 "//chrome/common/extensions/api/schemas.gni",
145 "//chrome/renderer/BUILD.gn",
146 "//chrome/test/BUILD.gn",
147 "//chrome/utility/BUILD.gn",
148 "//chromeos/BUILD.gn",
dgn470951712015-04-07 10:37:47149
150 # TODO(dgn): Layer violation but breaks the build otherwise, see
151 # https://crbug.com/474506
152 "//clank/java/BUILD.gn",
Newton Allen68f14da2015-06-17 20:48:34153 "//clank/native/BUILD.gn",
dgn470951712015-04-07 10:37:47154
brettwed99f7b2015-04-07 00:22:50155 "//components/domain_reliability/BUILD.gn",
jochen83c639f02015-04-22 17:07:37156 "//components/scheduler/scheduler.gni",
brettwed99f7b2015-04-07 00:22:50157 "//content/browser/browser.gni",
158 "//content/child/child.gni",
159 "//content/common/common.gni",
160 "//content/content.gni",
161 "//content/public/android/BUILD.gn",
162 "//content/renderer/renderer.gni",
163 "//content/test/BUILD.gn",
rockot7b6128a2015-05-18 20:18:00164 "//content/utility/utility.gni",
brettwed99f7b2015-04-07 00:22:50165 "//extensions/common/api/schemas.gni",
166 "//extensions/extensions.gni",
167 "//extensions/shell/app_shell.gni",
168 "//extensions/shell/common/api/schemas.gni",
169 "//google_apis/BUILD.gn",
170 "//gpu/gles2_conform_support/BUILD.gn",
171 "//jingle/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50172 "//net/BUILD.gn",
173 "//ppapi/ppapi_sources.gni",
174 "//printing/BUILD.gn",
175 "//remoting/host/BUILD.gn",
176 "//remoting/remoting_srcs.gni",
177 "//remoting/remoting_version.gni",
178 "//skia/BUILD.gn",
179 "//third_party/android_platform/BUILD.gn",
180 "//third_party/angle/BUILD.gn",
cwallez4c57af32015-09-03 14:54:49181 "//third_party/angle/src/tests/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50182 "//third_party/boringssl/BUILD.gn",
sullivan0cf87672015-08-04 17:10:32183 "//third_party/catapult/tracing/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50184 "//third_party/cld_2/BUILD.gn",
185 "//third_party/cython/rules.gni",
186 "//third_party/google_input_tools/inputview.gni",
187 "//third_party/harfbuzz-ng/BUILD.gn",
188 "//third_party/libaddressinput/BUILD.gn",
189 "//third_party/opus/BUILD.gn",
190 "//third_party/WebKit/Source/bindings/bindings.gni",
191 "//third_party/WebKit/Source/bindings/scripts/scripts.gni",
192 "//third_party/WebKit/Source/config.gni",
193 "//third_party/WebKit/Source/core/core.gni",
194 "//third_party/WebKit/Source/devtools/BUILD.gn",
195 "//third_party/WebKit/Source/modules/modules.gni",
196 "//third_party/WebKit/Source/platform/BUILD.gn",
197 "//third_party/WebKit/Source/platform/platform.gni",
198 "//third_party/WebKit/Source/web/BUILD.gn",
199 "//third_party/WebKit/Source/wtf/BUILD.gn",
mcasas4337d5d32015-09-14 22:43:02200 "//third_party/WebKit/public/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50201 "//tools/gn/BUILD.gn",
202 "//tools/gn/build_settings.h",
203 "//tools/gn/command_help.cc",
204 "//tools/gn/docs/language.md",
205 "//tools/gn/format_test_data/053.gn",
206 "//tools/gn/format_test_data/053.golden",
207 "//tools/gn/format_test_data/055.gn",
208 "//tools/gn/format_test_data/055.golden",
209 "//tools/gn/function_exec_script.cc",
210 "//tools/gn/gn.gyp",
211 "//tools/gn/input_conversion.cc",
212 "//tools/gn/misc/emacs/gn.el",
213 "//tools/gn/misc/vim/syntax/gn.vim",
214 "//tools/gn/setup.cc",
lionel.g.landwerlin991e92d72015-07-09 08:46:25215 "//ui/accessibility/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50216 "//ui/views/BUILD.gn",
217]