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.
5 # The location of the build configuration file.
6 buildconfig = "//build/config/BUILDCONFIG.gn"
8 # The secondary source root is a parallel directory tree where
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.
11 secondary_source = "//build/secondary/"
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".
18 #"//apps/*", # Medium-hard.
19 #"//ash/*", # Medium-hard.
20 #"//base/*", # Needs GN binary changes to work on Android.
26 #"//chrome/*", # Epic number of errors.
27 "//chrome/installer/*",
30 # TODO(brettw): Fix http://crbug.com/460828 and uncomment the following
35 #"//components/*", # Lots of errors.
36 "//components/app_modal/*",
37 "//components/autofill/*",
38 "//components/bookmarks/*",
39 "//components/google/*",
40 "//components/omnibox/*",
41 "//components/os_crypt/*",
42 "//components/pref_registry/*",
43 "//components/undo/*",
44 "//components/update_client/*",
45 "//components/url_fixer/*",
46 "//components/url_matcher/*",
47 "//components/user_manager/*",
48 "//components/user_prefs/*",
49 "//components/variations/*",
50 "//components/wallpaper/*",
51 "//components/web_cache/*",
52 "//components/webcrypto/*",
53 "//components/web_modal/*",
54 "//components/webdata/*",
55 "//components/webdata_services/*",
57 #"//content/*", # A whole lot of errors.
63 #"//device/*", # Ran into http://crbug.com/500761 adding dbus dependency
65 #"//extensions/*", # Lots of errors.
70 #"//gpu/*", # Lots of errors.
77 #"//media/*", # Lots of errors.
86 # TODO(sky): resolve this.
89 "mojo/message_pump/*",
92 # TODO(sky): resolve this.
93 # "mojo/platform_handle/*",
102 #"//native_client/*",
103 #"//net/*", # Needs GN binary changes to work on Android.
105 #"//pdf/*", # Medium-hard.
106 #"//ppapi/*", # Lots of errors.
109 #"//remoting/*", # Medium-hard.
110 #"//rlz/*", # Needs checking on Windows.
111 #"//sandbox/*", # Medium-hard.
119 #"//third_party/*", # May not ever want this.
122 #"//ui/*", # Just a few problems.
127 # These are the list of GN files that run exec_script. This whitelist exists
128 # to force additional review for new uses of exec_script, which is strongly
129 # discouraged except for gypi_to_gn calls.
130 exec_script_whitelist = [
132 "//build/config/android/BUILD.gn",
133 "//build/config/android/config.gni",
134 "//build/config/android/internal_rules.gni",
135 "//build/config/android/rules.gni",
136 "//build/config/compiler/BUILD.gn",
137 "//build/config/gcc/gcc_version.gni",
138 "//build/config/ios/ios_sdk.gni",
139 "//build/config/linux/BUILD.gn",
140 "//build/config/linux/pkg_config.gni",
141 "//build/config/mac/mac_sdk.gni",
142 "//build/config/win/visual_studio_version.gni",
143 "//build/gn_helpers.py",
144 "//build/gypi_to_gn.py",
145 "//build/toolchain/gcc_toolchain.gni",
146 "//build/toolchain/mac/BUILD.gn",
147 "//build/toolchain/win/BUILD.gn",
148 "//build/util/version.gni",
149 "//chrome/android/BUILD.gn",
150 "//chrome/browser/BUILD.gn",
151 "//chrome/browser/chromeos/BUILD.gn",
152 "//chrome/browser/extensions/BUILD.gn",
153 "//chrome/browser/resources/chromeos/chromevox/BUILD.gn",
154 "//chrome/browser/media/router/BUILD.gn",
155 "//chrome/browser/ui/BUILD.gn",
156 "//chrome/chrome_tests.gni",
157 "//chrome/common/BUILD.gn",
158 "//chrome/common/extensions/api/schemas.gni",
159 "//chrome/renderer/BUILD.gn",
160 "//chrome/test/BUILD.gn",
161 "//chrome/utility/BUILD.gn",
162 "//chromeos/BUILD.gn",
164 # TODO(dgn): Layer violation but breaks the build otherwise, see
165 # https://crbug.com/474506
166 "//clank/java/BUILD.gn",
167 "//clank/native/BUILD.gn",
169 "//components/domain_reliability/BUILD.gn",
170 "//components/scheduler/scheduler.gni",
171 "//content/browser/browser.gni",
172 "//content/child/child.gni",
173 "//content/common/common.gni",
174 "//content/content.gni",
175 "//content/public/android/BUILD.gn",
176 "//content/renderer/renderer.gni",
177 "//content/test/BUILD.gn",
178 "//content/utility/utility.gni",
179 "//extensions/common/api/schemas.gni",
180 "//extensions/extensions.gni",
181 "//extensions/shell/app_shell.gni",
182 "//extensions/shell/common/api/schemas.gni",
183 "//google_apis/BUILD.gn",
184 "//gpu/gles2_conform_support/BUILD.gn",
186 "//native_client/build/toolchain/gcc_toolchain.gni",
187 "//native_client/build/toolchain/nacl/BUILD.gn",
188 "//native_client/build/config/android/BUILD.gn",
189 "//native_client/build/config/gcc/gcc_version.gni",
190 "//native_client/build/config/ios/ios_sdk.gni",
191 "//native_client/build/config/linux/BUILD.gn",
192 "//native_client/build/config/linux/pkg_config.gni",
193 "//native_client/build/config/mac/mac_sdk.gni",
194 "//native_client/build/config/win/visual_studio_version.gni",
195 "//native_client/build/toolchain/gcc_toolchain.gni",
196 "//native_client/build/toolchain/mac/BUILD.gn",
197 "//native_client/build/toolchain/nacl/BUILD.gn",
198 "//native_client/build/toolchain/win/BUILD.gn",
200 "//ppapi/ppapi_sources.gni",
201 "//printing/BUILD.gn",
202 "//remoting/host/BUILD.gn",
203 "//remoting/remoting_srcs.gni",
204 "//remoting/remoting_version.gni",
206 "//third_party/android_platform/BUILD.gn",
207 "//third_party/angle/BUILD.gn",
208 "//third_party/boringssl/BUILD.gn",
209 "//third_party/catapult/tracing/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",
216 "//third_party/WebKit/Source/bindings/bindings.gni",
217 "//third_party/WebKit/Source/bindings/scripts/scripts.gni",
218 "//third_party/WebKit/Source/config.gni",
219 "//third_party/WebKit/Source/core/core.gni",
220 "//third_party/WebKit/Source/devtools/BUILD.gn",
221 "//third_party/WebKit/Source/modules/modules.gni",
222 "//third_party/WebKit/Source/platform/BUILD.gn",
223 "//third_party/WebKit/Source/platform/platform.gni",
224 "//third_party/WebKit/Source/web/BUILD.gn",
225 "//third_party/WebKit/Source/wtf/BUILD.gn",
226 "//tools/gn/BUILD.gn",
227 "//tools/gn/build_settings.h",
228 "//tools/gn/command_help.cc",
229 "//tools/gn/docs/language.md",
230 "//tools/gn/format_test_data/053.gn",
231 "//tools/gn/format_test_data/053.golden",
232 "//tools/gn/format_test_data/055.gn",
233 "//tools/gn/format_test_data/055.golden",
234 "//tools/gn/function_exec_script.cc",
236 "//tools/gn/input_conversion.cc",
237 "//tools/gn/misc/emacs/gn.el",
238 "//tools/gn/misc/vim/syntax/gn.vim",
239 "//tools/gn/setup.cc",
240 "//ui/accessibility/BUILD.gn",
241 "//ui/views/BUILD.gn",