[patch 6 of 6] CrossSiteDocumentClassifier bug fixes.
[chromium-blink-merge.git] / .gn
blob21460d60f30df5710fead804480fd00cce4e054b
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/bookmarks/*",
37   "//components/pref_registry/*",
38   "//components/undo/*",
39   "//components/webcrypto/*",
41   #"//content/*",  # A whole lot of errors.
42   "//courgette/*",
43   "//crypto/*",
44   "//data/*",
45   "//dbus/*",
46   "//device/*",
48   #"//extensions/*",  # Lots of errors.
49   #"//gin/*",  # Easy.
50   "//google_apis/*",
51   "//google_update/*",
53   #"//gpu/*",  # Lots of errors.
54   "//gpu:*",
56   #"//ios/*",
57   "//ipc/*",
59   #"//jingle/*",
60   #"//media/*",  # Lots of errors.
61   #"//mojo/*",
62   #"//native_client/*",
63   #"//net/*",  # Needs GN binary changes to work on Android.
65   #"//pdf/*",  # Medium-hard.
66   #"//ppapi/*",  # Lots of errors.
67   "//printing/*",
69   #"//remoting/*",  # Medium-hard.
70   #"//rlz/*",  # Needs checking on Windows.
71   #"//sandbox/*",  # Medium-hard.
72   "//sdch/*",
73   "//skia/*",
74   "//sql/*",
75   "//storage/*",
76   "//sync/*",
77   "//testing/*",
79   #"//third_party/*",  # May not ever want this.
80   "//tools/*",
82   #"//ui/*",  # Just a few problems.
83   "//url/*",
84   "//v8/*",
87 # These are the list of GN files that run exec_script. This whitelist exists
88 # to force additional review for new uses of exec_script, which is strongly
89 # discouraged except for gypi_to_gn calls.
90 exec_script_whitelist = [
91   "//ash/BUILD.gn",
92   "//build/config/android/BUILD.gn",
93   "//build/config/android/config.gni",
94   "//build/config/android/internal_rules.gni",
95   "//build/config/android/rules.gni",
96   "//build/config/compiler/BUILD.gn",
97   "//build/config/gcc/gcc_version.gni",
98   "//build/config/ios/ios_sdk.gni",
99   "//build/config/linux/BUILD.gn",
100   "//build/config/linux/pkg_config.gni",
101   "//build/config/mac/mac_sdk.gni",
102   "//build/config/win/visual_studio_version.gni",
103   "//build/gn_helpers.py",
104   "//build/gypi_to_gn.py",
105   "//build/toolchain/gcc_toolchain.gni",
106   "//build/toolchain/mac/BUILD.gn",
107   "//build/toolchain/win/BUILD.gn",
108   "//chrome/android/BUILD.gn",
109   "//chrome/browser/BUILD.gn",
110   "//chrome/browser/chromeos/BUILD.gn",
111   "//chrome/browser/extensions/BUILD.gn",
112   "//chrome/browser/media/router/BUILD.gn",
113   "//chrome/browser/ui/BUILD.gn",
114   "//chrome/chrome_tests.gni",
115   "//chrome/common/BUILD.gn",
116   "//chrome/common/extensions/api/schemas.gni",
117   "//chrome/renderer/BUILD.gn",
118   "//chrome/test/BUILD.gn",
119   "//chrome/utility/BUILD.gn",
120   "//chromeos/BUILD.gn",
122   # TODO(dgn): Layer violation but breaks the build otherwise, see
123   # https://crbug.com/474506
124   "//clank/java/BUILD.gn",
125   "//clank/native/BUILD.gn",
127   "//components/domain_reliability/BUILD.gn",
128   "//components/scheduler/scheduler.gni",
129   "//content/browser/browser.gni",
130   "//content/child/child.gni",
131   "//content/common/common.gni",
132   "//content/content.gni",
133   "//content/public/android/BUILD.gn",
134   "//content/renderer/renderer.gni",
135   "//content/test/BUILD.gn",
136   "//content/utility/utility.gni",
137   "//extensions/common/api/schemas.gni",
138   "//extensions/extensions.gni",
139   "//extensions/shell/app_shell.gni",
140   "//extensions/shell/common/api/schemas.gni",
141   "//google_apis/BUILD.gn",
142   "//gpu/gles2_conform_support/BUILD.gn",
143   "//jingle/BUILD.gn",
144   "//native_client/build/toolchain/gcc_toolchain.gni",
145   "//native_client/build/toolchain/nacl/BUILD.gn",
146   "//native_client/build/config/android/BUILD.gn",
147   "//native_client/build/config/gcc/gcc_version.gni",
148   "//native_client/build/config/ios/ios_sdk.gni",
149   "//native_client/build/config/linux/BUILD.gn",
150   "//native_client/build/config/linux/pkg_config.gni",
151   "//native_client/build/config/mac/mac_sdk.gni",
152   "//native_client/build/config/win/visual_studio_version.gni",
153   "//native_client/build/toolchain/gcc_toolchain.gni",
154   "//native_client/build/toolchain/mac/BUILD.gn",
155   "//native_client/build/toolchain/nacl/BUILD.gn",
156   "//native_client/build/toolchain/win/BUILD.gn",
157   "//net/BUILD.gn",
158   "//ppapi/ppapi_sources.gni",
159   "//printing/BUILD.gn",
160   "//remoting/host/BUILD.gn",
161   "//remoting/remoting_srcs.gni",
162   "//remoting/remoting_version.gni",
163   "//skia/BUILD.gn",
164   "//third_party/android_platform/BUILD.gn",
165   "//third_party/angle/BUILD.gn",
166   "//third_party/boringssl/BUILD.gn",
167   "//third_party/cld_2/BUILD.gn",
168   "//third_party/cython/rules.gni",
169   "//third_party/google_input_tools/inputview.gni",
170   "//third_party/harfbuzz-ng/BUILD.gn",
171   "//third_party/libaddressinput/BUILD.gn",
172   "//third_party/opus/BUILD.gn",
173   "//third_party/trace-viewer/BUILD.gn",
174   "//third_party/WebKit/Source/bindings/bindings.gni",
175   "//third_party/WebKit/Source/bindings/scripts/scripts.gni",
176   "//third_party/WebKit/Source/config.gni",
177   "//third_party/WebKit/Source/core/core.gni",
178   "//third_party/WebKit/Source/devtools/BUILD.gn",
179   "//third_party/WebKit/Source/modules/modules.gni",
180   "//third_party/WebKit/Source/platform/BUILD.gn",
181   "//third_party/WebKit/Source/platform/platform.gni",
182   "//third_party/WebKit/Source/web/BUILD.gn",
183   "//third_party/WebKit/Source/wtf/BUILD.gn",
184   "//tools/gn/BUILD.gn",
185   "//tools/gn/build_settings.h",
186   "//tools/gn/command_help.cc",
187   "//tools/gn/docs/language.md",
188   "//tools/gn/format_test_data/053.gn",
189   "//tools/gn/format_test_data/053.golden",
190   "//tools/gn/format_test_data/055.gn",
191   "//tools/gn/format_test_data/055.golden",
192   "//tools/gn/function_exec_script.cc",
193   "//tools/gn/gn.gyp",
194   "//tools/gn/input_conversion.cc",
195   "//tools/gn/misc/emacs/gn.el",
196   "//tools/gn/misc/vim/syntax/gn.vim",
197   "//tools/gn/setup.cc",
198   "//ui/views/BUILD.gn",