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