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