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