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