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