blob: e32288dafc1bdf25ddc9ca3f2f99caf0b0b95d28 [file] [log] [blame]
brettw2bafab42014-11-27 18:36:171# 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.
[email protected]96ea63d2013-07-30 10:17:074
5# The location of the build configuration file.
6buildconfig = "//build/config/BUILDCONFIG.gn"
7
8# The secondary source root is a parallel directory tree where
scheibec4b3a42014-09-18 21:50:139# GN build files are placed when they can not be placed directly
10# in the source tree, e.g. for third party source trees.
[email protected]26688b86e2014-06-19 13:14:2611secondary_source = "//build/secondary/"
brettw2bafab42014-11-27 18:36:1712
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".
brettwe75311d2015-02-17 23:56:4617check_targets = [
brettwbc44c0a92015-02-20 22:30:3918 #"//apps/*", # Medium-hard.
mswafbb0c02016-02-11 01:54:1219 "//ash/*",
brettw29c2f892015-11-27 17:03:4920 "//base/*",
brettwbc44c0a92015-02-20 22:30:3921 "//blink/*",
22 "//breakpad/*",
23 "//build/*",
brettwe75311d2015-02-17 23:56:4624 "//cc/*",
brettwbc44c0a92015-02-20 22:30:3925
26 #"//chrome/*", # Epic number of errors.
tfarina8e584882016-01-09 00:50:1527 "//chrome/app/*",
brettw0b9c96b12015-10-15 23:06:0428 "//chrome/common/*",
brettwf986f9572015-10-07 17:18:1529 "//chrome/installer/*",
brettw0b9c96b12015-10-15 23:06:0430 "//chrome/third_party/mozilla_security_manager/*",
tfarina961ad5d2016-01-06 22:27:1131 "//chrome/tools/*",
tfarina02f77a42015-12-17 22:38:2332 "//chrome/utility/*",
brettwbc44c0a92015-02-20 22:30:3933 "//chromecast/*",
brettwa219e922015-12-07 22:23:3934 "//chrome_elf/*",
35 "//cloud_print/*",
brettwb5440a92015-12-03 00:47:1236 "//components/*",
tfarina3de81942015-06-12 13:54:4937
brettwbc44c0a92015-02-20 22:30:3938 #"//content/*", # A whole lot of errors.
brettwf986f9572015-10-07 17:18:1539 "//content/public/common:result_codes",
brettw70b359a2015-10-14 23:43:2340 "//content/public/common:static_switches",
jbromanfc4ac0dd72016-01-23 01:53:4441 "//content/renderer/*",
brettwbc44c0a92015-02-20 22:30:3942 "//courgette/*",
43 "//crypto/*",
44 "//data/*",
45 "//dbus/*",
brettwbda835b2015-12-04 22:12:3046 "//device/*",
brettwbc44c0a92015-02-20 22:30:3947
48 #"//extensions/*", # Lots of errors.
jbromanb5e31792015-12-09 17:13:0249 "//gin/*",
tfarina9ee681962015-03-02 03:20:1350 "//google_apis/*",
brettwbc44c0a92015-02-20 22:30:3951 "//google_update/*",
52
53 #"//gpu/*", # Lots of errors.
tfarinaf89722432015-05-15 19:30:1954 "//gpu:*",
55
brettwbc44c0a92015-02-20 22:30:3956 #"//ios/*",
brettwe75311d2015-02-17 23:56:4657 "//ipc/*",
brettwbc44c0a92015-02-20 22:30:3958
59 #"//jingle/*",
sky88d7709e2015-08-12 19:19:4960 "//mandoline/*",
skyb0446352015-11-18 00:43:5661 "//mash/*",
sky88d7709e2015-08-12 19:19:4962
brettwbc44c0a92015-02-20 22:30:3963 #"//media/*", # Lots of errors.
sky343931432015-08-10 19:22:1964 "mojo/*",
skyd412f6e2015-07-22 17:22:1365
brettwbc44c0a92015-02-20 22:30:3966 #"//native_client/*",
67 #"//net/*", # Needs GN binary changes to work on Android.
68
69 #"//pdf/*", # Medium-hard.
70 #"//ppapi/*", # Lots of errors.
jbroman86f78272015-12-31 00:00:5171 "//ppapi/examples/*",
brettwbc44c0a92015-02-20 22:30:3972 "//printing/*",
73
74 #"//remoting/*", # Medium-hard.
75 #"//rlz/*", # Needs checking on Windows.
76 #"//sandbox/*", # Medium-hard.
77 "//sdch/*",
78 "//skia/*",
79 "//sql/*",
80 "//storage/*",
81 "//sync/*",
82 "//testing/*",
83
84 #"//third_party/*", # May not ever want this.
pmonette502a83e2016-01-08 00:21:1685 "//third_party/kasko/*",
jbroman626eecf2015-12-03 18:59:0086 "//third_party/WebKit/Source/*",
brettwbc44c0a92015-02-20 22:30:3987 "//tools/*",
88
brettwb7f2c302015-12-08 01:29:2189 #"//ui/*", # Work left on Chromeos w/ use_ozone. Some parts of UI that work:
90 "//ui/accessibility/*",
91 "//ui/android/*",
92 "//ui/app_list/*",
93 "//ui/aura/*",
94 "//ui/aura_extra/*",
95 "//ui/base/*",
96 "//ui/chromeos/*",
97 "//ui/compositor/*",
98 "//ui/display/*",
99 "//ui/events:events", # Specifically avoid //ui/events/ozone
100 "//ui/events:events_base",
101 "//ui/events:events_unittests",
102 "//ui/file_manager/*",
103 "//ui/gfx/*",
104 "//ui/gl/*",
105 "//ui/keyboard/*",
106 "//ui/login/*",
107 "//ui/message_center/*",
108 "//ui/metro_viewer/*",
109 "//ui/mojo/*",
110 "//ui/native_theme/*",
111 "//ui/platform_window/*",
112 "//ui/resources/*",
113 "//ui/shell_dialogs/*",
114 "//ui/snapshot/*",
115 "//ui/strings/*",
116 "//ui/surface/*",
117 "//ui/touch_selection/*",
118 "//ui/views/*",
119 "//ui/views_content_client/*",
120 "//ui/web_dialogs/*",
121 "//ui/webui/*",
122 "//ui/wm/*",
brettwbc44c0a92015-02-20 22:30:39123 "//url/*",
124 "//v8/*",
brettw0ead9772015-11-23 23:12:08125 "//win8/*",
brettwe75311d2015-02-17 23:56:46126]
brettwed99f7b2015-04-07 00:22:50127
128# These are the list of GN files that run exec_script. This whitelist exists
129# to force additional review for new uses of exec_script, which is strongly
130# discouraged except for gypi_to_gn calls.
131exec_script_whitelist = [
michaelbaicbcc7e62015-11-12 04:29:53132 "//android_webview/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50133 "//ash/BUILD.gn",
agrieve92a9e0682016-02-16 16:54:38134 "//build/config/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50135 "//build/config/android/config.gni",
136 "//build/config/android/internal_rules.gni",
137 "//build/config/android/rules.gni",
138 "//build/config/compiler/BUILD.gn",
139 "//build/config/gcc/gcc_version.gni",
140 "//build/config/ios/ios_sdk.gni",
141 "//build/config/linux/BUILD.gn",
142 "//build/config/linux/pkg_config.gni",
143 "//build/config/mac/mac_sdk.gni",
brettw888b65f2015-10-02 18:00:23144 "//build/config/posix/BUILD.gn",
agrieve45c8e9fd2015-12-03 20:56:48145 "//build/config/sysroot.gni",
Nico Weber8091cf92015-09-28 09:44:35146 "//build/config/win/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50147 "//build/config/win/visual_studio_version.gni",
148 "//build/gn_helpers.py",
149 "//build/gypi_to_gn.py",
dprankead0c1f42015-08-28 21:48:04150 "//build/linux/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50151 "//build/toolchain/gcc_toolchain.gni",
152 "//build/toolchain/mac/BUILD.gn",
dprankefa6ffe2f2015-08-31 20:17:52153 "//build/toolchain/nacl/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50154 "//build/toolchain/win/BUILD.gn",
brettw983c05622015-07-22 04:26:49155 "//build/util/version.gni",
brettwed99f7b2015-04-07 00:22:50156 "//chrome/android/BUILD.gn",
157 "//chrome/browser/BUILD.gn",
158 "//chrome/browser/chromeos/BUILD.gn",
159 "//chrome/browser/extensions/BUILD.gn",
plundblad70028e5c2015-07-09 09:01:05160 "//chrome/browser/resources/chromeos/chromevox/BUILD.gn",
imchengb6b09239f2015-05-15 21:41:55161 "//chrome/browser/media/router/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50162 "//chrome/browser/ui/BUILD.gn",
163 "//chrome/chrome_tests.gni",
164 "//chrome/common/BUILD.gn",
165 "//chrome/common/extensions/api/schemas.gni",
166 "//chrome/renderer/BUILD.gn",
167 "//chrome/test/BUILD.gn",
168 "//chrome/utility/BUILD.gn",
169 "//chromeos/BUILD.gn",
dgn470951712015-04-07 10:37:47170
171 # TODO(dgn): Layer violation but breaks the build otherwise, see
172 # https://crbug.com/474506
173 "//clank/java/BUILD.gn",
Newton Allen68f14da2015-06-17 20:48:34174 "//clank/native/BUILD.gn",
dgn470951712015-04-07 10:37:47175
brettwed99f7b2015-04-07 00:22:50176 "//components/domain_reliability/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50177 "//content/browser/browser.gni",
178 "//content/child/child.gni",
179 "//content/common/common.gni",
180 "//content/content.gni",
181 "//content/public/android/BUILD.gn",
182 "//content/renderer/renderer.gni",
183 "//content/test/BUILD.gn",
rockot7b6128a2015-05-18 20:18:00184 "//content/utility/utility.gni",
brettwed99f7b2015-04-07 00:22:50185 "//extensions/common/api/schemas.gni",
186 "//extensions/extensions.gni",
187 "//extensions/shell/app_shell.gni",
188 "//extensions/shell/common/api/schemas.gni",
189 "//google_apis/BUILD.gn",
190 "//gpu/gles2_conform_support/BUILD.gn",
ullysses.a.eoffcfd81412015-10-29 17:04:53191 "//gpu/khronos_glcts_support/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50192 "//jingle/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50193 "//net/BUILD.gn",
194 "//ppapi/ppapi_sources.gni",
195 "//printing/BUILD.gn",
196 "//remoting/host/BUILD.gn",
197 "//remoting/remoting_srcs.gni",
198 "//remoting/remoting_version.gni",
199 "//skia/BUILD.gn",
pkotwicz9ae3420e2015-11-25 03:52:20200 "//sync/protocol/protocol_sources.gni",
brettwed99f7b2015-04-07 00:22:50201 "//third_party/android_platform/BUILD.gn",
202 "//third_party/angle/BUILD.gn",
cwallez4c57af32015-09-03 14:54:49203 "//third_party/angle/src/tests/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50204 "//third_party/boringssl/BUILD.gn",
sullivan0cf87672015-08-04 17:10:32205 "//third_party/catapult/tracing/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50206 "//third_party/cld_2/BUILD.gn",
207 "//third_party/cython/rules.gni",
208 "//third_party/google_input_tools/inputview.gni",
209 "//third_party/harfbuzz-ng/BUILD.gn",
210 "//third_party/libaddressinput/BUILD.gn",
211 "//third_party/opus/BUILD.gn",
hbos17a7b4a22015-12-07 10:49:45212 "//third_party/openh264/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50213 "//third_party/WebKit/Source/bindings/bindings.gni",
214 "//third_party/WebKit/Source/bindings/scripts/scripts.gni",
215 "//third_party/WebKit/Source/config.gni",
216 "//third_party/WebKit/Source/core/core.gni",
217 "//third_party/WebKit/Source/devtools/BUILD.gn",
218 "//third_party/WebKit/Source/modules/modules.gni",
219 "//third_party/WebKit/Source/platform/BUILD.gn",
220 "//third_party/WebKit/Source/platform/platform.gni",
221 "//third_party/WebKit/Source/web/BUILD.gn",
222 "//third_party/WebKit/Source/wtf/BUILD.gn",
mcasas4337d5d32015-09-14 22:43:02223 "//third_party/WebKit/public/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50224 "//tools/gn/BUILD.gn",
225 "//tools/gn/build_settings.h",
226 "//tools/gn/command_help.cc",
227 "//tools/gn/docs/language.md",
228 "//tools/gn/format_test_data/053.gn",
229 "//tools/gn/format_test_data/053.golden",
230 "//tools/gn/format_test_data/055.gn",
231 "//tools/gn/format_test_data/055.golden",
232 "//tools/gn/function_exec_script.cc",
233 "//tools/gn/gn.gyp",
234 "//tools/gn/input_conversion.cc",
235 "//tools/gn/misc/emacs/gn.el",
236 "//tools/gn/misc/vim/syntax/gn.vim",
237 "//tools/gn/setup.cc",
lionel.g.landwerlin991e92d72015-07-09 08:46:25238 "//ui/accessibility/BUILD.gn",
brettwed99f7b2015-04-07 00:22:50239 "//ui/views/BUILD.gn",
240]