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