[go: nahoru, domu]

blob: ae90772b3fbc82eae2182778499e94081709d12d [file] [log] [blame]
brettw@chromium.orgf0e7ff882013-12-26 21:23:091# Copyright (c) 2013 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# This is the root build file for GN. GN will start processing by loading this
6# file, and recursively load all dependencies until all dependencies are either
7# resolved or known not to exist (which will cause the build to fail). So if
8# you add a new build file, there must be some path of dependencies from this
9# file to your new one or GN won't know about it.
10
rockot2f1326e2015-02-23 23:53:5111import("//build/config/features.gni")
aizatskyfc46a9f2015-10-09 21:20:0812import("//build/config/sanitizers/sanitizers.gni")
tfarina@chromium.org378b4f02014-06-10 15:58:4513import("//build/config/ui.gni")
dpranked4da5ab2015-10-13 06:20:3314import("//build_overrides/v8.gni")
mostynb2196a462015-08-20 17:22:1015import("//media/media_options.gni")
hbos17a7b4a22015-12-07 10:49:4516import("//third_party/openh264/openh264_args.gni")
dprankee2ef3822015-02-24 21:42:1817
cjhopmanca675d3e2014-10-24 03:50:4518if (is_android) {
19 import("//build/config/android/config.gni")
20}
tfarina@chromium.org378b4f02014-06-10 15:58:4521
brettwb84b2942014-10-22 22:58:4522declare_args() {
23 # A list of extra dependencies to add to the root target. This allows a
24 # checkout to add additional targets without explicitly changing any checked-
25 # in files.
26 root_extra_deps = []
27}
28
dprankeef9c5e582015-11-15 23:22:0829# This file defines the following five main targets:
dpranked62d8512015-03-02 03:06:0330#
dprankeddc174902015-04-29 01:38:3531# "both_gn_and_gyp" should list every root target (target that nothing else
32# depends on) built by GN that is also built in the GYP build.
dpranked62d8512015-03-02 03:06:0333#
dprankeddc174902015-04-29 01:38:3534# "gn_all" should (transitively) cause everything to be built; if you run
35# 'ninja gn_all' and then 'ninja all', the second build should do no work.
36#
dprankeef9c5e582015-11-15 23:22:0837# "gn_only" should list every root target that is *not* intended to be built in
38# a GYP build. Because GN has different rules for deciding what an 'all' build
39# is, this may end up including targets that are actually defined in a GYP
40# build but not dependencies of GYP's "all" (and so not actually built).
dprankeddc174902015-04-29 01:38:3541#
dprankeb6128d02015-05-01 16:40:3042# "gn_visibility": targets that are normally not visible to top-level targets,
dprankeef9c5e582015-11-15 23:22:0843# but are built anyway by "all". Since we don't want any such targets, we have
44# this placeholder to make sure hidden targets that aren't otherwise depended
45# on yet are accounted for.
46#
47# "All" is an alias for "gn_all". It exists for bot compatibility w/ GYP for
48# the iOS bots and the official builders, but should not be generally used
49# during the GYP->GN migration. We cannot guarantee that GN's "All" builds the
50# same set of targets as GYP's "All" does, because GYP's "All" supports
51# wildcards.
52#
53# Lastly, none of these targets are guaranteed to be the same as what ninja
54# will build with "all". For more on how "all" works and the differences in how
55# GYP and GN determine "all", see crbug.com/503241.
dprankeb6128d02015-05-01 16:40:3056#
dprankeddc174902015-04-29 01:38:3557# TODO(GYP): crbug.com/481694. Make sure that the above is true and there are
dprankeef9c5e582015-11-15 23:22:0858# scripts run on the bots that enforce this. Once the GYP migration is over, we
59# can collapse all of these targets as desired.
dprankeff30e3d2015-02-24 06:52:3960
dprankee2ef3822015-02-24 21:42:1861group("gn_all") {
62 testonly = true
63
64 deps = [
dprankeddc174902015-04-29 01:38:3565 ":both_gn_and_gyp",
66 ":gn_only",
dprankeb6128d02015-05-01 16:40:3067 ":gn_visibility",
dprankeddc174902015-04-29 01:38:3568 ]
69}
70
dprankeef9c5e582015-11-15 23:22:0871# TODO(GYP): This target exists for compatibility with GYP, specifically
72# for the iOS bots and the official builders.
73group("All") {
74 testonly = true
75
76 deps = [
77 ":gn_all",
78 ]
79}
80
dprankeddc174902015-04-29 01:38:3581# The "both_gn_and_gyp" target should reflect every target that is built
82# in both the GN and GYP builds, and ideally it should match the
83# "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line.
84#
85# TODO(GYP): Add build steps that check and enforce this on the bots.
86group("both_gn_and_gyp") {
87 testonly = true
dprankeddc174902015-04-29 01:38:3588 deps = [
dprankee2ef3822015-02-24 21:42:1889 "//base:base_unittests",
brettwa874dcc2015-08-28 23:59:1890 "//chrome/installer",
sheroukdc35ba272015-09-22 14:09:3791 "//components:components_unittests",
sheroukce1c7d72015-08-24 15:21:5992 "//net:net_unittests",
sherouk2866d662015-08-24 16:29:4493 "//skia:skia_unittests",
brettwa874dcc2015-08-28 23:59:1894 "//sql:sql_unittests",
sherouk3eee4a82015-09-01 10:42:3395 "//sync:sync_unit_tests",
sherouk4fb74d42015-08-24 15:58:4196 "//ui/base:ui_base_unittests",
sherouk84a45ff2015-09-01 13:31:3997 "//ui/gfx:gfx_unittests",
sherouk4fb74d42015-08-24 15:58:4198 "//url:url_unittests",
dprankee2ef3822015-02-24 21:42:1899 ]
dpranke2a294622015-08-07 05:23:01100
slance9d62f2015-11-04 01:15:01101 if (!is_ios && !is_android && !is_chromecast) {
sherouk53f0f1a2015-08-03 15:59:35102 deps += [
sherouk53f0f1a2015-08-03 15:59:35103 "//chrome",
104 "//chrome/test:browser_tests",
105 "//chrome/test:interactive_ui_tests",
106 "//chrome/test:sync_integration_tests",
sherouk53f0f1a2015-08-03 15:59:35107 "//chrome/test/chromedriver:chromedriver_unittests",
sherouk53f0f1a2015-08-03 15:59:35108 "//crypto:crypto_unittests",
sherouk53f0f1a2015-08-03 15:59:35109 "//extensions:extensions_browsertests",
110 "//extensions:extensions_unittests",
111 "//google_apis/gcm:gcm_unit_tests",
dprankedbdd9d82015-08-12 21:18:18112 "//gpu/gles2_conform_support:gles2_conform_test",
sherouk53f0f1a2015-08-03 15:59:35113 "//jingle:jingle_unittests",
sherouk53f0f1a2015-08-03 15:59:35114 "//net:hpack_example_generator",
115 "//net:hpack_fuzz_mutator",
116 "//net:hpack_fuzz_wrapper",
sherouk53f0f1a2015-08-03 15:59:35117 "//ppapi:ppapi_unittests",
118 "//ppapi/examples/2d",
119 "//ppapi/examples/audio",
120 "//ppapi/examples/audio_input",
121 "//ppapi/examples/compositor",
122 "//ppapi/examples/crxfs",
123 "//ppapi/examples/enumerate_devices",
124 "//ppapi/examples/file_chooser",
125 "//ppapi/examples/flash_topmost",
126 "//ppapi/examples/font",
127 "//ppapi/examples/gamepad",
128 "//ppapi/examples/gles2",
129 "//ppapi/examples/gles2_spinning_cube",
130 "//ppapi/examples/ime",
131 "//ppapi/examples/input",
132 "//ppapi/examples/media_stream_audio",
133 "//ppapi/examples/media_stream_video",
134 "//ppapi/examples/mouse_cursor",
135 "//ppapi/examples/mouse_lock",
136 "//ppapi/examples/printing",
137 "//ppapi/examples/scaling",
138 "//ppapi/examples/scripting",
139 "//ppapi/examples/stub",
140 "//ppapi/examples/threading",
141 "//ppapi/examples/url_loader",
142 "//ppapi/examples/video_capture",
143 "//ppapi/examples/video_decode",
144 "//ppapi/examples/video_effects",
145 "//ppapi/examples/video_encode",
146 "//printing:printing_unittests",
sherouk53f0f1a2015-08-03 15:59:35147 "//third_party/cacheinvalidation:cacheinvalidation_unittests",
148 "//third_party/codesighs",
pkotwicz558d5252015-10-19 21:09:55149 "//third_party/pdfium/samples:pdfium_test",
charliea00055282016-01-26 00:15:15150 "//tools/battor_agent",
charliea5daef2bb2016-01-29 00:13:25151 "//tools/battor_agent:battor_agent_unittests",
pkotwicz558d5252015-10-19 21:09:55152 "//tools/gn",
dpranke244f9732015-11-20 05:38:10153 "//tools/gn:gn_unittests",
pkotwicz558d5252015-10-19 21:09:55154 "//tools/perf/clear_system_cache",
155 "//ui/accessibility:accessibility_unittests",
156 "//ui/app_list:app_list_unittests",
157 ]
158 }
159
160 if (!is_ios) {
161 # TODO(GYP): Figure out which of these should actually build on iOS,
162 # and whether there should be other targets that are iOS-only and missing.
163 deps += [
164 "//cc:cc_unittests",
165 "//chrome/test:unit_tests",
166 "//components:components_browsertests",
167 "//content/shell:content_shell",
168 "//content/test:content_browsertests",
169 "//content/test:content_perftests",
170 "//content/test:content_unittests",
171 "//device:device_unittests",
172 "//gpu:gpu_unittests",
173 "//ipc:ipc_tests",
174 "//ipc/mojo:ipc_mojo_unittests",
175 "//media:media_unittests",
miu45b848fe2015-11-26 01:23:29176 "//media/cast:cast_unittests",
pkotwicz558d5252015-10-19 21:09:55177 "//media/midi:midi_unittests",
178 "//mojo",
pkotwicz558d5252015-10-19 21:09:55179 "//mojo/common:mojo_common_unittests",
rockotc637caf9b2016-02-10 09:57:08180 "//mojo/edk/system:mojo_system_unittests",
181 "//mojo/edk/test:mojo_public_bindings_unittests",
182 "//mojo/edk/test:mojo_public_environment_unittests",
183 "//mojo/edk/test:mojo_public_system_unittests",
184 "//mojo/edk/test:mojo_public_utility_unittests",
ben273c1e32016-01-12 02:44:08185 "//mojo/shell/public/cpp",
pkotwicz558d5252015-10-19 21:09:55186 "//net:net_perftests",
Dirk Pranke49802732015-12-10 01:36:41187 "//third_party/WebKit/Source/platform:blink_heap_unittests",
188 "//third_party/WebKit/Source/platform:blink_platform_unittests",
dpranke244f9732015-11-20 05:38:10189 "//third_party/WebKit/Source/web:webkit_unit_tests",
190 "//third_party/WebKit/Source/wtf:wtf_unittests",
nednguyenc42bf912016-01-27 01:39:28191 "//third_party/catapult/telemetry:bitmaptools($host_toolchain)",
sherouk53f0f1a2015-08-03 15:59:35192 "//third_party/smhasher:pmurhash",
193 "//tools/imagediff($host_toolchain)",
sherouk53f0f1a2015-08-03 15:59:35194 "//ui/display:display_unittests",
195 "//ui/events:events_unittests",
sherouk53f0f1a2015-08-03 15:59:35196 "//ui/gl:gl_unittests",
197 "//ui/touch_selection:ui_touch_selection_unittests",
sherouk53f0f1a2015-08-03 15:59:35198 ]
sdefresne998e8582015-10-07 13:36:45199 } else {
sdefresnea378b452015-10-08 09:55:58200 deps += [
dpranke0e5462c2016-02-23 19:57:46201 #"//ios/chrome:ios_chrome_unittests", TODO(GYP)
202 #"//ios/chrome/app", TODO(GYP)
203 #"//ios/chrome/browser", TODO(GYP)
204 "//ios/chrome/common",
sdefresnea378b452015-10-08 09:55:58205 "//ios/net:ios_net_unittests",
dpranke0e5462c2016-02-23 19:57:46206 "//ios/public/provider/chrome/browser",
sdefresne89308c92015-11-16 10:40:34207 "//ios/public/provider/web",
sdefresnec6ddd7ac2015-10-09 17:30:19208 "//ios/testing:ocmock_support_unittest",
sdefresnea9045f42016-02-23 15:22:45209 "//ios/third_party/ochamcrest",
sdefresneaa7c1cf2015-10-22 00:41:11210 "//ios/web:ios_web_unittests",
dpranke244f9732015-11-20 05:38:10211 "//ios/web/shell:ios_web_shell",
sdefresnea378b452015-10-08 09:55:58212 ]
sherouk53f0f1a2015-08-03 15:59:35213 }
dprankee2ef3822015-02-24 21:42:18214
scottmg34fb7e52014-12-03 23:27:24215 deps += root_extra_deps
brettw@chromium.orgfce5c3fe2014-04-10 21:13:05216
tfarina4aa9edc2015-10-26 22:14:02217 if (enable_extensions) {
rockot2f1326e2015-02-23 23:53:51218 deps += [ "//extensions/shell:app_shell_unittests" ]
219 }
220
dprankefd1813272015-04-13 23:56:00221 if (enable_media_router) {
imchengb6b09239f2015-05-15 21:41:55222 deps += [ "//chrome/browser/media/router" ]
dprankefd1813272015-04-13 23:56:00223 }
224
garykac3eddb5b2015-04-17 23:16:38225 if (enable_remoting) {
226 deps += [ "//remoting:remoting_all" ]
dprankece5eb832015-04-01 20:21:05227 }
228
dprankee2ef3822015-02-24 21:42:18229 if (toolkit_views) {
230 deps += [ "//ui/views:views_unittests" ]
James Robinson060f2e32014-09-10 22:31:37231 }
232
dprankee2ef3822015-02-24 21:42:18233 if (use_aura) {
mswda0133e62016-02-16 20:50:02234 deps += [
235 "//ash:ash_shell_with_content",
236 "//ash:ash_unittests",
237 "//ui/aura:aura_unittests",
238 "//ui/aura:bench",
239 "//ui/aura:demo",
240 "//ui/wm:wm_unittests",
241 ]
dprankee2ef3822015-02-24 21:42:18242 }
243
244 if (use_ozone) {
dprankedb5527d72015-03-08 04:22:47245 deps += [ "//ui/ozone" ]
tfarina@chromium.orga306aaa2014-05-24 13:21:50246 }
247
dprankefd1813272015-04-13 23:56:00248 if (use_x11) {
249 deps += [ "//tools/xdisplaycheck" ]
kmarshalld2f3bea2015-03-11 23:42:22250 }
251
tmoniuszkoe5578b922015-04-14 09:38:03252 if (enable_configuration_policy) {
253 deps += [ "//components/policy:policy_templates" ]
254 }
255
dprankefd1813272015-04-13 23:56:00256 if (v8_use_external_startup_data) {
257 deps += [ "//gin:gin_v8_snapshot_fingerprint" ]
brettw@chromium.org2d6893a2014-06-02 19:16:36258 }
259
brettw66e3feab2015-07-20 23:52:22260 if (is_win) {
brettwf986f952015-10-07 17:18:15261 deps += [
262 "//chrome/installer/gcapi",
263 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy",
264 ]
brettw66e3feab2015-07-20 23:52:22265 }
266
dpranke@chromium.org5a8d5162014-04-12 01:19:16267 if (is_android) {
cjhopman@chromium.org26046b52014-07-16 00:11:03268 deps += [
pkotwicze2dae8b2015-11-03 20:12:55269 "//base:base_junit_tests",
dpranke244f9732015-11-20 05:38:10270 "//base/android/linker:chromium_android_linker",
cjhopman3d85c6d2014-11-18 03:39:38271 "//build/android/gyp/test:hello_world",
cjhopman31511332014-10-23 01:05:02272 "//build/android/rezip",
pkotwicze2dae8b2015-11-03 20:12:55273 "//components/invalidation/impl:components_invalidation_impl_junit_tests",
274 "//components/policy/android:components_policy_junit_tests",
275 "//content/public/android:content_junit_tests",
pkotwicz8adff4e2015-12-17 21:55:45276 "//content/shell/android:content_shell_apk",
277 "//content/test:video_decode_accelerator_unittest",
pkotwicze2dae8b2015-11-03 20:12:55278 "//net/android:net_junit_tests",
279 "//testing/android/junit:junit_unittests",
pkotwicz8adff4e2015-12-17 21:55:45280 "//third_party/android_tools:uiautomator_java",
agrieve40ba6862015-07-15 02:09:05281 "//third_party/errorprone:chromium_errorprone",
pkotwicz8adff4e2015-12-17 21:55:45282 "//third_party/smhasher:murmurhash3",
pkotwicze38594d2015-09-25 00:05:10283 "//tools/android:android_tools",
pkotwicz6b5571b2015-12-08 21:54:49284 "//tools/android:memconsumer",
pkotwicz8b9d18c2015-10-05 01:59:33285 "//tools/android/heap_profiler:heap_profiler_unittests",
dgn28050da2015-10-19 10:16:43286 "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk",
pkotwicz077093762015-12-21 16:47:15287 "//tools/cygprofile:cygprofile_unittests",
dprankee2ef3822015-02-24 21:42:18288 "//tools/imagediff($host_toolchain)",
newt9e226032016-01-26 01:30:15289 "//ui/android:ui_junit_tests",
dprankee2ef3822015-02-24 21:42:18290 ]
291 deps -= [
rockot9c67e5f2015-03-12 20:01:21292 "//net:net_perftests",
dprankee2ef3822015-02-24 21:42:18293 "//url:url_unittests",
cjhopman@chromium.org26046b52014-07-16 00:11:03294 ]
295
pkotwicz92e2e2312015-12-15 22:29:46296 if (!is_component_build) {
297 deps += [
agrievee23386b2016-01-05 04:47:58298 "//components/cronet/android:cronet_package",
pkotwicz92e2e2312015-12-15 22:29:46299 "//components/cronet/android:cronet_sample_apk",
300 "//components/cronet/android:cronet_sample_test_apk",
301 "//components/cronet/android:cronet_test_apk",
302 "//components/cronet/android:cronet_test_instrumentation_apk",
303 "//components/cronet/android:cronet_unittests",
304 ]
305 }
306
pkotwicz061c5a42015-09-30 02:16:54307 if (!is_chromecast) {
308 deps += [
michaelbaicbcc7e62015-11-12 04:29:53309 "//android_webview",
agrieveb08e2f5b2015-12-29 01:17:30310 "//android_webview/test",
agrieve1a3e9eb2015-12-29 02:07:26311 "//android_webview/tools",
pkotwicze2dae8b2015-11-03 20:12:55312 "//chrome/android:chrome_junit_tests",
pkotwicz061c5a42015-09-30 02:16:54313 "//chrome/android:chrome_public_apk",
314 "//chrome/android:chrome_public_test_apk",
315 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
agrieve473155b2015-12-28 20:23:11316 "//content/shell/android:content_shell_test_apk",
pkotwicz0a2255e2015-10-06 16:29:05317 "//third_party/custom_tabs_client:custom_tabs_client_example_apk",
pkotwicz061c5a42015-09-30 02:16:54318 ]
319 }
320
pkotwicz06a4b4b42015-10-29 23:11:11321 if (target_cpu != "x64") {
322 deps += [ "//third_party/android_platform:android_relocation_packer_unittests($host_toolchain)" ]
323 }
324
cjhopmanca675d3e2014-10-24 03:50:45325 if (has_chrome_android_internal) {
dprankee2ef3822015-02-24 21:42:18326 deps += [ "//clank" ] # TODO(GYP) ??
cjhopmanca675d3e2014-10-24 03:50:45327 }
dprankedb5527d72015-03-08 04:22:47328 }
329
pkotwicza4d233b22015-11-02 18:20:38330 if (is_linux || is_android) { # TODO(GYP): || is_bsd?
dprankefd1813272015-04-13 23:56:00331 deps += [
pkotwicza4d233b22015-11-02 18:20:38332 "//breakpad:breakpad_unittests",
dprankefd1813272015-04-13 23:56:00333 "//breakpad:core-2-minidump",
pkotwicza4d233b22015-11-02 18:20:38334 "//breakpad:generate_test_dump",
dprankefd1813272015-04-13 23:56:00335 "//breakpad:minidump-2-core",
336 ]
337 }
338
dpranke6293d252015-04-14 19:12:00339 if (is_chromeos) {
340 deps += [
341 "//chromeos:chromeos_unittests",
342 "//ui/chromeos:ui_chromeos_unittests",
343 ]
344 }
345
dprankefd1813272015-04-13 23:56:00346 if (is_chromeos || is_mac || is_win) {
347 deps += [
348 "//rlz:rlz_id",
349 "//rlz:rlz_lib",
350 "//rlz:rlz_unittests",
351 ]
352 }
353
dprankedb5527d72015-03-08 04:22:47354 if (is_linux) {
355 # The following are definitely linux-only.
hiroshigee6d374c2015-02-24 07:54:06356 deps += [
dpranke2bc89212015-11-18 00:24:43357 "//chrome:manpage",
358 "//chrome:xdg_mime",
dprankedb5527d72015-03-08 04:22:47359 "//dbus:dbus_test_server",
dprankee2ef3822015-02-24 21:42:18360 "//dbus:dbus_unittests",
dprankedb5527d72015-03-08 04:22:47361 "//net:disk_cache_memory_test",
362 "//net:flip_in_mem_edsm_server",
363 "//net:flip_in_mem_edsm_server_unittests",
364 "//net:quic_client",
365 "//net:quic_server",
366 "//sandbox/linux:chrome_sandbox",
dprankee2ef3822015-02-24 21:42:18367 "//sandbox/linux:sandbox_linux_unittests",
hiroshigee6d374c2015-02-24 07:54:06368 ]
dnicoara8c6aa8e2015-03-11 23:20:32369
370 if (is_chromeos || use_ash) {
371 deps += [ "//components/session_manager/core" ]
372 }
dpranke2bc89212015-11-18 00:24:43373
374 if (is_chrome_branded && is_official_build) {
375 # TODO(dpranke): add the linux_dump_symbols flag?
376 deps += [ "//chrome:linux_symbols" ]
377 }
dprankedb5527d72015-03-08 04:22:47378 }
379
sherouke1859f92015-08-05 10:19:10380 if (is_ios || is_win || (is_linux && !is_chromeos)) {
381 deps += [
382 "//base:base_i18n_perftests",
383 "//base:base_perftests",
sherouk710734d2015-09-02 19:02:58384 "//google_apis:google_apis_unittests",
sherouke1859f92015-08-05 10:19:10385 ]
386 }
387
agrieve473155b2015-12-28 20:23:11388 if (is_android || is_win || (is_linux && !is_chromeos)) {
tfarina9e7cf702015-02-23 21:13:44389 deps += [
dprankedb5527d72015-03-08 04:22:47390 "//base:build_utf8_validator_tables",
dpranke244f9732015-11-20 05:38:10391 "//base:check_example",
dprankedb5527d72015-03-08 04:22:47392 "//cc:cc_perftests",
dprankefd1813272015-04-13 23:56:00393 "//cc/blink:cc_blink_unittests",
dprankedb5527d72015-03-08 04:22:47394 "//components:components_perftests",
dprankedb5527d72015-03-08 04:22:47395 "//content/test:content_gl_benchmark",
dpranke244f9732015-11-20 05:38:10396 "//content/test:content_gl_tests",
dprankedb5527d72015-03-08 04:22:47397 "//device:device_unittests",
398 "//gin:gin_shell",
dprankedb5527d72015-03-08 04:22:47399 "//gin:gin_unittests",
dprankedb5527d72015-03-08 04:22:47400 "//google_apis/gcm:mcs_probe",
dprankefd1813272015-04-13 23:56:00401 "//gpu:gl_tests",
dpranke244f9732015-11-20 05:38:10402 "//gpu:gpu_perftests",
dprankedb5527d72015-03-08 04:22:47403 "//ipc:ipc_perftests",
dprankedb5527d72015-03-08 04:22:47404 "//media:media_perftests",
dprankefd1813272015-04-13 23:56:00405 "//net:dump_cache",
dprankedb5527d72015-03-08 04:22:47406 "//sync:run_sync_testserver",
dprankedb5527d72015-03-08 04:22:47407 "//third_party/codesighs:maptsvdifftool",
dprankefd1813272015-04-13 23:56:00408 "//third_party/libphonenumber:libphonenumber_unittests",
dprankedb5527d72015-03-08 04:22:47409 "//ui/compositor:compositor_unittests",
410 ]
411
agrieve473155b2015-12-28 20:23:11412 # TODO(GYP): Figure out which of these should (and can) build
413 # for chromeos/mac/ios.
414 if (!is_android) {
415 deps += [
416 "//chrome/test:load_library_perf_tests",
417 "//chrome/test:sync_performance_tests",
418 "//chrome/test/chromedriver:chromedriver",
419 "//chrome/test/chromedriver:chromedriver_tests",
420 "//courgette:courgette",
421 "//courgette:courgette_fuzz",
422 "//courgette:courgette_minimal_tool",
423 "//courgette:courgette_unittests",
424 "//media/cast:generate_barcode_video",
425 "//media/cast:generate_timecode_audio",
426 "//net:crash_cache",
427 "//net:crl_set_dump",
428 "//net:dns_fuzz_stub",
429 "//net:gdig",
430 "//net:get_server_time",
431 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in_net
432 "//net:run_testserver",
433 "//net:stress_cache",
434 "//net:tld_cleanup",
435 "//ppapi:pepper_hash_for_uma",
436 "//ppapi:ppapi_perftests",
437 "//third_party/angle/src/tests:angle_unittests",
438 "//third_party/leveldatabase:env_chromium_unittests",
439 "//third_party/libaddressinput:libaddressinput_unittests",
440 ]
441 }
442 if (!is_android && !is_linux) {
dpranke7e19b472015-11-13 00:49:33443 # TODO(dpranke): Re-enable this once
444 # https://chromium-review.googlesource.com/#/c/312298/1 is rolled
445 # into chromium.
446 deps += [ "//third_party/angle/src/tests:angle_end2end_tests" ]
447 }
448
dprankedb5527d72015-03-08 04:22:47449 if (enable_extensions) {
450 deps += [ "//extensions/shell:app_shell" ]
451 }
452
453 if (enable_nacl) {
brettwf4b4a4282015-12-16 00:41:13454 deps += [ "//components/nacl/loader:nacl_loader_unittests" ]
dpranke2bc89212015-11-18 00:24:43455
456 if (is_linux) {
457 # TODO(dpranke): Figure out what platforms should actually have this.
458 deps += [
brettwf4b4a4282015-12-16 00:41:13459 "//components/nacl/loader:helper_nonsfi",
460 "//components/nacl/loader:nacl_helper",
jbudorick3c0ef43092016-02-03 23:40:16461 "//components/nacl/loader:nacl_helper_nonsfi_unittests",
dpranke2bc89212015-11-18 00:24:43462 ]
463 }
dprankedb5527d72015-03-08 04:22:47464 }
465
xhwangfa2d9d472015-12-18 23:31:18466 if (media_use_ffmpeg && !is_android) {
mostynb2196a462015-08-20 17:22:10467 deps += [ "//media:ffmpeg_regression_tests" ]
468 }
dprankefd1813272015-04-13 23:56:00469 }
470
agrieve473155b2015-12-28 20:23:11471 if (is_android || (is_linux && !is_chromeos)) {
dprankefd1813272015-04-13 23:56:00472 deps += [
473 # TODO(GYP): Figure out which of these should (and can) build
474 # under which other conditions.
agrieve473155b2015-12-28 20:23:11475 "//breakpad:dump_syms($host_toolchain)",
476 "//breakpad:microdump_stackwalk($host_toolchain)",
477 "//breakpad:minidump_dump($host_toolchain)",
478 "//breakpad:minidump_stackwalk($host_toolchain)",
dprankefd1813272015-04-13 23:56:00479 "//components/network_hints/browser",
dprankefd1813272015-04-13 23:56:00480 "//content/public/app:browser",
481 "//content/public/app:child",
482
483 # TODO(GYP): Remove this when the gles2 tests work
484 "//gpu/command_buffer/client:gles2_implementation_no_check",
dprankefd1813272015-04-13 23:56:00485 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/471903 to make this complete.
rockotc637caf9b2016-02-10 09:57:08486 "//mojo/edk/test:mojo_public_system_perftests",
ben273c1e32016-01-12 02:44:08487 "//mojo/shell/public/cpp",
dprankefd1813272015-04-13 23:56:00488 "//testing/gmock:gmock_main",
dpranke244f9732015-11-20 05:38:10489 "//third_party/codesighs:nm2tsv",
dprankefd1813272015-04-13 23:56:00490 ]
491
agrieve473155b2015-12-28 20:23:11492 if (!is_android) {
493 deps += [
494 "//build/sanitizers:copy_llvm_symbolizer",
495 "//chrome/test:chrome_app_unittests",
496 "//media/cast:cast_benchmarks",
497 "//media/cast:tap_proxy",
498 "//skia:filter_fuzz_stub",
499 "//skia:image_operations_bench",
500 "//sync/tools:sync_client",
501 "//sync/tools:sync_listen_notifications",
502 "//third_party/sqlite:sqlite_shell",
503 "//ui/keyboard:keyboard_unittests",
504 "//ui/message_center:message_center_unittests",
505 "//ui/snapshot:snapshot_unittests",
506 "//ui/views/examples:views_examples_with_content_exe",
507 ]
dprankefd1813272015-04-13 23:56:00508
agrieve473155b2015-12-28 20:23:11509 if (!is_debug && !is_component_build) {
510 deps += [ "//chrome/tools/service_discovery_sniffer" ]
511 }
dprankefd1813272015-04-13 23:56:00512 }
513
514 if (toolkit_views) {
515 deps += [ "//ui/app_list:app_list_demo" ]
516 }
dprankedb5527d72015-03-08 04:22:47517
518 if (use_x11) {
wtc6e2e29c2015-03-13 01:09:44519 if (target_cpu != "arm") {
tfarina8944e6f2015-03-25 20:06:59520 deps += [ "//gpu/tools/compositor_model_bench" ]
wtc6e2e29c2015-03-13 01:09:44521 }
dprankedb5527d72015-03-08 04:22:47522 }
523 }
524
525 if (is_mac) {
526 deps += [
527 "//breakpad:crash_inspector",
528 "//breakpad:dump_syms",
tfarina9e7cf702015-02-23 21:13:44529 "//third_party/apple_sample_code",
530 "//third_party/molokocacao",
531 ]
dpranke43760592014-11-08 02:59:57532 deps -= [
brettw011138d2015-10-21 03:05:38533 # Mojo in GN contains some things which are never compiled in GYP on Mac,
534 # so compilation fails on Mac. They need porting.
brettwe1d40652015-10-23 23:06:10535 "//mojo",
dprankecf8465db72014-11-10 23:51:22536 ]
dprankefd1813272015-04-13 23:56:00537 }
538
539 if (is_win) {
540 deps += [
541 "//base:pe_image_test",
grt734e87b2015-07-06 19:36:43542 "//chrome/installer/setup:setup_unittests",
dprankefd1813272015-04-13 23:56:00543 "//chrome_elf:chrome_elf_unittests",
544 "//chrome_elf:dll_hash_main",
dprankefd1813272015-04-13 23:56:00545 "//components/wifi:wifi_test",
546 "//net:quic_client",
547 "//net:quic_server",
548 "//sandbox/win:pocdll",
549 "//sandbox/win:sandbox_poc",
550 "//sandbox/win:sbox_integration_tests",
551 "//sandbox/win:sbox_unittests",
552 "//sandbox/win:sbox_validation_tests",
553 "//testing/gtest:gtest_main",
554 "//third_party/codesighs:msmap2tsv",
555 "//third_party/pdfium/samples:pdfium_diff",
556 "//ui/metro_viewer",
557 ]
dprankee2ef3822015-02-24 21:42:18558 deps -= [
559 "//crypto:crypto_unittests", # TODO(GYP)
560 "//net:net_unittests", # TODO(GYP)
561 ]
sherouk53f0f1a2015-08-03 15:59:35562 } else if (!is_android && !is_ios) {
miu45b848fe2015-11-26 01:23:29563 deps += [ "//breakpad:symupload($host_toolchain)" ]
mohsenf837da7c2014-12-09 19:01:34564 }
slance9d62f2015-11-04 01:15:01565 if (is_chromecast) {
566 deps += [ "//chromecast:cast_shell" ]
567 }
miu45b848fe2015-11-26 01:23:29568
dpranked43eab42015-12-15 23:10:44569 if (is_mac) { # TODO(GYP) || is_ios
miu45b848fe2015-11-26 01:23:29570 deps += [ "//media/cast:cast_h264_vt_encoder_unittests" ]
571 }
hbos17a7b4a22015-12-07 10:49:45572
573 if (use_openh264) {
574 deps += [
575 "//third_party/openh264:common",
576 "//third_party/openh264:encoder",
577 "//third_party/openh264:processing",
578 ]
579 }
brettw@chromium.orgf0e7ff882013-12-26 21:23:09580}
brettw533c50422015-02-26 17:49:16581
sky60a230b2016-01-23 01:04:53582# This group contains all the targets needed to run mojo's apptest_runner.
583group("mojo_apptests") {
584 testonly = true
585
586 deps = []
587
588 if (is_win || is_linux) {
589 deps += [
skyfcde3a42016-02-09 20:27:44590 "//components/filesystem:apptests",
ergb22301f2016-02-17 19:37:54591 "//components/leveldb:apptests",
skyfcde3a42016-02-09 20:27:44592 "//components/mus/ws:tests",
593 "//components/resource_provider:apptests",
594 "//components/resource_provider:resource_provider_unittests",
sky60a230b2016-01-23 01:04:53595 "//mash/wm:tests",
jrummell135d61e2016-01-27 19:36:17596 "//media/mojo/services:tests",
msw9a371982016-02-11 01:12:13597 "//mojo/services/network:apptests",
bena7a61962016-02-18 20:56:21598 "//mojo/shell/tests:apptests",
sky60a230b2016-01-23 01:04:53599 "//ui/views/mus:tests",
600 ]
601 }
602}
603
dpranked62d8512015-03-02 03:06:03604group("gn_only") {
dprankedb5527d72015-03-08 04:22:47605 testonly = true
606
dpranke2a294622015-08-07 05:23:01607 deps = []
608
amistry4dcd7c42015-12-16 04:53:10609 if (!is_ios) {
610 deps += [ "//mojo/common:mojo_common_perftests" ]
611 }
612
dpranke244f9732015-11-20 05:38:10613 if (!is_android && !is_ios && !is_chromeos) {
isherman0f89b43eb2015-04-11 00:02:45614 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
615 }
616
ben8f4e95ad2015-12-01 18:35:58617 if (is_win || is_linux) {
sky70471b22016-01-14 16:20:54618 deps += [
sky60a230b2016-01-23 01:04:53619 ":mojo_apptests",
sky70471b22016-01-14 16:20:54620 "//mash:all",
skyfcde3a42016-02-09 20:27:44621 "//mojo",
sky70471b22016-01-14 16:20:54622 ]
sky97b65592015-11-02 20:08:25623 }
624
zhaoqin756f8572016-01-25 21:41:17625 if (is_win && use_drfuzz) {
626 # build libfuzzer fuzzers on Windows to run with Dr. Fuzz
627 deps += [
628 "//testing/libfuzzer/fuzzers",
629 "//testing/libfuzzer/tests:libfuzzer_tests",
630 ]
631 }
632
slance9d62f2015-11-04 01:15:01633 if (is_linux && !is_chromeos && !is_chromecast) {
dprankedb5527d72015-03-08 04:22:47634 # TODO(GYP): Figure out if any of these should be in gn_all
635 # and figure out how cross-platform they are
isherman0f89b43eb2015-04-11 00:02:45636 deps += [
dprankedb5527d72015-03-08 04:22:47637 ":gn_mojo_targets",
638 "//chrome/browser/resources:extension_resource_demo",
639 "//chrome/installer/util:strings",
dprankedb5527d72015-03-08 04:22:47640 "//chrome/tools/convert_dict",
641 "//components/constrained_window:unit_tests",
dprankedb5527d72015-03-08 04:22:47642 "//components/metrics:serialization",
isherman0f89b43eb2015-04-11 00:02:45643 "//components/password_manager/content/renderer:browser_tests",
dprankedb5527d72015-03-08 04:22:47644 "//components/rappor:unit_tests",
645 "//components/sessions:unit_tests",
646 "//media/blink:media_blink_unittests",
dprankedb5527d72015-03-08 04:22:47647 "//media/cast:udp_proxy",
dprankedb5527d72015-03-08 04:22:47648 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
649 "//storage/browser:dump_file_system",
aizatskyc562c132016-01-20 00:00:14650 "//testing/libfuzzer/fuzzers",
651 "//testing/libfuzzer/tests:libfuzzer_tests",
dprankedb5527d72015-03-08 04:22:47652 "//third_party/angle:libANGLE",
653 "//third_party/angle:libEGL",
654 "//third_party/angle:libGLESv2",
655 "//third_party/cld_2:cld_2_dynamic_data_tool",
656 "//third_party/leveldatabase:leveldb_arena_test",
657 "//third_party/leveldatabase:leveldb_bloom_test",
dprankedb5527d72015-03-08 04:22:47658 "//third_party/leveldatabase:leveldb_cache_test",
dprankedb5527d72015-03-08 04:22:47659 "//third_party/leveldatabase:leveldb_corruption_test",
dpranke244f9732015-11-20 05:38:10660 "//third_party/leveldatabase:leveldb_crc32c_test",
661 "//third_party/leveldatabase:leveldb_db_bench",
662 "//third_party/leveldatabase:leveldb_db_test",
dprankedb5527d72015-03-08 04:22:47663 "//third_party/leveldatabase:leveldb_dbformat_test",
dpranke244f9732015-11-20 05:38:10664 "//third_party/leveldatabase:leveldb_env_test",
665 "//third_party/leveldatabase:leveldb_filename_test",
666 "//third_party/leveldatabase:leveldb_filter_block_test",
667 "//third_party/leveldatabase:leveldb_log_test",
668 "//third_party/leveldatabase:leveldb_skiplist_test",
669 "//third_party/leveldatabase:leveldb_table_test",
670 "//third_party/leveldatabase:leveldb_version_edit_test",
671 "//third_party/leveldatabase:leveldb_write_batch_test",
dprankedb5527d72015-03-08 04:22:47672 "//third_party/libjpeg_turbo:simd",
dpranke244f9732015-11-20 05:38:10673 "//third_party/libsrtp:rdbx_driver",
dprankedb5527d72015-03-08 04:22:47674 "//third_party/libsrtp:replay_driver",
675 "//third_party/libsrtp:roc_driver",
676 "//third_party/libsrtp:rtpw",
dprankedb5527d72015-03-08 04:22:47677 "//third_party/libsrtp:srtp_driver",
678 "//third_party/libsrtp:srtp_driver",
dpranke244f9732015-11-20 05:38:10679 "//third_party/libsrtp:srtp_test_aes_calc",
dprankedb5527d72015-03-08 04:22:47680 "//third_party/libsrtp:srtp_test_cipher_driver",
681 "//third_party/libsrtp:srtp_test_datatypes_driver",
dprankedb5527d72015-03-08 04:22:47682 "//third_party/libsrtp:srtp_test_env",
dpranke244f9732015-11-20 05:38:10683 "//third_party/libsrtp:srtp_test_kernel_driver",
dprankedb5527d72015-03-08 04:22:47684 "//third_party/libsrtp:srtp_test_rand_gen",
685 "//third_party/libsrtp:srtp_test_sha1_driver",
686 "//third_party/libsrtp:srtp_test_stat_driver",
687 "//third_party/opus:opus_compare",
688 "//third_party/opus:opus_demo",
dpranke244f9732015-11-20 05:38:10689 "//third_party/opus:test_opus_api",
dprankedb5527d72015-03-08 04:22:47690 "//third_party/opus:test_opus_decode",
691 "//third_party/opus:test_opus_encode",
dprankedb5527d72015-03-08 04:22:47692 "//third_party/opus:test_opus_padding",
dpranke244f9732015-11-20 05:38:10693 "//third_party/pdfium/third_party:fx_freetype",
dprankedb5527d72015-03-08 04:22:47694 "//third_party/webrtc/system_wrappers:field_trial_default",
695 "//third_party/webrtc/system_wrappers:metrics_default",
696 "//ui/display/types",
697 "//ui/shell_dialogs:shell_dialogs_unittests",
698 "//ui/views/examples:views_examples_exe",
dprankedb5527d72015-03-08 04:22:47699 ]
dprankeb0713542015-07-31 21:07:21700
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16701 if (target_cpu == "x86" || target_cpu == "x64") {
agrieve473155b2015-12-28 20:23:11702 if (!is_android) {
703 deps += [ "//chrome/test:load_library_perf_tests" ]
704 }
mcgrathr916aafa2015-09-15 00:06:53705 deps += [
mcgrathr916aafa2015-09-15 00:06:53706 "//native_client/src/trusted/platform_qualify:vcpuid",
dpranke244f9732015-11-20 05:38:10707 "//third_party/libjpeg_turbo:simd_asm",
mcgrathr916aafa2015-09-15 00:06:53708 ]
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16709 }
dprankedb5527d72015-03-08 04:22:47710 if (use_ozone) {
711 deps += [ "//ui/ozone/demo" ]
712 }
dpranke807f6022015-03-17 23:20:56713
714 if (is_linux && current_toolchain == host_toolchain) {
715 deps += [ "//v8:d8" ]
716 }
dprankedb5527d72015-03-08 04:22:47717 }
dprankeb0713542015-07-31 21:07:21718
sbc92b4d572016-02-18 03:28:23719 if (enable_nacl) {
720 deps += [ "//native_client_sdk/src:nacl_core_sdk" ]
721 }
722
agrieve473155b2015-12-28 20:23:11723 if (is_android) {
724 deps += [
725 "//build/android/gyp/test:hello_world",
726 "//build/android/incremental_install:bootstrap_java",
727 ]
nyquistb5f050b2015-09-10 05:10:35728 }
729
agrieve473155b2015-12-28 20:23:11730 if (!is_chromecast && (is_android || is_linux || is_chromeos)) {
731 deps += [
732 "//blimp",
733 "//blimp:blimp_tests",
734 ]
dprankeb0713542015-07-31 21:07:21735 }
dprankedb5527d72015-03-08 04:22:47736}
737
738group("gn_mojo_targets") {
739 testonly = true
740 if (is_linux && !is_chromeos) {
741 # TODO(GYP): Figure out if any of these should be in gn_all
742 # and figure out how cross-platform they are
743 deps = [
dprankedb5527d72015-03-08 04:22:47744 "//ipc/mojo:ipc_mojo_perftests",
dprankedb5527d72015-03-08 04:22:47745 "//media/mojo:tests",
dpranke244f9732015-11-20 05:38:10746 "//media/mojo/services:cdm_service",
msw1bb9c6c2015-05-06 21:35:44747 "//mojo:tests",
dprankedb5527d72015-03-08 04:22:47748 ]
dprankedb5527d72015-03-08 04:22:47749 }
750}
751
752group("gn_visibility") {
dpranked62d8512015-03-02 03:06:03753 deps = [
dprankeb6128d02015-05-01 16:40:30754 "//build/config/sanitizers:options_sources",
755
dprankedb5527d72015-03-08 04:22:47756 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
757 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
dprankeb6128d02015-05-01 16:40:30758
759 "//ui/resources:repack_ui_test_mac_locale_pack",
dpranked62d8512015-03-02 03:06:03760 ]
dpranked2fb5222015-09-10 22:39:05761
762 if (!is_ios) {
763 deps += [
dpranked2fb5222015-09-10 22:39:05764 "//v8:postmortem-metadata",
dpranke244f9732015-11-20 05:38:10765 "//v8:v8_snapshot",
dpranked2fb5222015-09-10 22:39:05766 ]
767 }
dpranked62d8512015-03-02 03:06:03768}
769
tfarinacb2638b2015-05-12 03:24:15770if (!is_ios) {
771 # This group includes all of the targets needed to build and test Blink,
772 # including running the layout tests (see below).
773 group("blink_tests") {
774 testonly = true
775
776 deps = [
777 "//third_party/WebKit/public:all_blink",
778 ]
779
780 # NOTE: The following deps are needed to run the layout tests
781 # (run-webkit-tests) but there is no GN target for the layout tests,
782 # so we need to specify the dependencies here instead.
783 if (is_android) {
784 deps += [
pkotwicza4d233b22015-11-02 18:20:38785 "//breakpad:breakpad_unittests_deps",
tfarinacb2638b2015-05-12 03:24:15786 "//breakpad:dump_syms($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38787 "//breakpad:microdump_stackwalk($host_toolchain)",
788 "//breakpad:minidump_dump($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15789 "//breakpad:minidump_stackwalk($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38790 "//breakpad:symupload($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15791 "//content/shell/android:content_shell_apk",
ojan94989c72015-07-17 21:56:42792 "//tools/imagediff($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15793 ]
794 } else {
ojan94989c72015-07-17 21:56:42795 deps += [
796 "//content/shell:content_shell",
797 "//tools/imagediff",
798 ]
tfarinacb2638b2015-05-12 03:24:15799 }
800
801 if (is_win) {
802 deps += [
jochen73e711c2015-06-03 10:01:46803 "//components/test_runner:layout_test_helper",
brettw0d3b1df2015-12-03 00:10:01804 "//content/shell:content_shell_crash_service",
tfarinacb2638b2015-05-12 03:24:15805 ]
806 }
807
808 if (!is_win && !is_android) {
Gordana.Cmiljanovicf243e9a2015-05-26 22:14:47809 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
tfarinacb2638b2015-05-12 03:24:15810 }
811
812 if (is_mac) {
813 deps += [
814 "//breakpad:dump_syms($host_toolchain)",
jochen73e711c2015-06-03 10:01:46815 "//components/test_runner:layout_test_helper",
tfarinacb2638b2015-05-12 03:24:15816 ]
817 }
818
819 if (is_linux) {
820 deps += [ "//breakpad:dump_syms($host_toolchain)" ]
821 }
822 }
823}
824
dpranke6abd8652015-08-28 03:21:11825# Add a dummy target for compatibility w/ GYP
826group("chromium_swarm_tests") {
827}
828
dpranke2302dfa2015-09-29 02:21:52829group("chromium_builder_perf") {
830 testonly = true
831
832 # TODO(GYP): Make this target work on the mac.
833 if (!is_ios && !is_android && !is_chromecast && !is_mac) {
834 deps = [
835 "//cc:cc_perftests",
836 "//chrome",
837 "//chrome/test:load_library_perf_tests",
838 "//chrome/test:sync_performance_tests",
839 "//gpu:gpu_perftests",
840 "//media:media_perftests",
841 "//media/midi:midi_unittests",
nednguyenc42bf912016-01-27 01:39:28842 "//third_party/catapult/telemetry:bitmaptools",
dpranke2302dfa2015-09-29 02:21:52843 ]
844
845 if (!is_chromeos) {
846 deps += [ "//chrome/test:performance_browser_tests" ]
847 }
848 if (is_linux && !is_chromeos) {
dpranke9aed5d582015-11-22 23:22:04849 if (is_official_build) {
850 # In GN builds, this is controlled by the 'linux_dump_symbols'
851 # flag, which defaults to 1 for official builds. For now,
852 # we skip the separate flag and just key off of is_official_build.
853 deps += [ "//chrome:linux_symbols" ]
854 }
dpranke2302dfa2015-09-29 02:21:52855
856 if (!is_chromeos) {
857 deps += [ "//tools/perf/clear_system_cache" ]
858 }
859 }
860
861 if (is_win) {
862 deps += [
brettw0d3b1df2015-12-03 00:10:01863 "//chrome/tools/crash_service",
dpranke2302dfa2015-09-29 02:21:52864 # "//gpu:angle_perftests", TODO(GYP): crbug.com/537008
865 ]
866
867 if (target_cpu == "x86") {
brettw0d3b1df2015-12-03 00:10:01868 deps += [ "//chrome/tools/crash_service:crash_service_win64" ]
dpranke2302dfa2015-09-29 02:21:52869 }
870 } else {
dprankeec10b3932015-10-02 17:58:23871 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
dpranke2302dfa2015-09-29 02:21:52872 }
873 }
874}