Cleanup NQE
[chromium-blink-merge.git] / .gn
bloba3cc417320a2003d1156468bf16b981339b9ca9f
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".
17 check_targets = [
18   #"//apps/*",  # Medium-hard.
19   #"//ash/*",  # Medium-hard.
20   #"//base/*",  # Needs GN binary changes to work on Android.
21   "//blink/*",
22   "//breakpad/*",
23   "//build/*",
24   "//cc/*",
26   #"//chrome/*",  # Epic number of errors.
27   "//chrome/installer/*",
28   "//chromecast/*",
30   # TODO(brettw): Fix http://crbug.com/460828 and uncomment the following
31   # line.
32   #"//chrome_elf/*",
33   "//cloud_print/*",
35   #"//components/*",  # Lots of errors.
36   "//components/app_modal/*",
37   "//components/autofill/*",
38   "//components/bookmarks/*",
39   "//components/google/*",
40   "//components/html_viewer/*",
41   "//components/omnibox/*",
42   "//components/os_crypt/*",
43   "//components/pref_registry/*",
44   "//components/undo/*",
45   "//components/update_client/*",
46   "//components/url_formatter/*",
47   "//components/url_matcher/*",
48   "//components/user_manager/*",
49   "//components/user_prefs/*",
50   "//components/variations/*",
51   "//components/wallpaper/*",
52   "//components/web_cache/*",
53   "//components/webcrypto/*",
54   "//components/web_modal/*",
55   "//components/webdata/*",
56   "//components/webdata_services/*",
58   #"//content/*",  # A whole lot of errors.
59   "//courgette/*",
60   "//crypto/*",
61   "//data/*",
62   "//dbus/*",
64   #"//device/*",  # Ran into http://crbug.com/500761 adding dbus dependency
66   #"//extensions/*",  # Lots of errors.
67   #"//gin/*",  # Easy.
68   "//google_apis/*",
69   "//google_update/*",
71   #"//gpu/*",  # Lots of errors.
72   "//gpu:*",
74   #"//ios/*",
75   "//ipc/*",
77   #"//jingle/*",
78   "//mandoline/*",
80   #"//media/*",  # Lots of errors.
81   "mojo/*",
83   #"//native_client/*",
84   #"//net/*",  # Needs GN binary changes to work on Android.
86   #"//pdf/*",  # Medium-hard.
87   #"//ppapi/*",  # Lots of errors.
88   "//printing/*",
90   #"//remoting/*",  # Medium-hard.
91   #"//rlz/*",  # Needs checking on Windows.
92   #"//sandbox/*",  # Medium-hard.
93   "//sdch/*",
94   "//skia/*",
95   "//sql/*",
96   "//storage/*",
97   "//sync/*",
98   "//testing/*",
100   #"//third_party/*",  # May not ever want this.
101   "//tools/*",
103   #"//ui/*",  # Just a few problems.
104   "//url/*",
105   "//v8/*",
108 # These are the list of GN files that run exec_script. This whitelist exists
109 # to force additional review for new uses of exec_script, which is strongly
110 # discouraged except for gypi_to_gn calls.
111 exec_script_whitelist = [
112   "//ash/BUILD.gn",
113   "//build/config/android/BUILD.gn",
114   "//build/config/android/config.gni",
115   "//build/config/android/internal_rules.gni",
116   "//build/config/android/rules.gni",
117   "//build/config/compiler/BUILD.gn",
118   "//build/config/gcc/gcc_version.gni",
119   "//build/config/ios/ios_sdk.gni",
120   "//build/config/linux/BUILD.gn",
121   "//build/config/linux/pkg_config.gni",
122   "//build/config/mac/mac_sdk.gni",
123   "//build/config/win/visual_studio_version.gni",
124   "//build/gn_helpers.py",
125   "//build/gypi_to_gn.py",
126   "//build/toolchain/gcc_toolchain.gni",
127   "//build/toolchain/mac/BUILD.gn",
128   "//build/toolchain/win/BUILD.gn",
129   "//build/util/version.gni",
130   "//chrome/android/BUILD.gn",
131   "//chrome/browser/BUILD.gn",
132   "//chrome/browser/chromeos/BUILD.gn",
133   "//chrome/browser/extensions/BUILD.gn",
134   "//chrome/browser/resources/chromeos/chromevox/BUILD.gn",
135   "//chrome/browser/media/router/BUILD.gn",
136   "//chrome/browser/ui/BUILD.gn",
137   "//chrome/chrome_tests.gni",
138   "//chrome/common/BUILD.gn",
139   "//chrome/common/extensions/api/schemas.gni",
140   "//chrome/renderer/BUILD.gn",
141   "//chrome/test/BUILD.gn",
142   "//chrome/utility/BUILD.gn",
143   "//chromeos/BUILD.gn",
145   # TODO(dgn): Layer violation but breaks the build otherwise, see
146   # https://crbug.com/474506
147   "//clank/java/BUILD.gn",
148   "//clank/native/BUILD.gn",
150   "//components/domain_reliability/BUILD.gn",
151   "//components/scheduler/scheduler.gni",
152   "//content/browser/browser.gni",
153   "//content/child/child.gni",
154   "//content/common/common.gni",
155   "//content/content.gni",
156   "//content/public/android/BUILD.gn",
157   "//content/renderer/renderer.gni",
158   "//content/test/BUILD.gn",
159   "//content/utility/utility.gni",
160   "//extensions/common/api/schemas.gni",
161   "//extensions/extensions.gni",
162   "//extensions/shell/app_shell.gni",
163   "//extensions/shell/common/api/schemas.gni",
164   "//google_apis/BUILD.gn",
165   "//gpu/gles2_conform_support/BUILD.gn",
166   "//jingle/BUILD.gn",
167   "//native_client/build/toolchain/gcc_toolchain.gni",
168   "//native_client/build/toolchain/nacl/BUILD.gn",
169   "//native_client/build/config/android/BUILD.gn",
170   "//native_client/build/config/gcc/gcc_version.gni",
171   "//native_client/build/config/ios/ios_sdk.gni",
172   "//native_client/build/config/linux/BUILD.gn",
173   "//native_client/build/config/linux/pkg_config.gni",
174   "//native_client/build/config/mac/mac_sdk.gni",
175   "//native_client/build/config/win/visual_studio_version.gni",
176   "//native_client/build/toolchain/gcc_toolchain.gni",
177   "//native_client/build/toolchain/mac/BUILD.gn",
178   "//native_client/build/toolchain/nacl/BUILD.gn",
179   "//native_client/build/toolchain/win/BUILD.gn",
180   "//net/BUILD.gn",
181   "//ppapi/ppapi_sources.gni",
182   "//printing/BUILD.gn",
183   "//remoting/host/BUILD.gn",
184   "//remoting/remoting_srcs.gni",
185   "//remoting/remoting_version.gni",
186   "//skia/BUILD.gn",
187   "//third_party/android_platform/BUILD.gn",
188   "//third_party/angle/BUILD.gn",
189   "//third_party/boringssl/BUILD.gn",
190   "//third_party/catapult/tracing/BUILD.gn",
191   "//third_party/cld_2/BUILD.gn",
192   "//third_party/cython/rules.gni",
193   "//third_party/google_input_tools/inputview.gni",
194   "//third_party/harfbuzz-ng/BUILD.gn",
195   "//third_party/libaddressinput/BUILD.gn",
196   "//third_party/opus/BUILD.gn",
197   "//third_party/WebKit/Source/bindings/bindings.gni",
198   "//third_party/WebKit/Source/bindings/scripts/scripts.gni",
199   "//third_party/WebKit/Source/config.gni",
200   "//third_party/WebKit/Source/core/core.gni",
201   "//third_party/WebKit/Source/devtools/BUILD.gn",
202   "//third_party/WebKit/Source/modules/modules.gni",
203   "//third_party/WebKit/Source/platform/BUILD.gn",
204   "//third_party/WebKit/Source/platform/platform.gni",
205   "//third_party/WebKit/Source/web/BUILD.gn",
206   "//third_party/WebKit/Source/wtf/BUILD.gn",
207   "//tools/gn/BUILD.gn",
208   "//tools/gn/build_settings.h",
209   "//tools/gn/command_help.cc",
210   "//tools/gn/docs/language.md",
211   "//tools/gn/format_test_data/053.gn",
212   "//tools/gn/format_test_data/053.golden",
213   "//tools/gn/format_test_data/055.gn",
214   "//tools/gn/format_test_data/055.golden",
215   "//tools/gn/function_exec_script.cc",
216   "//tools/gn/gn.gyp",
217   "//tools/gn/input_conversion.cc",
218   "//tools/gn/misc/emacs/gn.el",
219   "//tools/gn/misc/vim/syntax/gn.vim",
220   "//tools/gn/setup.cc",
221   "//ui/accessibility/BUILD.gn",
222   "//ui/views/BUILD.gn",