Set correct errors when transfer buffer creation fails.
[chromium-blink-merge.git] / .gn
blob93249b24b2c1d80cec2fb752052d21b8bdf92dd0
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/omnibox/*",
41   "//components/os_crypt/*",
42   "//components/pref_registry/*",
43   "//components/undo/*",
44   "//components/update_client/*",
45   "//components/url_formatter/*",
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.
58   "//courgette/*",
59   "//crypto/*",
60   "//data/*",
61   "//dbus/*",
63   #"//device/*",  # Ran into http://crbug.com/500761 adding dbus dependency
65   #"//extensions/*",  # Lots of errors.
66   #"//gin/*",  # Easy.
67   "//google_apis/*",
68   "//google_update/*",
70   #"//gpu/*",  # Lots of errors.
71   "//gpu:*",
73   #"//ios/*",
74   "//ipc/*",
76   #"//jingle/*",
77   #"//media/*",  # Lots of errors.
78   "mojo/android/*",
79   "mojo/application/*",
80   "mojo/build/*",
81   "mojo/cc/*",
83   # TODO(sky): resolve this.
84   # "mojo/common/*",
85   "mojo/converters/*",
86   "mojo/environment/*",
88   # TODO(sky): resolve this.
89   # "mojo/gles2/*",
90   "mojo/gpu/*",
91   "mojo/nacl/*",
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/*",
103   #"//native_client/*",
104   #"//net/*",  # Needs GN binary changes to work on Android.
106   #"//pdf/*",  # Medium-hard.
107   #"//ppapi/*",  # Lots of errors.
108   "//printing/*",
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/*",
120   #"//third_party/*",  # May not ever want this.
121   "//tools/*",
123   #"//ui/*",  # Just a few problems.
124   "//url/*",
125   "//v8/*",
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.
131 exec_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",
149   "//build/util/version.gni",
150   "//chrome/android/BUILD.gn",
151   "//chrome/browser/BUILD.gn",
152   "//chrome/browser/chromeos/BUILD.gn",
153   "//chrome/browser/extensions/BUILD.gn",
154   "//chrome/browser/resources/chromeos/chromevox/BUILD.gn",
155   "//chrome/browser/media/router/BUILD.gn",
156   "//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",
165   # TODO(dgn): Layer violation but breaks the build otherwise, see
166   # https://crbug.com/474506
167   "//clank/java/BUILD.gn",
168   "//clank/native/BUILD.gn",
170   "//components/domain_reliability/BUILD.gn",
171   "//components/scheduler/scheduler.gni",
172   "//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",
179   "//content/utility/utility.gni",
180   "//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",
216   "//third_party/trace-viewer/tracing/BUILD.gn",
217   "//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",
241   "//ui/accessibility/BUILD.gn",
242   "//ui/views/BUILD.gn",