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