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