[go: nahoru, domu]

blob: 9b2bc8d2e7ebef954f531dd08fd75b1acc867739 [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")
dpranked43eab42015-12-15 23:10:4415import("//build_overrides/webrtc.gni")
mostynb2196a462015-08-20 17:22:1016import("//media/media_options.gni")
hbos17a7b4a22015-12-07 10:49:4517import("//third_party/openh264/openh264_args.gni")
dprankee2ef3822015-02-24 21:42:1818
cjhopmanca675d3e2014-10-24 03:50:4519if (is_android) {
20 import("//build/config/android/config.gni")
21}
tfarina@chromium.org378b4f02014-06-10 15:58:4522
brettwb84b2942014-10-22 22:58:4523declare_args() {
24 # A list of extra dependencies to add to the root target. This allows a
25 # checkout to add additional targets without explicitly changing any checked-
26 # in files.
27 root_extra_deps = []
28}
29
dprankeef9c5e582015-11-15 23:22:0830# This file defines the following five main targets:
dpranked62d8512015-03-02 03:06:0331#
dprankeddc174902015-04-29 01:38:3532# "both_gn_and_gyp" should list every root target (target that nothing else
33# depends on) built by GN that is also built in the GYP build.
dpranked62d8512015-03-02 03:06:0334#
dprankeddc174902015-04-29 01:38:3535# "gn_all" should (transitively) cause everything to be built; if you run
36# 'ninja gn_all' and then 'ninja all', the second build should do no work.
37#
dprankeef9c5e582015-11-15 23:22:0838# "gn_only" should list every root target that is *not* intended to be built in
39# a GYP build. Because GN has different rules for deciding what an 'all' build
40# is, this may end up including targets that are actually defined in a GYP
41# build but not dependencies of GYP's "all" (and so not actually built).
dprankeddc174902015-04-29 01:38:3542#
dprankeb6128d02015-05-01 16:40:3043# "gn_visibility": targets that are normally not visible to top-level targets,
dprankeef9c5e582015-11-15 23:22:0844# but are built anyway by "all". Since we don't want any such targets, we have
45# this placeholder to make sure hidden targets that aren't otherwise depended
46# on yet are accounted for.
47#
48# "All" is an alias for "gn_all". It exists for bot compatibility w/ GYP for
49# the iOS bots and the official builders, but should not be generally used
50# during the GYP->GN migration. We cannot guarantee that GN's "All" builds the
51# same set of targets as GYP's "All" does, because GYP's "All" supports
52# wildcards.
53#
54# Lastly, none of these targets are guaranteed to be the same as what ninja
55# will build with "all". For more on how "all" works and the differences in how
56# GYP and GN determine "all", see crbug.com/503241.
dprankeb6128d02015-05-01 16:40:3057#
dprankeddc174902015-04-29 01:38:3558# TODO(GYP): crbug.com/481694. Make sure that the above is true and there are
dprankeef9c5e582015-11-15 23:22:0859# scripts run on the bots that enforce this. Once the GYP migration is over, we
60# can collapse all of these targets as desired.
dprankeff30e3d2015-02-24 06:52:3961
dprankee2ef3822015-02-24 21:42:1862group("gn_all") {
dprankeddc174902015-04-29 01:38:3563 testonly = true
64
65 deps = [
66 ":both_gn_and_gyp",
67 ":gn_only",
dprankeb6128d02015-05-01 16:40:3068 ":gn_visibility",
dprankeddc174902015-04-29 01:38:3569 ]
70}
71
dprankeef9c5e582015-11-15 23:22:0872# TODO(GYP): This target exists for compatibility with GYP, specifically
73# for the iOS bots and the official builders.
74group("All") {
75 testonly = true
76
77 deps = [
78 ":gn_all",
79 ]
80}
81
dprankeddc174902015-04-29 01:38:3582# The "both_gn_and_gyp" target should reflect every target that is built
83# in both the GN and GYP builds, and ideally it should match the
84# "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line.
85#
86# TODO(GYP): Add build steps that check and enforce this on the bots.
87group("both_gn_and_gyp") {
dprankee2ef3822015-02-24 21:42:1888 testonly = true
dprankee2ef3822015-02-24 21:42:1889 deps = [
90 "//base:base_unittests",
brettwa874dcc2015-08-28 23:59:1891 "//chrome/installer",
sheroukdc35ba272015-09-22 14:09:3792 "//components:components_unittests",
sheroukce1c7d72015-08-24 15:21:5993 "//net:net_unittests",
sherouk2866d662015-08-24 16:29:4494 "//skia:skia_unittests",
brettwa874dcc2015-08-28 23:59:1895 "//sql:sql_unittests",
sherouk3eee4a82015-09-01 10:42:3396 "//sync:sync_unit_tests",
sherouk4fb74d42015-08-24 15:58:4197 "//ui/base:ui_base_unittests",
sherouk84a45ff2015-09-01 13:31:3998 "//ui/gfx:gfx_unittests",
sherouk4fb74d42015-08-24 15:58:4199 "//url:url_unittests",
dprankee2ef3822015-02-24 21:42:18100 ]
dpranke2a294622015-08-07 05:23:01101
slance9d62f2015-11-04 01:15:01102 if (!is_ios && !is_android && !is_chromecast) {
sherouk53f0f1a2015-08-03 15:59:35103 deps += [
sherouk53f0f1a2015-08-03 15:59:35104 "//chrome",
105 "//chrome/test:browser_tests",
106 "//chrome/test:interactive_ui_tests",
107 "//chrome/test:sync_integration_tests",
sherouk53f0f1a2015-08-03 15:59:35108 "//chrome/test/chromedriver:chromedriver_unittests",
sherouk53f0f1a2015-08-03 15:59:35109 "//crypto:crypto_unittests",
sherouk53f0f1a2015-08-03 15:59:35110 "//extensions:extensions_browsertests",
111 "//extensions:extensions_unittests",
112 "//google_apis/gcm:gcm_unit_tests",
dprankedbdd9d82015-08-12 21:18:18113 "//gpu/gles2_conform_support:gles2_conform_test",
sherouk53f0f1a2015-08-03 15:59:35114 "//jingle:jingle_unittests",
sherouk53f0f1a2015-08-03 15:59:35115 "//net:hpack_example_generator",
116 "//net:hpack_fuzz_mutator",
117 "//net:hpack_fuzz_wrapper",
sherouk53f0f1a2015-08-03 15:59:35118 "//ppapi:ppapi_unittests",
119 "//ppapi/examples/2d",
120 "//ppapi/examples/audio",
121 "//ppapi/examples/audio_input",
122 "//ppapi/examples/compositor",
123 "//ppapi/examples/crxfs",
124 "//ppapi/examples/enumerate_devices",
125 "//ppapi/examples/file_chooser",
126 "//ppapi/examples/flash_topmost",
127 "//ppapi/examples/font",
128 "//ppapi/examples/gamepad",
129 "//ppapi/examples/gles2",
130 "//ppapi/examples/gles2_spinning_cube",
131 "//ppapi/examples/ime",
132 "//ppapi/examples/input",
133 "//ppapi/examples/media_stream_audio",
134 "//ppapi/examples/media_stream_video",
135 "//ppapi/examples/mouse_cursor",
136 "//ppapi/examples/mouse_lock",
137 "//ppapi/examples/printing",
138 "//ppapi/examples/scaling",
139 "//ppapi/examples/scripting",
140 "//ppapi/examples/stub",
141 "//ppapi/examples/threading",
142 "//ppapi/examples/url_loader",
143 "//ppapi/examples/video_capture",
144 "//ppapi/examples/video_decode",
145 "//ppapi/examples/video_effects",
146 "//ppapi/examples/video_encode",
147 "//printing:printing_unittests",
sherouk53f0f1a2015-08-03 15:59:35148 "//third_party/cacheinvalidation:cacheinvalidation_unittests",
149 "//third_party/codesighs",
pkotwicz558d5252015-10-19 21:09:55150 "//third_party/pdfium/samples:pdfium_test",
151 "//tools/gn",
pkotwicz558d5252015-10-19 21:09:55152 "//tools/gn:generate_test_gn_data",
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",
179 "//mojo/application/public/cpp",
180 "//mojo/common:mojo_common_unittests",
181 "//net:net_perftests",
jam76bcf0c2015-10-02 21:01:28182
183 # TODO(use-new-edk):
184 #"//mojo/edk/system:mojo_system_unittests",
185 #"//mojo/edk/test:mojo_public_bindings_unittests",
186 #"//mojo/edk/test:mojo_public_environment_unittests",
187 #"//mojo/edk/test:mojo_public_system_unittests",
188 #"//mojo/edk/test:mojo_public_utility_unittests",
Dirk Pranke49802732015-12-10 01:36:41189 "//third_party/WebKit/Source/platform:blink_heap_unittests",
190 "//third_party/WebKit/Source/platform:blink_platform_unittests",
dpranke244f9732015-11-20 05:38:10191 "//third_party/WebKit/Source/web:webkit_unit_tests",
192 "//third_party/WebKit/Source/wtf:wtf_unittests",
sherouk53f0f1a2015-08-03 15:59:35193 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
194 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
195 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
196 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
197 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
sherouk53f0f1a2015-08-03 15:59:35198 "//third_party/smhasher:pmurhash",
199 "//tools/imagediff($host_toolchain)",
sherouk53f0f1a2015-08-03 15:59:35200 "//tools/telemetry:bitmaptools($host_toolchain)",
sherouk53f0f1a2015-08-03 15:59:35201 "//ui/display:display_unittests",
202 "//ui/events:events_unittests",
sherouk53f0f1a2015-08-03 15:59:35203 "//ui/gl:gl_unittests",
204 "//ui/touch_selection:ui_touch_selection_unittests",
sherouk53f0f1a2015-08-03 15:59:35205 ]
sdefresne998e8582015-10-07 13:36:45206 } else {
sdefresnea378b452015-10-08 09:55:58207 deps += [
208 "//ios/net:ios_net_unittests",
sdefresne89308c92015-11-16 10:40:34209 "//ios/public/provider/web",
sdefresnec6ddd7ac2015-10-09 17:30:19210 "//ios/testing:ocmock_support_unittest",
sdefresneaa7c1cf2015-10-22 00:41:11211 "//ios/web:ios_web_unittests",
dpranke244f9732015-11-20 05:38:10212 "//ios/web/shell:ios_web_shell",
sdefresnea378b452015-10-08 09:55:58213 ]
dpranked43eab42015-12-15 23:10:44214
215 if (ios_use_webrtc) {
216 deps += [
217 "//ios/chrome:ios_chrome_unittests",
218 "//ios/chrome/app",
219 "//ios/chrome/browser",
220 "//ios/chrome/common",
221 "//ios/public/provider/chrome/browser",
222 ]
223 }
sherouk53f0f1a2015-08-03 15:59:35224 }
dprankee2ef3822015-02-24 21:42:18225
agrieve97dd57d2016-01-05 19:26:27226 if (is_mac || is_win || is_linux) {
227 deps += [ "//tools/battor_agent" ]
228 }
229
scottmg34fb7e52014-12-03 23:27:24230 deps += root_extra_deps
brettw@chromium.orgfce5c3fe2014-04-10 21:13:05231
tfarina4aa9edc2015-10-26 22:14:02232 if (enable_extensions) {
rockot2f1326e2015-02-23 23:53:51233 deps += [ "//extensions/shell:app_shell_unittests" ]
dprankefd1813272015-04-13 23:56:00234 }
235
dprankefd1813272015-04-13 23:56:00236 if (enable_media_router) {
imchengb6b09239f2015-05-15 21:41:55237 deps += [ "//chrome/browser/media/router" ]
rockot2f1326e2015-02-23 23:53:51238 }
239
garykac3eddb5b2015-04-17 23:16:38240 if (enable_remoting) {
241 deps += [ "//remoting:remoting_all" ]
James Robinson060f2e32014-09-10 22:31:37242 }
243
dprankee2ef3822015-02-24 21:42:18244 if (toolkit_views) {
245 deps += [ "//ui/views:views_unittests" ]
brettw@chromium.org6b9028ab2014-07-23 17:15:38246 }
247
dprankee2ef3822015-02-24 21:42:18248 if (use_aura) {
249 deps += [ "//ui/wm:wm_unittests" ]
250 }
251
252 if (use_ozone) {
dprankedb5527d72015-03-08 04:22:47253 deps += [ "//ui/ozone" ]
tfarina@chromium.orga306aaa2014-05-24 13:21:50254 }
255
dprankefd1813272015-04-13 23:56:00256 if (use_x11) {
257 deps += [ "//tools/xdisplaycheck" ]
kmarshalld2f3bea2015-03-11 23:42:22258 }
259
tmoniuszkoe5578b922015-04-14 09:38:03260 if (enable_configuration_policy) {
261 deps += [ "//components/policy:policy_templates" ]
262 }
263
dprankefd1813272015-04-13 23:56:00264 if (v8_use_external_startup_data) {
265 deps += [ "//gin:gin_v8_snapshot_fingerprint" ]
brettw@chromium.org137dff6d2014-06-12 19:35:55266 }
267
brettw66e3feab2015-07-20 23:52:22268 if (is_win) {
brettwf986f952015-10-07 17:18:15269 deps += [
270 "//chrome/installer/gcapi",
271 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy",
272 ]
brettw66e3feab2015-07-20 23:52:22273 }
274
dpranke@chromium.org5a8d5162014-04-12 01:19:16275 if (is_android) {
cjhopman@chromium.org26046b52014-07-16 00:11:03276 deps += [
pkotwicze2dae8b2015-11-03 20:12:55277 "//base:base_junit_tests",
dpranke244f9732015-11-20 05:38:10278 "//base/android/linker:chromium_android_linker",
cjhopman3d85c6d2014-11-18 03:39:38279 "//build/android/gyp/test:hello_world",
cjhopman31511332014-10-23 01:05:02280 "//build/android/rezip",
pkotwicze2dae8b2015-11-03 20:12:55281 "//components/invalidation/impl:components_invalidation_impl_junit_tests",
282 "//components/policy/android:components_policy_junit_tests",
283 "//content/public/android:content_junit_tests",
pkotwicz8adff4e2015-12-17 21:55:45284 "//content/shell/android:content_shell_apk",
285 "//content/test:video_decode_accelerator_unittest",
pkotwicze2dae8b2015-11-03 20:12:55286 "//net/android:net_junit_tests",
287 "//testing/android/junit:junit_unittests",
pkotwicz8adff4e2015-12-17 21:55:45288 "//third_party/android_tools:uiautomator_java",
agrieve40ba6862015-07-15 02:09:05289 "//third_party/errorprone:chromium_errorprone",
pkotwicz8adff4e2015-12-17 21:55:45290 "//third_party/smhasher:murmurhash3",
pkotwicze38594d2015-09-25 00:05:10291 "//tools/android:android_tools",
pkotwicz6b5571b2015-12-08 21:54:49292 "//tools/android:memconsumer",
pkotwicz8b9d18c2015-10-05 01:59:33293 "//tools/android/heap_profiler:heap_profiler_unittests",
dgn28050da2015-10-19 10:16:43294 "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk",
pkotwicz077093762015-12-21 16:47:15295 "//tools/cygprofile:cygprofile_unittests",
dprankee2ef3822015-02-24 21:42:18296 "//tools/imagediff($host_toolchain)",
dprankee2ef3822015-02-24 21:42:18297 ]
298 deps -= [
rockot9c67e5f2015-03-12 20:01:21299 "//net:net_perftests",
dprankee2ef3822015-02-24 21:42:18300 "//url:url_unittests",
cjhopman@chromium.org26046b52014-07-16 00:11:03301 ]
302
pkotwicz92e2e2312015-12-15 22:29:46303 if (!is_component_build) {
304 deps += [
agrievee23386b2016-01-05 04:47:58305 "//components/cronet/android:cronet_package",
pkotwicz92e2e2312015-12-15 22:29:46306 "//components/cronet/android:cronet_sample_apk",
307 "//components/cronet/android:cronet_sample_test_apk",
308 "//components/cronet/android:cronet_test_apk",
309 "//components/cronet/android:cronet_test_instrumentation_apk",
310 "//components/cronet/android:cronet_unittests",
311 ]
312 }
313
pkotwicz061c5a42015-09-30 02:16:54314 if (!is_chromecast) {
315 deps += [
michaelbaicbcc7e62015-11-12 04:29:53316 "//android_webview",
agrieveb08e2f5b2015-12-29 01:17:30317 "//android_webview/test",
agrieve1a3e9eb2015-12-29 02:07:26318 "//android_webview/tools",
pkotwicze2dae8b2015-11-03 20:12:55319 "//chrome/android:chrome_junit_tests",
pkotwicz061c5a42015-09-30 02:16:54320 "//chrome/android:chrome_public_apk",
321 "//chrome/android:chrome_public_test_apk",
322 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
agrieve473155b2015-12-28 20:23:11323 "//content/shell/android:content_shell_test_apk",
pkotwicz0a2255e2015-10-06 16:29:05324 "//third_party/custom_tabs_client:custom_tabs_client_example_apk",
pkotwicz061c5a42015-09-30 02:16:54325 ]
326 }
327
pkotwicz06a4b4b42015-10-29 23:11:11328 if (target_cpu != "x64") {
329 deps += [ "//third_party/android_platform:android_relocation_packer_unittests($host_toolchain)" ]
330 }
331
cjhopmanca675d3e2014-10-24 03:50:45332 if (has_chrome_android_internal) {
dprankee2ef3822015-02-24 21:42:18333 deps += [ "//clank" ] # TODO(GYP) ??
cjhopmanca675d3e2014-10-24 03:50:45334 }
dprankefd1813272015-04-13 23:56:00335 }
336
pkotwicza4d233b22015-11-02 18:20:38337 if (is_linux || is_android) { # TODO(GYP): || is_bsd?
dprankefd1813272015-04-13 23:56:00338 deps += [
pkotwicza4d233b22015-11-02 18:20:38339 "//breakpad:breakpad_unittests",
dprankefd1813272015-04-13 23:56:00340 "//breakpad:core-2-minidump",
pkotwicza4d233b22015-11-02 18:20:38341 "//breakpad:generate_test_dump",
dprankefd1813272015-04-13 23:56:00342 "//breakpad:minidump-2-core",
343 ]
344 }
345
dpranke6293d252015-04-14 19:12:00346 if (is_chromeos) {
347 deps += [
348 "//chromeos:chromeos_unittests",
349 "//ui/chromeos:ui_chromeos_unittests",
350 ]
351 }
352
dprankefd1813272015-04-13 23:56:00353 if (is_chromeos || is_mac || is_win) {
354 deps += [
355 "//rlz:rlz_id",
356 "//rlz:rlz_lib",
357 "//rlz:rlz_unittests",
358 ]
dprankedb5527d72015-03-08 04:22:47359 }
360
361 if (is_linux) {
362 # The following are definitely linux-only.
hiroshigee6d374c2015-02-24 07:54:06363 deps += [
dpranke2bc89212015-11-18 00:24:43364 "//chrome:manpage",
365 "//chrome:xdg_mime",
dprankedb5527d72015-03-08 04:22:47366 "//dbus:dbus_test_server",
dprankee2ef3822015-02-24 21:42:18367 "//dbus:dbus_unittests",
dprankedb5527d72015-03-08 04:22:47368 "//net:disk_cache_memory_test",
369 "//net:flip_in_mem_edsm_server",
370 "//net:flip_in_mem_edsm_server_unittests",
371 "//net:quic_client",
372 "//net:quic_server",
373 "//sandbox/linux:chrome_sandbox",
dprankee2ef3822015-02-24 21:42:18374 "//sandbox/linux:sandbox_linux_unittests",
hiroshigee6d374c2015-02-24 07:54:06375 ]
dnicoara8c6aa8e2015-03-11 23:20:32376
377 if (is_chromeos || use_ash) {
378 deps += [ "//components/session_manager/core" ]
dpranke2bc89212015-11-18 00:24:43379 }
380
381 if (is_chrome_branded && is_official_build) {
382 # TODO(dpranke): add the linux_dump_symbols flag?
383 deps += [ "//chrome:linux_symbols" ]
dnicoara8c6aa8e2015-03-11 23:20:32384 }
dprankedb5527d72015-03-08 04:22:47385 }
386
sherouke1859f92015-08-05 10:19:10387 if (is_ios || is_win || (is_linux && !is_chromeos)) {
388 deps += [
389 "//base:base_i18n_perftests",
390 "//base:base_perftests",
sherouk710734d2015-09-02 19:02:58391 "//google_apis:google_apis_unittests",
sherouke1859f92015-08-05 10:19:10392 ]
393 }
394
agrieve473155b2015-12-28 20:23:11395 if (is_android || is_win || (is_linux && !is_chromeos)) {
tfarina9e7cf702015-02-23 21:13:44396 deps += [
dprankedb5527d72015-03-08 04:22:47397 "//base:build_utf8_validator_tables",
dpranke244f9732015-11-20 05:38:10398 "//base:check_example",
dprankedb5527d72015-03-08 04:22:47399 "//cc:cc_perftests",
dprankefd1813272015-04-13 23:56:00400 "//cc/blink:cc_blink_unittests",
dprankedb5527d72015-03-08 04:22:47401 "//components:components_perftests",
dprankedb5527d72015-03-08 04:22:47402 "//content/test:content_gl_benchmark",
dpranke244f9732015-11-20 05:38:10403 "//content/test:content_gl_tests",
dprankedb5527d72015-03-08 04:22:47404 "//device:device_unittests",
405 "//gin:gin_shell",
dprankedb5527d72015-03-08 04:22:47406 "//gin:gin_unittests",
dprankedb5527d72015-03-08 04:22:47407 "//google_apis/gcm:mcs_probe",
dprankefd1813272015-04-13 23:56:00408 "//gpu:gl_tests",
dpranke244f9732015-11-20 05:38:10409 "//gpu:gpu_perftests",
dprankedb5527d72015-03-08 04:22:47410 "//ipc:ipc_perftests",
dprankedb5527d72015-03-08 04:22:47411 "//media:media_perftests",
dprankefd1813272015-04-13 23:56:00412 "//net:dump_cache",
dprankedb5527d72015-03-08 04:22:47413 "//sync:run_sync_testserver",
dprankedb5527d72015-03-08 04:22:47414 "//third_party/codesighs:maptsvdifftool",
dprankefd1813272015-04-13 23:56:00415 "//third_party/libphonenumber:libphonenumber_unittests",
dprankedb5527d72015-03-08 04:22:47416 "//ui/compositor:compositor_unittests",
417 ]
418
agrieve473155b2015-12-28 20:23:11419 # TODO(GYP): Figure out which of these should (and can) build
420 # for chromeos/mac/ios.
421 if (!is_android) {
422 deps += [
423 "//chrome/test:load_library_perf_tests",
424 "//chrome/test:sync_performance_tests",
425 "//chrome/test/chromedriver:chromedriver",
426 "//chrome/test/chromedriver:chromedriver_tests",
427 "//courgette:courgette",
428 "//courgette:courgette_fuzz",
429 "//courgette:courgette_minimal_tool",
430 "//courgette:courgette_unittests",
431 "//media/cast:generate_barcode_video",
432 "//media/cast:generate_timecode_audio",
433 "//net:crash_cache",
434 "//net:crl_set_dump",
435 "//net:dns_fuzz_stub",
436 "//net:gdig",
437 "//net:get_server_time",
438 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in_net
439 "//net:run_testserver",
440 "//net:stress_cache",
441 "//net:tld_cleanup",
442 "//ppapi:pepper_hash_for_uma",
443 "//ppapi:ppapi_perftests",
444 "//third_party/angle/src/tests:angle_unittests",
445 "//third_party/leveldatabase:env_chromium_unittests",
446 "//third_party/libaddressinput:libaddressinput_unittests",
447 ]
448 }
449 if (!is_android && !is_linux) {
dpranke7e19b472015-11-13 00:49:33450 # TODO(dpranke): Re-enable this once
451 # https://chromium-review.googlesource.com/#/c/312298/1 is rolled
452 # into chromium.
453 deps += [ "//third_party/angle/src/tests:angle_end2end_tests" ]
454 }
455
dprankedb5527d72015-03-08 04:22:47456 if (enable_extensions) {
457 deps += [ "//extensions/shell:app_shell" ]
458 }
459
460 if (enable_nacl) {
brettwf4b4a4282015-12-16 00:41:13461 deps += [ "//components/nacl/loader:nacl_loader_unittests" ]
dpranke2bc89212015-11-18 00:24:43462
463 if (is_linux) {
464 # TODO(dpranke): Figure out what platforms should actually have this.
465 deps += [
brettwf4b4a4282015-12-16 00:41:13466 "//components/nacl/loader:helper_nonsfi",
phosekca8571a92015-12-17 16:35:42467 "//components/nacl/loader:helper_nonsfi_unittests",
brettwf4b4a4282015-12-16 00:41:13468 "//components/nacl/loader:nacl_helper",
dpranke2bc89212015-11-18 00:24:43469 ]
470 }
dprankedb5527d72015-03-08 04:22:47471 }
472
xhwangfa2d9d472015-12-18 23:31:18473 if (media_use_ffmpeg && !is_android) {
mostynb2196a462015-08-20 17:22:10474 deps += [ "//media:ffmpeg_regression_tests" ]
475 }
476
dprankedb5527d72015-03-08 04:22:47477 if (use_ash) {
478 deps += [
benf97b2572015-09-25 23:12:53479 "//ash:ash_shell_with_content",
dprankedb5527d72015-03-08 04:22:47480 "//ash:ash_unittests",
481 ]
482 }
483
484 if (use_aura) {
485 deps += [
486 "//ui/aura:aura_unittests",
487 "//ui/aura:bench",
488 "//ui/aura:demo",
489 ]
490 }
dprankefd1813272015-04-13 23:56:00491 }
492
agrieve473155b2015-12-28 20:23:11493 if (is_android || (is_linux && !is_chromeos)) {
dprankefd1813272015-04-13 23:56:00494 deps += [
495 # TODO(GYP): Figure out which of these should (and can) build
496 # under which other conditions.
agrieve473155b2015-12-28 20:23:11497 "//breakpad:dump_syms($host_toolchain)",
498 "//breakpad:microdump_stackwalk($host_toolchain)",
499 "//breakpad:minidump_dump($host_toolchain)",
500 "//breakpad:minidump_stackwalk($host_toolchain)",
dprankefd1813272015-04-13 23:56:00501 "//cloud_print:cloud_print_unittests",
502 "//components/network_hints/browser",
dprankefd1813272015-04-13 23:56:00503 "//content/public/app:browser",
504 "//content/public/app:child",
505
506 # TODO(GYP): Remove this when the gles2 tests work
507 "//gpu/command_buffer/client:gles2_implementation_no_check",
dprankefd1813272015-04-13 23:56:00508 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/471903 to make this complete.
jam00802992015-05-20 03:37:19509 "//mojo/application/public/cpp",
dprankefd1813272015-04-13 23:56:00510 "//testing/gmock:gmock_main",
jam76bcf0c2015-10-02 21:01:28511
512 # TODO(use-new-edk):
513 #"//mojo/edk/test:mojo_public_system_perftests",
dpranke244f9732015-11-20 05:38:10514 "//third_party/codesighs:nm2tsv",
dprankefd1813272015-04-13 23:56:00515 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
dprankefd1813272015-04-13 23:56:00516 ]
517
agrieve473155b2015-12-28 20:23:11518 if (!is_android) {
519 deps += [
520 "//build/sanitizers:copy_llvm_symbolizer",
521 "//chrome/test:chrome_app_unittests",
522 "//media/cast:cast_benchmarks",
523 "//media/cast:tap_proxy",
524 "//skia:filter_fuzz_stub",
525 "//skia:image_operations_bench",
526 "//sync/tools:sync_client",
527 "//sync/tools:sync_listen_notifications",
528 "//third_party/sqlite:sqlite_shell",
529 "//ui/keyboard:keyboard_unittests",
530 "//ui/message_center:message_center_unittests",
531 "//ui/snapshot:snapshot_unittests",
532 "//ui/views/examples:views_examples_with_content_exe",
533 ]
dprankefd1813272015-04-13 23:56:00534
agrieve473155b2015-12-28 20:23:11535 if (!is_debug && !is_component_build) {
536 deps += [ "//chrome/tools/service_discovery_sniffer" ]
537 }
dprankefd1813272015-04-13 23:56:00538 }
539
540 if (toolkit_views) {
541 deps += [ "//ui/app_list:app_list_demo" ]
542 }
dprankedb5527d72015-03-08 04:22:47543
544 if (use_x11) {
wtc6e2e29c2015-03-13 01:09:44545 if (target_cpu != "arm") {
tfarina8944e6f2015-03-25 20:06:59546 deps += [ "//gpu/tools/compositor_model_bench" ]
wtc6e2e29c2015-03-13 01:09:44547 }
dprankedb5527d72015-03-08 04:22:47548 }
549 }
550
551 if (is_mac) {
552 deps += [
553 "//breakpad:crash_inspector",
554 "//breakpad:dump_syms",
tfarina9e7cf702015-02-23 21:13:44555 "//third_party/apple_sample_code",
556 "//third_party/molokocacao",
557 ]
dpranke43760592014-11-08 02:59:57558 deps -= [
brettw011138d2015-10-21 03:05:38559 # Mojo in GN contains some things which are never compiled in GYP on Mac,
560 # so compilation fails on Mac. They need porting.
brettwe1d40652015-10-23 23:06:10561 "//mojo",
mohsen29fd4052014-12-08 21:06:46562 ]
dprankefd1813272015-04-13 23:56:00563 }
564
565 if (is_win) {
566 deps += [
567 "//base:pe_image_test",
grt734e87b2015-07-06 19:36:43568 "//chrome/installer/setup:setup_unittests",
dprankefd1813272015-04-13 23:56:00569 "//chrome_elf:chrome_elf_unittests",
570 "//chrome_elf:dll_hash_main",
brettw70b359a2015-10-14 23:43:23571 "//cloud_print:cloud_print_unittests",
dpranke244f9732015-11-20 05:38:10572 "//cloud_print/service/win:cloud_print_service",
dprankefd1813272015-04-13 23:56:00573 "//components/wifi:wifi_test",
574 "//net:quic_client",
575 "//net:quic_server",
576 "//sandbox/win:pocdll",
577 "//sandbox/win:sandbox_poc",
578 "//sandbox/win:sbox_integration_tests",
579 "//sandbox/win:sbox_unittests",
580 "//sandbox/win:sbox_validation_tests",
581 "//testing/gtest:gtest_main",
582 "//third_party/codesighs:msmap2tsv",
583 "//third_party/pdfium/samples:pdfium_diff",
584 "//ui/metro_viewer",
585 ]
dprankee2ef3822015-02-24 21:42:18586 deps -= [
587 "//crypto:crypto_unittests", # TODO(GYP)
588 "//net:net_unittests", # TODO(GYP)
589 ]
sherouk53f0f1a2015-08-03 15:59:35590 } else if (!is_android && !is_ios) {
miu45b848fe2015-11-26 01:23:29591 deps += [ "//breakpad:symupload($host_toolchain)" ]
mohsenf837da7c2014-12-09 19:01:34592 }
slance9d62f2015-11-04 01:15:01593 if (is_chromecast) {
594 deps += [ "//chromecast:cast_shell" ]
595 }
miu45b848fe2015-11-26 01:23:29596
dpranked43eab42015-12-15 23:10:44597 if (is_mac) { # TODO(GYP) || is_ios
miu45b848fe2015-11-26 01:23:29598 deps += [ "//media/cast:cast_h264_vt_encoder_unittests" ]
599 }
hbos17a7b4a22015-12-07 10:49:45600
601 if (use_openh264) {
602 deps += [
603 "//third_party/openh264:common",
604 "//third_party/openh264:encoder",
605 "//third_party/openh264:processing",
606 ]
607 }
dpranke18e57432015-02-27 21:46:47608}
609
dpranked62d8512015-03-02 03:06:03610group("gn_only") {
dprankedb5527d72015-03-08 04:22:47611 testonly = true
612
dpranke2a294622015-08-07 05:23:01613 deps = []
614
amistry4dcd7c42015-12-16 04:53:10615 if (!is_ios) {
616 deps += [ "//mojo/common:mojo_common_perftests" ]
617 }
618
agrieve473155b2015-12-28 20:23:11619 if (!is_mac && !is_ios && !is_chromecast) {
dpranke2a294622015-08-07 05:23:01620 deps += [ "//mandoline:all" ]
sherouk53f0f1a2015-08-03 15:59:35621 }
isherman0f89b43eb2015-04-11 00:02:45622
dpranke244f9732015-11-20 05:38:10623 if (!is_android && !is_ios && !is_chromeos) {
isherman0f89b43eb2015-04-11 00:02:45624 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
625 }
626
ben8f4e95ad2015-12-01 18:35:58627 if (is_win || is_linux) {
sky130827232015-11-23 20:41:08628 deps += [ "//mash:all" ]
sky97b65592015-11-02 20:08:25629 }
630
slance9d62f2015-11-04 01:15:01631 if (is_linux && !is_chromeos && !is_chromecast) {
dprankedb5527d72015-03-08 04:22:47632 # TODO(GYP): Figure out if any of these should be in gn_all
633 # and figure out how cross-platform they are
isherman0f89b43eb2015-04-11 00:02:45634 deps += [
dprankedb5527d72015-03-08 04:22:47635 ":gn_mojo_targets",
636 "//chrome/browser/resources:extension_resource_demo",
637 "//chrome/installer/util:strings",
dprankedb5527d72015-03-08 04:22:47638 "//chrome/tools/convert_dict",
639 "//components/constrained_window:unit_tests",
640 "//components/enhanced_bookmarks:test_support",
dprankedb5527d72015-03-08 04:22:47641 "//components/metrics:serialization",
isherman0f89b43eb2015-04-11 00:02:45642 "//components/password_manager/content/renderer:browser_tests",
dprankedb5527d72015-03-08 04:22:47643 "//components/rappor:unit_tests",
644 "//components/sessions:unit_tests",
645 "//media/blink:media_blink_unittests",
dprankedb5527d72015-03-08 04:22:47646 "//media/cast:udp_proxy",
dprankedb5527d72015-03-08 04:22:47647 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
648 "//storage/browser:dump_file_system",
649 "//third_party/angle:libANGLE",
650 "//third_party/angle:libEGL",
651 "//third_party/angle:libGLESv2",
652 "//third_party/cld_2:cld_2_dynamic_data_tool",
653 "//third_party/leveldatabase:leveldb_arena_test",
654 "//third_party/leveldatabase:leveldb_bloom_test",
dprankedb5527d72015-03-08 04:22:47655 "//third_party/leveldatabase:leveldb_cache_test",
dprankedb5527d72015-03-08 04:22:47656 "//third_party/leveldatabase:leveldb_corruption_test",
dpranke244f9732015-11-20 05:38:10657 "//third_party/leveldatabase:leveldb_crc32c_test",
658 "//third_party/leveldatabase:leveldb_db_bench",
659 "//third_party/leveldatabase:leveldb_db_test",
dprankedb5527d72015-03-08 04:22:47660 "//third_party/leveldatabase:leveldb_dbformat_test",
dpranke244f9732015-11-20 05:38:10661 "//third_party/leveldatabase:leveldb_env_test",
662 "//third_party/leveldatabase:leveldb_filename_test",
663 "//third_party/leveldatabase:leveldb_filter_block_test",
664 "//third_party/leveldatabase:leveldb_log_test",
665 "//third_party/leveldatabase:leveldb_skiplist_test",
666 "//third_party/leveldatabase:leveldb_table_test",
667 "//third_party/leveldatabase:leveldb_version_edit_test",
668 "//third_party/leveldatabase:leveldb_write_batch_test",
dprankedb5527d72015-03-08 04:22:47669 "//third_party/libjpeg_turbo:simd",
dpranke244f9732015-11-20 05:38:10670 "//third_party/libsrtp:rdbx_driver",
dprankedb5527d72015-03-08 04:22:47671 "//third_party/libsrtp:replay_driver",
672 "//third_party/libsrtp:roc_driver",
673 "//third_party/libsrtp:rtpw",
dprankedb5527d72015-03-08 04:22:47674 "//third_party/libsrtp:srtp_driver",
675 "//third_party/libsrtp:srtp_driver",
dpranke244f9732015-11-20 05:38:10676 "//third_party/libsrtp:srtp_test_aes_calc",
dprankedb5527d72015-03-08 04:22:47677 "//third_party/libsrtp:srtp_test_cipher_driver",
678 "//third_party/libsrtp:srtp_test_datatypes_driver",
dprankedb5527d72015-03-08 04:22:47679 "//third_party/libsrtp:srtp_test_env",
dpranke244f9732015-11-20 05:38:10680 "//third_party/libsrtp:srtp_test_kernel_driver",
dprankedb5527d72015-03-08 04:22:47681 "//third_party/libsrtp:srtp_test_rand_gen",
682 "//third_party/libsrtp:srtp_test_sha1_driver",
683 "//third_party/libsrtp:srtp_test_stat_driver",
684 "//third_party/opus:opus_compare",
685 "//third_party/opus:opus_demo",
dpranke244f9732015-11-20 05:38:10686 "//third_party/opus:test_opus_api",
dprankedb5527d72015-03-08 04:22:47687 "//third_party/opus:test_opus_decode",
688 "//third_party/opus:test_opus_encode",
dprankedb5527d72015-03-08 04:22:47689 "//third_party/opus:test_opus_padding",
dpranke244f9732015-11-20 05:38:10690 "//third_party/pdfium/third_party:fx_freetype",
dprankedb5527d72015-03-08 04:22:47691 "//third_party/webrtc/system_wrappers:field_trial_default",
692 "//third_party/webrtc/system_wrappers:metrics_default",
693 "//ui/display/types",
694 "//ui/shell_dialogs:shell_dialogs_unittests",
695 "//ui/views/examples:views_examples_exe",
dprankedb5527d72015-03-08 04:22:47696 ]
dprankeb0713542015-07-31 21:07:21697
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16698 if (target_cpu == "x86" || target_cpu == "x64") {
agrieve473155b2015-12-28 20:23:11699 if (!is_android) {
700 deps += [ "//chrome/test:load_library_perf_tests" ]
701 }
mcgrathr916aafa2015-09-15 00:06:53702 deps += [
mcgrathr916aafa2015-09-15 00:06:53703 "//native_client/src/trusted/platform_qualify:vcpuid",
dpranke244f9732015-11-20 05:38:10704 "//third_party/libjpeg_turbo:simd_asm",
mcgrathr916aafa2015-09-15 00:06:53705 ]
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16706 }
dprankedb5527d72015-03-08 04:22:47707 if (enable_nacl) {
708 deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]
709 }
710 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 }
nyquist6aeec5142015-09-10 03:38:52717 }
718
agrieve473155b2015-12-28 20:23:11719 if (is_android) {
720 deps += [
721 "//build/android/gyp/test:hello_world",
722 "//build/android/incremental_install:bootstrap_java",
723 ]
nyquistb5f050b2015-09-10 05:10:35724 }
725
agrieve473155b2015-12-28 20:23:11726 if (!is_chromecast && (is_android || is_linux || is_chromeos)) {
727 deps += [
728 "//blimp",
729 "//blimp:blimp_tests",
730 ]
dprankeb0713542015-07-31 21:07:21731 }
aizatskyfc46a9f2015-10-09 21:20:08732
zhaoqin36e94032015-12-11 23:39:12733 if (use_libfuzzer || use_drfuzz) {
aizatskyddefc992015-11-20 08:42:03734 # these are needed only for gn to discover build files.
735 deps += [
736 "//testing/libfuzzer:libfuzzer_main",
agrieved7a71c882015-11-20 19:53:28737 "//testing/libfuzzer/fuzzers:string_to_int_fuzzer",
mostynb395de472015-12-21 13:23:20738 "//testing/libfuzzer/tests:libfuzzer_tests",
aizatskyddefc992015-11-20 08:42:03739 ]
aizatskyfc46a9f2015-10-09 21:20:08740 }
dprankedb5527d72015-03-08 04:22:47741}
742
743group("gn_mojo_targets") {
744 testonly = true
745 if (is_linux && !is_chromeos) {
746 # TODO(GYP): Figure out if any of these should be in gn_all
747 # and figure out how cross-platform they are
748 deps = [
dprankedb5527d72015-03-08 04:22:47749 "//ipc/mojo:ipc_mojo_perftests",
dprankedb5527d72015-03-08 04:22:47750 "//media/mojo:tests",
dpranke244f9732015-11-20 05:38:10751 "//media/mojo/services:cdm_service",
msw1bb9c6c2015-05-06 21:35:44752 "//mojo:tests",
pkotwicz8b9d18c2015-10-05 01:59:33753
jam76bcf0c2015-10-02 21:01:28754 # TODO(use-new-edk):
755 #"//mojo/edk/js/test:js_integration_tests",
756 #"//mojo/edk/js/tests:js_to_cpp_bindings_python",
dprankedb5527d72015-03-08 04:22:47757 "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests",
dprankedb5527d72015-03-08 04:22:47758 ]
dprankedb5527d72015-03-08 04:22:47759 }
760}
761
762group("gn_visibility") {
dpranked62d8512015-03-02 03:06:03763 deps = [
dprankeb6128d02015-05-01 16:40:30764 "//build/config/sanitizers:options_sources",
765
dprankedb5527d72015-03-08 04:22:47766 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
767 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
dprankeb6128d02015-05-01 16:40:30768
769 "//ui/resources:repack_ui_test_mac_locale_pack",
dpranked62d8512015-03-02 03:06:03770 ]
dpranked2fb5222015-09-10 22:39:05771
772 if (!is_ios) {
773 deps += [
dpranked2fb5222015-09-10 22:39:05774 "//v8:postmortem-metadata",
dpranke244f9732015-11-20 05:38:10775 "//v8:v8_snapshot",
dpranked2fb5222015-09-10 22:39:05776 ]
777 }
dpranked62d8512015-03-02 03:06:03778}
779
tfarinacb2638b2015-05-12 03:24:15780if (!is_ios) {
781 # This group includes all of the targets needed to build and test Blink,
782 # including running the layout tests (see below).
783 group("blink_tests") {
784 testonly = true
785
786 deps = [
787 "//third_party/WebKit/public:all_blink",
788 ]
789
790 # NOTE: The following deps are needed to run the layout tests
791 # (run-webkit-tests) but there is no GN target for the layout tests,
792 # so we need to specify the dependencies here instead.
793 if (is_android) {
794 deps += [
pkotwicza4d233b22015-11-02 18:20:38795 "//breakpad:breakpad_unittests_deps",
tfarinacb2638b2015-05-12 03:24:15796 "//breakpad:dump_syms($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38797 "//breakpad:microdump_stackwalk($host_toolchain)",
798 "//breakpad:minidump_dump($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15799 "//breakpad:minidump_stackwalk($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38800 "//breakpad:symupload($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15801 "//content/shell/android:content_shell_apk",
ojan94989c72015-07-17 21:56:42802 "//tools/imagediff($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15803 ]
804 } else {
ojan94989c72015-07-17 21:56:42805 deps += [
806 "//content/shell:content_shell",
807 "//tools/imagediff",
808 ]
tfarinacb2638b2015-05-12 03:24:15809 }
810
811 if (is_win) {
812 deps += [
jochen73e711c2015-06-03 10:01:46813 "//components/test_runner:layout_test_helper",
brettw0d3b1df2015-12-03 00:10:01814 "//content/shell:content_shell_crash_service",
tfarinacb2638b2015-05-12 03:24:15815 ]
816 }
817
818 if (!is_win && !is_android) {
Gordana.Cmiljanovicf243e9a2015-05-26 22:14:47819 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
tfarinacb2638b2015-05-12 03:24:15820 }
821
822 if (is_mac) {
823 deps += [
824 "//breakpad:dump_syms($host_toolchain)",
jochen73e711c2015-06-03 10:01:46825 "//components/test_runner:layout_test_helper",
tfarinacb2638b2015-05-12 03:24:15826 ]
827 }
828
829 if (is_linux) {
830 deps += [ "//breakpad:dump_syms($host_toolchain)" ]
831 }
832 }
833}
834
dpranke6abd8652015-08-28 03:21:11835# Add a dummy target for compatibility w/ GYP
836group("chromium_swarm_tests") {
837}
838
dpranke2302dfa2015-09-29 02:21:52839group("chromium_builder_perf") {
840 testonly = true
841
842 # TODO(GYP): Make this target work on the mac.
843 if (!is_ios && !is_android && !is_chromecast && !is_mac) {
844 deps = [
845 "//cc:cc_perftests",
846 "//chrome",
847 "//chrome/test:load_library_perf_tests",
848 "//chrome/test:sync_performance_tests",
849 "//gpu:gpu_perftests",
850 "//media:media_perftests",
851 "//media/midi:midi_unittests",
852 "//tools/telemetry:bitmaptools",
853 ]
854
855 if (!is_chromeos) {
856 deps += [ "//chrome/test:performance_browser_tests" ]
857 }
858 if (is_linux && !is_chromeos) {
dpranke9aed5d582015-11-22 23:22:04859 if (is_official_build) {
860 # In GN builds, this is controlled by the 'linux_dump_symbols'
861 # flag, which defaults to 1 for official builds. For now,
862 # we skip the separate flag and just key off of is_official_build.
863 deps += [ "//chrome:linux_symbols" ]
864 }
dpranke2302dfa2015-09-29 02:21:52865
866 if (!is_chromeos) {
867 deps += [ "//tools/perf/clear_system_cache" ]
868 }
869 }
870
871 if (is_win) {
872 deps += [
brettw0d3b1df2015-12-03 00:10:01873 "//chrome/tools/crash_service",
dpranke2302dfa2015-09-29 02:21:52874 # "//gpu:angle_perftests", TODO(GYP): crbug.com/537008
875 ]
876
877 if (target_cpu == "x86") {
brettw0d3b1df2015-12-03 00:10:01878 deps += [ "//chrome/tools/crash_service:crash_service_win64" ]
dpranke2302dfa2015-09-29 02:21:52879 }
880 } else {
dprankeec10b3932015-10-02 17:58:23881 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
dpranke2302dfa2015-09-29 02:21:52882 }
883 }
884}