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/os_crypt/*",
40 "//components/pref_registry/*",
41 "//components/undo/*",
42 "//components/user_prefs/*",
43 "//components/webcrypto/*",
45 #"//content/*", # A whole lot of errors.
51 #"//device/*", # Ran into http://crbug.com/500761 adding dbus dependency
53 #"//extensions/*", # Lots of errors.
58 #"//gpu/*", # Lots of errors.
65 #"//media/*", # Lots of errors.
68 #"//net/*", # Needs GN binary changes to work on Android.
70 #"//pdf/*", # Medium-hard.
71 #"//ppapi/*", # Lots of errors.
74 #"//remoting/*", # Medium-hard.
75 #"//rlz/*", # Needs checking on Windows.
76 #"//sandbox/*", # Medium-hard.
84 #"//third_party/*", # May not ever want this.
87 #"//ui/*", # Just a few problems.
92 # These are the list of GN files that run exec_script. This whitelist exists
93 # to force additional review for new uses of exec_script, which is strongly
94 # discouraged except for gypi_to_gn calls.
95 exec_script_whitelist = [
97 "//build/config/android/BUILD.gn",
98 "//build/config/android/config.gni",
99 "//build/config/android/internal_rules.gni",
100 "//build/config/android/rules.gni",
101 "//build/config/compiler/BUILD.gn",
102 "//build/config/gcc/gcc_version.gni",
103 "//build/config/ios/ios_sdk.gni",
104 "//build/config/linux/BUILD.gn",
105 "//build/config/linux/pkg_config.gni",
106 "//build/config/mac/mac_sdk.gni",
107 "//build/config/win/visual_studio_version.gni",
108 "//build/gn_helpers.py",
109 "//build/gypi_to_gn.py",
110 "//build/toolchain/gcc_toolchain.gni",
111 "//build/toolchain/mac/BUILD.gn",
112 "//build/toolchain/win/BUILD.gn",
113 "//chrome/android/BUILD.gn",
114 "//chrome/browser/BUILD.gn",
115 "//chrome/browser/chromeos/BUILD.gn",
116 "//chrome/browser/extensions/BUILD.gn",
117 "//chrome/browser/media/router/BUILD.gn",
118 "//chrome/browser/ui/BUILD.gn",
119 "//chrome/chrome_tests.gni",
120 "//chrome/common/BUILD.gn",
121 "//chrome/common/extensions/api/schemas.gni",
122 "//chrome/renderer/BUILD.gn",
123 "//chrome/test/BUILD.gn",
124 "//chrome/utility/BUILD.gn",
125 "//chromeos/BUILD.gn",
127 # TODO(dgn): Layer violation but breaks the build otherwise, see
128 # https://crbug.com/474506
129 "//clank/java/BUILD.gn",
130 "//clank/native/BUILD.gn",
132 "//components/domain_reliability/BUILD.gn",
133 "//components/scheduler/scheduler.gni",
134 "//content/browser/browser.gni",
135 "//content/child/child.gni",
136 "//content/common/common.gni",
137 "//content/content.gni",
138 "//content/public/android/BUILD.gn",
139 "//content/renderer/renderer.gni",
140 "//content/test/BUILD.gn",
141 "//content/utility/utility.gni",
142 "//extensions/common/api/schemas.gni",
143 "//extensions/extensions.gni",
144 "//extensions/shell/app_shell.gni",
145 "//extensions/shell/common/api/schemas.gni",
146 "//google_apis/BUILD.gn",
147 "//gpu/gles2_conform_support/BUILD.gn",
149 "//native_client/build/toolchain/gcc_toolchain.gni",
150 "//native_client/build/toolchain/nacl/BUILD.gn",
151 "//native_client/build/config/android/BUILD.gn",
152 "//native_client/build/config/gcc/gcc_version.gni",
153 "//native_client/build/config/ios/ios_sdk.gni",
154 "//native_client/build/config/linux/BUILD.gn",
155 "//native_client/build/config/linux/pkg_config.gni",
156 "//native_client/build/config/mac/mac_sdk.gni",
157 "//native_client/build/config/win/visual_studio_version.gni",
158 "//native_client/build/toolchain/gcc_toolchain.gni",
159 "//native_client/build/toolchain/mac/BUILD.gn",
160 "//native_client/build/toolchain/nacl/BUILD.gn",
161 "//native_client/build/toolchain/win/BUILD.gn",
163 "//ppapi/ppapi_sources.gni",
164 "//printing/BUILD.gn",
165 "//remoting/host/BUILD.gn",
166 "//remoting/remoting_srcs.gni",
167 "//remoting/remoting_version.gni",
169 "//third_party/android_platform/BUILD.gn",
170 "//third_party/angle/BUILD.gn",
171 "//third_party/boringssl/BUILD.gn",
172 "//third_party/cld_2/BUILD.gn",
173 "//third_party/cython/rules.gni",
174 "//third_party/google_input_tools/inputview.gni",
175 "//third_party/harfbuzz-ng/BUILD.gn",
176 "//third_party/libaddressinput/BUILD.gn",
177 "//third_party/opus/BUILD.gn",
178 "//third_party/trace-viewer/tracing/BUILD.gn",
179 "//third_party/WebKit/Source/bindings/bindings.gni",
180 "//third_party/WebKit/Source/bindings/scripts/scripts.gni",
181 "//third_party/WebKit/Source/config.gni",
182 "//third_party/WebKit/Source/core/core.gni",
183 "//third_party/WebKit/Source/devtools/BUILD.gn",
184 "//third_party/WebKit/Source/modules/modules.gni",
185 "//third_party/WebKit/Source/platform/BUILD.gn",
186 "//third_party/WebKit/Source/platform/platform.gni",
187 "//third_party/WebKit/Source/web/BUILD.gn",
188 "//third_party/WebKit/Source/wtf/BUILD.gn",
189 "//tools/gn/BUILD.gn",
190 "//tools/gn/build_settings.h",
191 "//tools/gn/command_help.cc",
192 "//tools/gn/docs/language.md",
193 "//tools/gn/format_test_data/053.gn",
194 "//tools/gn/format_test_data/053.golden",
195 "//tools/gn/format_test_data/055.gn",
196 "//tools/gn/format_test_data/055.golden",
197 "//tools/gn/function_exec_script.cc",
199 "//tools/gn/input_conversion.cc",
200 "//tools/gn/misc/emacs/gn.el",
201 "//tools/gn/misc/vim/syntax/gn.vim",
202 "//tools/gn/setup.cc",
203 "//ui/views/BUILD.gn",