blob: c09684b0c091aeaa0e0d05f6ea330fc8d9ff66d2 [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/*",
40 "//components/omnibox/*",
tfarinad016bd22015-06-26 18:19:2141 "//components/os_crypt/*",
tfarinadfa9bd72015-06-15 16:49:3442 "//components/pref_registry/*",
tfarinaa6fc3a22015-06-17 15:00:5443 "//components/undo/*",
tfarina0c06ad62015-07-08 01:50:5544 "//components/update_client/*",
45 "//components/url_fixer/*",
46 "//components/url_matcher/*",
47 "//components/user_manager/*",
tfarinad016bd22015-06-26 18:19:2148 "//components/user_prefs/*",
tfarina0c06ad62015-07-08 01:50:5549 "//components/variations/*",
50 "//components/wallpaper/*",
tfarina224aefb2015-07-29 14:38:4451 "//components/web_cache/*",
tfarinaa6fc3a22015-06-17 15:00:5452 "//components/webcrypto/*",
tfarina224aefb2015-07-29 14:38:4453 "//components/web_modal/*",
54 "//components/webdata/*",
55 "//components/webdata_services/*",
tfarina3de81942015-06-12 13:54:4956
brettwbc44c0a92015-02-20 22:30:3957 #"//content/*", # A whole lot of errors.
58 "//courgette/*",
59 "//crypto/*",
60 "//data/*",
61 "//dbus/*",
reillyg279c98b12015-06-24 06:20:2962
63 #"//device/*", # Ran into http://crbug.com/500761 adding dbus dependency
brettwbc44c0a92015-02-20 22:30:3964
65 #"//extensions/*", # Lots of errors.
66 #"//gin/*", # Easy.
tfarina9ee681962015-03-02 03:20:1367 "//google_apis/*",
brettwbc44c0a92015-02-20 22:30:3968 "//google_update/*",
69
70 #"//gpu/*", # Lots of errors.
tfarinaf89722432015-05-15 19:30:1971 "//gpu:*",
72
brettwbc44c0a92015-02-20 22:30:3973 #"//ios/*",
brettwe75311d2015-02-17 23:56:4674 "//ipc/*",
brettwbc44c0a92015-02-20 22:30:3975
76 #"//jingle/*",
77 #"//media/*", # Lots of errors.
sky71c3f2b2015-07-23 22:27:1978 "mojo/android/*",
79 "mojo/application/*",
80 "mojo/build/*",
81 "mojo/cc/*",
sky393104d52015-07-27 22:24:5082
83 # TODO(sky): resolve this.
84 # "mojo/common/*",
sky71c3f2b2015-07-23 22:27:1985 "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/*",
skyd412f6e2015-07-22 17:22:13102
brettwbc44c0a92015-02-20 22:30:39103 #"//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/*",
brettwe75311d2015-02-17 23:56:46126]
brettwed99f7b2015-04-07 00:22:50127
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.
131exec_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",
brettw983c05622015-07-22 04:26:49149 "//build/util/version.gni",
brettwed99f7b2015-04-07 00:22:50150 "//chrome/android/BUILD.gn",
151 "//chrome/browser/BUILD.gn",
152 "//chrome/browser/chromeos/BUILD.gn",
153 "//chrome/browser/extensions/BUILD.gn",
plundblad70028e5c2015-07-09 09:01:05154 "//chrome/browser/resources/chromeos/chromevox/BUILD.gn",
imchengb6b09239f2015-05-15 21:41:55155 "//chrome/browser/media/router/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50156 "//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",
dgn470951712015-04-07 10:37:47164
165 # TODO(dgn): Layer violation but breaks the build otherwise, see
166 # https://crbug.com/474506
167 "//clank/java/BUILD.gn",
Newton Allen68f14da2015-06-17 20:48:34168 "//clank/native/BUILD.gn",
dgn470951712015-04-07 10:37:47169
brettwed99f7b2015-04-07 00:22:50170 "//components/domain_reliability/BUILD.gn",
jochen83c639f02015-04-22 17:07:37171 "//components/scheduler/scheduler.gni",
brettwed99f7b2015-04-07 00:22:50172 "//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",
rockot7b6128a2015-05-18 20:18:00179 "//content/utility/utility.gni",
brettwed99f7b2015-04-07 00:22:50180 "//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",
dsinclair052d25e2015-07-01 12:52:33216 "//third_party/trace-viewer/tracing/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50217 "//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.landwerlin991e92d72015-07-09 08:46:25241 "//ui/accessibility/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50242 "//ui/views/BUILD.gn",
243]