blob: 8c4052f7c2b5d2d3d3c949d928def6dd26d2eb1b [file] [log] [blame]
[email protected]f0e7ff882013-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")
[email protected]378b4f02014-06-10 15:58:4513import("//build/config/ui.gni")
dpranked4da5ab42015-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}
[email protected]378b4f02014-06-10 15:58:4522
brettwb84b29472014-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") {
63 testonly = true
64
65 deps = [
dprankeddc174902015-04-29 01:38:3566 ":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") {
88 testonly = true
dprankeddc174902015-04-29 01:38:3589 deps = [
dprankee2ef3822015-02-24 21:42:1890 "//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",
charliea00055282016-01-26 00:15:15151 "//tools/battor_agent",
charliea5daef2bb2016-01-29 00:13:25152 "//tools/battor_agent:battor_agent_unittests",
pkotwicz558d5252015-10-19 21:09:55153 "//tools/gn",
dpranke244f973d62015-11-20 05:38:10154 "//tools/gn:gn_unittests",
pkotwicz558d5252015-10-19 21:09:55155 "//tools/perf/clear_system_cache",
156 "//ui/accessibility:accessibility_unittests",
157 "//ui/app_list:app_list_unittests",
158 ]
159 }
160
161 if (!is_ios) {
162 # TODO(GYP): Figure out which of these should actually build on iOS,
163 # and whether there should be other targets that are iOS-only and missing.
164 deps += [
165 "//cc:cc_unittests",
166 "//chrome/test:unit_tests",
167 "//components:components_browsertests",
168 "//content/shell:content_shell",
169 "//content/test:content_browsertests",
170 "//content/test:content_perftests",
171 "//content/test:content_unittests",
172 "//device:device_unittests",
173 "//gpu:gpu_unittests",
174 "//ipc:ipc_tests",
175 "//ipc/mojo:ipc_mojo_unittests",
176 "//media:media_unittests",
miu45b848fe2015-11-26 01:23:29177 "//media/cast:cast_unittests",
pkotwicz558d5252015-10-19 21:09:55178 "//media/midi:midi_unittests",
179 "//mojo",
pkotwicz558d5252015-10-19 21:09:55180 "//mojo/common:mojo_common_unittests",
rockotc637caf9b2016-02-10 09:57:08181 "//mojo/edk/system:mojo_system_unittests",
182 "//mojo/edk/test:mojo_public_bindings_unittests",
183 "//mojo/edk/test:mojo_public_environment_unittests",
184 "//mojo/edk/test:mojo_public_system_unittests",
185 "//mojo/edk/test:mojo_public_utility_unittests",
ben273c1e32016-01-12 02:44:08186 "//mojo/shell/public/cpp",
pkotwicz558d5252015-10-19 21:09:55187 "//net:net_perftests",
Dirk Pranke49802732015-12-10 01:36:41188 "//third_party/WebKit/Source/platform:blink_heap_unittests",
189 "//third_party/WebKit/Source/platform:blink_platform_unittests",
dpranke244f973d62015-11-20 05:38:10190 "//third_party/WebKit/Source/web:webkit_unit_tests",
191 "//third_party/WebKit/Source/wtf:wtf_unittests",
nednguyenc42bf912016-01-27 01:39:28192 "//third_party/catapult/telemetry:bitmaptools($host_toolchain)",
sherouk53f0f1a2015-08-03 15:59:35193 "//third_party/smhasher:pmurhash",
194 "//tools/imagediff($host_toolchain)",
sherouk53f0f1a2015-08-03 15:59:35195 "//ui/display:display_unittests",
196 "//ui/events:events_unittests",
sherouk53f0f1a2015-08-03 15:59:35197 "//ui/gl:gl_unittests",
198 "//ui/touch_selection:ui_touch_selection_unittests",
sherouk53f0f1a2015-08-03 15:59:35199 ]
sdefresne998e8582015-10-07 13:36:45200 } else {
sdefresnea378b452015-10-08 09:55:58201 deps += [
202 "//ios/net:ios_net_unittests",
sdefresne89308c92015-11-16 10:40:34203 "//ios/public/provider/web",
sdefresnec6ddd7ac2015-10-09 17:30:19204 "//ios/testing:ocmock_support_unittest",
sdefresneaa7c1cf2015-10-22 00:41:11205 "//ios/web:ios_web_unittests",
dpranke244f973d62015-11-20 05:38:10206 "//ios/web/shell:ios_web_shell",
sdefresnea378b452015-10-08 09:55:58207 ]
dpranked43eab42015-12-15 23:10:44208
209 if (ios_use_webrtc) {
210 deps += [
211 "//ios/chrome:ios_chrome_unittests",
212 "//ios/chrome/app",
213 "//ios/chrome/browser",
214 "//ios/chrome/common",
215 "//ios/public/provider/chrome/browser",
216 ]
217 }
sherouk53f0f1a2015-08-03 15:59:35218 }
dprankee2ef3822015-02-24 21:42:18219
scottmg34fb7e52014-12-03 23:27:24220 deps += root_extra_deps
[email protected]fce5c3fe2014-04-10 21:13:05221
tfarina4aa9edc2015-10-26 22:14:02222 if (enable_extensions) {
rockot2f1326e2015-02-23 23:53:51223 deps += [ "//extensions/shell:app_shell_unittests" ]
224 }
225
dprankefd1813272015-04-13 23:56:00226 if (enable_media_router) {
imchengb6b09239f2015-05-15 21:41:55227 deps += [ "//chrome/browser/media/router" ]
dprankefd1813272015-04-13 23:56:00228 }
229
garykac3eddb5b2015-04-17 23:16:38230 if (enable_remoting) {
231 deps += [ "//remoting:remoting_all" ]
dprankece5eb832015-04-01 20:21:05232 }
233
dprankee2ef3822015-02-24 21:42:18234 if (toolkit_views) {
235 deps += [ "//ui/views:views_unittests" ]
James Robinson060f2e32014-09-10 22:31:37236 }
237
dprankee2ef3822015-02-24 21:42:18238 if (use_aura) {
mswda0133e62016-02-16 20:50:02239 deps += [
240 "//ash:ash_shell_with_content",
241 "//ash:ash_unittests",
242 "//ui/aura:aura_unittests",
243 "//ui/aura:bench",
244 "//ui/aura:demo",
245 "//ui/wm:wm_unittests",
246 ]
dprankee2ef3822015-02-24 21:42:18247 }
248
249 if (use_ozone) {
dprankedb5527d72015-03-08 04:22:47250 deps += [ "//ui/ozone" ]
[email protected]a306aaa2014-05-24 13:21:50251 }
252
dprankefd1813272015-04-13 23:56:00253 if (use_x11) {
254 deps += [ "//tools/xdisplaycheck" ]
kmarshalld2f3bea2015-03-11 23:42:22255 }
256
tmoniuszkoe5578b922015-04-14 09:38:03257 if (enable_configuration_policy) {
258 deps += [ "//components/policy:policy_templates" ]
259 }
260
dprankefd1813272015-04-13 23:56:00261 if (v8_use_external_startup_data) {
262 deps += [ "//gin:gin_v8_snapshot_fingerprint" ]
[email protected]2d6893a2014-06-02 19:16:36263 }
264
brettw66e3feab2015-07-20 23:52:22265 if (is_win) {
brettwf986f9572015-10-07 17:18:15266 deps += [
267 "//chrome/installer/gcapi",
268 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy",
269 ]
brettw66e3feab2015-07-20 23:52:22270 }
271
[email protected]5a8d5162014-04-12 01:19:16272 if (is_android) {
[email protected]26046b52014-07-16 00:11:03273 deps += [
pkotwicze2dae8b2015-11-03 20:12:55274 "//base:base_junit_tests",
dpranke244f973d62015-11-20 05:38:10275 "//base/android/linker:chromium_android_linker",
cjhopman3d85c6d2014-11-18 03:39:38276 "//build/android/gyp/test:hello_world",
cjhopman31511332014-10-23 01:05:02277 "//build/android/rezip",
pkotwicze2dae8b2015-11-03 20:12:55278 "//components/invalidation/impl:components_invalidation_impl_junit_tests",
279 "//components/policy/android:components_policy_junit_tests",
280 "//content/public/android:content_junit_tests",
pkotwicz8adff4e2015-12-17 21:55:45281 "//content/shell/android:content_shell_apk",
282 "//content/test:video_decode_accelerator_unittest",
pkotwicze2dae8b2015-11-03 20:12:55283 "//net/android:net_junit_tests",
284 "//testing/android/junit:junit_unittests",
pkotwicz8adff4e2015-12-17 21:55:45285 "//third_party/android_tools:uiautomator_java",
agrieve40ba6862015-07-15 02:09:05286 "//third_party/errorprone:chromium_errorprone",
pkotwicz8adff4e2015-12-17 21:55:45287 "//third_party/smhasher:murmurhash3",
pkotwicze38594d2015-09-25 00:05:10288 "//tools/android:android_tools",
pkotwicz6b5571b2015-12-08 21:54:49289 "//tools/android:memconsumer",
pkotwicz8b9d18c2015-10-05 01:59:33290 "//tools/android/heap_profiler:heap_profiler_unittests",
dgn28050da2015-10-19 10:16:43291 "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk",
pkotwicz077093762015-12-21 16:47:15292 "//tools/cygprofile:cygprofile_unittests",
dprankee2ef3822015-02-24 21:42:18293 "//tools/imagediff($host_toolchain)",
newt9e226032016-01-26 01:30:15294 "//ui/android:ui_junit_tests",
dprankee2ef3822015-02-24 21:42:18295 ]
296 deps -= [
rockot9c67e5f2015-03-12 20:01:21297 "//net:net_perftests",
dprankee2ef3822015-02-24 21:42:18298 "//url:url_unittests",
[email protected]26046b52014-07-16 00:11:03299 ]
300
pkotwicz92e2e2312015-12-15 22:29:46301 if (!is_component_build) {
302 deps += [
agrievee23386b2016-01-05 04:47:58303 "//components/cronet/android:cronet_package",
pkotwicz92e2e2312015-12-15 22:29:46304 "//components/cronet/android:cronet_sample_apk",
305 "//components/cronet/android:cronet_sample_test_apk",
306 "//components/cronet/android:cronet_test_apk",
307 "//components/cronet/android:cronet_test_instrumentation_apk",
308 "//components/cronet/android:cronet_unittests",
309 ]
310 }
311
pkotwicz061c5a42015-09-30 02:16:54312 if (!is_chromecast) {
313 deps += [
michaelbaicbcc7e62015-11-12 04:29:53314 "//android_webview",
agrieveb08e2f5b2015-12-29 01:17:30315 "//android_webview/test",
agrieve1a3e9eb2015-12-29 02:07:26316 "//android_webview/tools",
pkotwicze2dae8b2015-11-03 20:12:55317 "//chrome/android:chrome_junit_tests",
pkotwicz061c5a42015-09-30 02:16:54318 "//chrome/android:chrome_public_apk",
319 "//chrome/android:chrome_public_test_apk",
320 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
agrieve473155b42015-12-28 20:23:11321 "//content/shell/android:content_shell_test_apk",
pkotwicz0a2255e2015-10-06 16:29:05322 "//third_party/custom_tabs_client:custom_tabs_client_example_apk",
pkotwicz061c5a42015-09-30 02:16:54323 ]
324 }
325
pkotwicz06a4b4b42015-10-29 23:11:11326 if (target_cpu != "x64") {
327 deps += [ "//third_party/android_platform:android_relocation_packer_unittests($host_toolchain)" ]
328 }
329
cjhopmanca675d3e2014-10-24 03:50:45330 if (has_chrome_android_internal) {
dprankee2ef3822015-02-24 21:42:18331 deps += [ "//clank" ] # TODO(GYP) ??
cjhopmanca675d3e2014-10-24 03:50:45332 }
dprankedb5527d72015-03-08 04:22:47333 }
334
pkotwicza4d233b22015-11-02 18:20:38335 if (is_linux || is_android) { # TODO(GYP): || is_bsd?
dprankefd1813272015-04-13 23:56:00336 deps += [
pkotwicza4d233b22015-11-02 18:20:38337 "//breakpad:breakpad_unittests",
dprankefd1813272015-04-13 23:56:00338 "//breakpad:core-2-minidump",
pkotwicza4d233b22015-11-02 18:20:38339 "//breakpad:generate_test_dump",
dprankefd1813272015-04-13 23:56:00340 "//breakpad:minidump-2-core",
341 ]
342 }
343
dpranke6293d252015-04-14 19:12:00344 if (is_chromeos) {
345 deps += [
346 "//chromeos:chromeos_unittests",
347 "//ui/chromeos:ui_chromeos_unittests",
348 ]
349 }
350
dprankefd1813272015-04-13 23:56:00351 if (is_chromeos || is_mac || is_win) {
352 deps += [
353 "//rlz:rlz_id",
354 "//rlz:rlz_lib",
355 "//rlz:rlz_unittests",
356 ]
357 }
358
dprankedb5527d72015-03-08 04:22:47359 if (is_linux) {
360 # The following are definitely linux-only.
hiroshigee6d374c2015-02-24 07:54:06361 deps += [
dpranke2bc89212015-11-18 00:24:43362 "//chrome:manpage",
363 "//chrome:xdg_mime",
dprankedb5527d72015-03-08 04:22:47364 "//dbus:dbus_test_server",
dprankee2ef3822015-02-24 21:42:18365 "//dbus:dbus_unittests",
dprankedb5527d72015-03-08 04:22:47366 "//net:disk_cache_memory_test",
367 "//net:flip_in_mem_edsm_server",
368 "//net:flip_in_mem_edsm_server_unittests",
369 "//net:quic_client",
370 "//net:quic_server",
371 "//sandbox/linux:chrome_sandbox",
dprankee2ef3822015-02-24 21:42:18372 "//sandbox/linux:sandbox_linux_unittests",
hiroshigee6d374c2015-02-24 07:54:06373 ]
dnicoara8c6aa8e2015-03-11 23:20:32374
375 if (is_chromeos || use_ash) {
376 deps += [ "//components/session_manager/core" ]
377 }
dpranke2bc89212015-11-18 00:24:43378
379 if (is_chrome_branded && is_official_build) {
380 # TODO(dpranke): add the linux_dump_symbols flag?
381 deps += [ "//chrome:linux_symbols" ]
382 }
dprankedb5527d72015-03-08 04:22:47383 }
384
sherouke1859f92015-08-05 10:19:10385 if (is_ios || is_win || (is_linux && !is_chromeos)) {
386 deps += [
387 "//base:base_i18n_perftests",
388 "//base:base_perftests",
sherouk710734d2015-09-02 19:02:58389 "//google_apis:google_apis_unittests",
sherouke1859f92015-08-05 10:19:10390 ]
391 }
392
agrieve473155b42015-12-28 20:23:11393 if (is_android || is_win || (is_linux && !is_chromeos)) {
tfarina9e7cf702015-02-23 21:13:44394 deps += [
dprankedb5527d72015-03-08 04:22:47395 "//base:build_utf8_validator_tables",
dpranke244f973d62015-11-20 05:38:10396 "//base:check_example",
dprankedb5527d72015-03-08 04:22:47397 "//cc:cc_perftests",
dprankefd1813272015-04-13 23:56:00398 "//cc/blink:cc_blink_unittests",
dprankedb5527d72015-03-08 04:22:47399 "//components:components_perftests",
dprankedb5527d72015-03-08 04:22:47400 "//content/test:content_gl_benchmark",
dpranke244f973d62015-11-20 05:38:10401 "//content/test:content_gl_tests",
dprankedb5527d72015-03-08 04:22:47402 "//device:device_unittests",
403 "//gin:gin_shell",
dprankedb5527d72015-03-08 04:22:47404 "//gin:gin_unittests",
dprankedb5527d72015-03-08 04:22:47405 "//google_apis/gcm:mcs_probe",
dprankefd1813272015-04-13 23:56:00406 "//gpu:gl_tests",
dpranke244f973d62015-11-20 05:38:10407 "//gpu:gpu_perftests",
dprankedb5527d72015-03-08 04:22:47408 "//ipc:ipc_perftests",
dprankedb5527d72015-03-08 04:22:47409 "//media:media_perftests",
dprankefd1813272015-04-13 23:56:00410 "//net:dump_cache",
dprankedb5527d72015-03-08 04:22:47411 "//sync:run_sync_testserver",
dprankedb5527d72015-03-08 04:22:47412 "//third_party/codesighs:maptsvdifftool",
dprankefd1813272015-04-13 23:56:00413 "//third_party/libphonenumber:libphonenumber_unittests",
dprankedb5527d72015-03-08 04:22:47414 "//ui/compositor:compositor_unittests",
415 ]
416
agrieve473155b42015-12-28 20:23:11417 # TODO(GYP): Figure out which of these should (and can) build
418 # for chromeos/mac/ios.
419 if (!is_android) {
420 deps += [
421 "//chrome/test:load_library_perf_tests",
422 "//chrome/test:sync_performance_tests",
423 "//chrome/test/chromedriver:chromedriver",
424 "//chrome/test/chromedriver:chromedriver_tests",
425 "//courgette:courgette",
426 "//courgette:courgette_fuzz",
427 "//courgette:courgette_minimal_tool",
428 "//courgette:courgette_unittests",
429 "//media/cast:generate_barcode_video",
430 "//media/cast:generate_timecode_audio",
431 "//net:crash_cache",
432 "//net:crl_set_dump",
433 "//net:dns_fuzz_stub",
434 "//net:gdig",
435 "//net:get_server_time",
436 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in_net
437 "//net:run_testserver",
438 "//net:stress_cache",
439 "//net:tld_cleanup",
440 "//ppapi:pepper_hash_for_uma",
441 "//ppapi:ppapi_perftests",
442 "//third_party/angle/src/tests:angle_unittests",
443 "//third_party/leveldatabase:env_chromium_unittests",
444 "//third_party/libaddressinput:libaddressinput_unittests",
445 ]
446 }
447 if (!is_android && !is_linux) {
dpranke7e19b472015-11-13 00:49:33448 # TODO(dpranke): Re-enable this once
449 # https://chromium-review.googlesource.com/#/c/312298/1 is rolled
450 # into chromium.
451 deps += [ "//third_party/angle/src/tests:angle_end2end_tests" ]
452 }
453
dprankedb5527d72015-03-08 04:22:47454 if (enable_extensions) {
455 deps += [ "//extensions/shell:app_shell" ]
456 }
457
458 if (enable_nacl) {
brettwf4b4a4282015-12-16 00:41:13459 deps += [ "//components/nacl/loader:nacl_loader_unittests" ]
dpranke2bc89212015-11-18 00:24:43460
461 if (is_linux) {
462 # TODO(dpranke): Figure out what platforms should actually have this.
463 deps += [
brettwf4b4a4282015-12-16 00:41:13464 "//components/nacl/loader:helper_nonsfi",
465 "//components/nacl/loader:nacl_helper",
jbudorick3c0ef43092016-02-03 23:40:16466 "//components/nacl/loader:nacl_helper_nonsfi_unittests",
dpranke2bc89212015-11-18 00:24:43467 ]
468 }
dprankedb5527d72015-03-08 04:22:47469 }
470
xhwangfa2d9d472015-12-18 23:31:18471 if (media_use_ffmpeg && !is_android) {
mostynb2196a462015-08-20 17:22:10472 deps += [ "//media:ffmpeg_regression_tests" ]
473 }
dprankefd1813272015-04-13 23:56:00474 }
475
agrieve473155b42015-12-28 20:23:11476 if (is_android || (is_linux && !is_chromeos)) {
dprankefd1813272015-04-13 23:56:00477 deps += [
478 # TODO(GYP): Figure out which of these should (and can) build
479 # under which other conditions.
agrieve473155b42015-12-28 20:23:11480 "//breakpad:dump_syms($host_toolchain)",
481 "//breakpad:microdump_stackwalk($host_toolchain)",
482 "//breakpad:minidump_dump($host_toolchain)",
483 "//breakpad:minidump_stackwalk($host_toolchain)",
dprankefd1813272015-04-13 23:56:00484 "//cloud_print:cloud_print_unittests",
485 "//components/network_hints/browser",
dprankefd1813272015-04-13 23:56:00486 "//content/public/app:browser",
487 "//content/public/app:child",
488
489 # TODO(GYP): Remove this when the gles2 tests work
490 "//gpu/command_buffer/client:gles2_implementation_no_check",
dprankefd1813272015-04-13 23:56:00491 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/471903 to make this complete.
rockotc637caf9b2016-02-10 09:57:08492 "//mojo/edk/test:mojo_public_system_perftests",
ben273c1e32016-01-12 02:44:08493 "//mojo/shell/public/cpp",
dprankefd1813272015-04-13 23:56:00494 "//testing/gmock:gmock_main",
dpranke244f973d62015-11-20 05:38:10495 "//third_party/codesighs:nm2tsv",
dprankefd1813272015-04-13 23:56:00496 ]
497
agrieve473155b42015-12-28 20:23:11498 if (!is_android) {
499 deps += [
500 "//build/sanitizers:copy_llvm_symbolizer",
501 "//chrome/test:chrome_app_unittests",
502 "//media/cast:cast_benchmarks",
503 "//media/cast:tap_proxy",
504 "//skia:filter_fuzz_stub",
505 "//skia:image_operations_bench",
506 "//sync/tools:sync_client",
507 "//sync/tools:sync_listen_notifications",
508 "//third_party/sqlite:sqlite_shell",
509 "//ui/keyboard:keyboard_unittests",
510 "//ui/message_center:message_center_unittests",
511 "//ui/snapshot:snapshot_unittests",
512 "//ui/views/examples:views_examples_with_content_exe",
513 ]
dprankefd1813272015-04-13 23:56:00514
agrieve473155b42015-12-28 20:23:11515 if (!is_debug && !is_component_build) {
516 deps += [ "//chrome/tools/service_discovery_sniffer" ]
517 }
dprankefd1813272015-04-13 23:56:00518 }
519
520 if (toolkit_views) {
521 deps += [ "//ui/app_list:app_list_demo" ]
522 }
dprankedb5527d72015-03-08 04:22:47523
524 if (use_x11) {
wtc6e2e29c2015-03-13 01:09:44525 if (target_cpu != "arm") {
tfarina8944e6f2015-03-25 20:06:59526 deps += [ "//gpu/tools/compositor_model_bench" ]
wtc6e2e29c2015-03-13 01:09:44527 }
dprankedb5527d72015-03-08 04:22:47528 }
529 }
530
531 if (is_mac) {
532 deps += [
533 "//breakpad:crash_inspector",
534 "//breakpad:dump_syms",
tfarina9e7cf702015-02-23 21:13:44535 "//third_party/apple_sample_code",
536 "//third_party/molokocacao",
537 ]
dpranke43760592014-11-08 02:59:57538 deps -= [
brettw011138d2015-10-21 03:05:38539 # Mojo in GN contains some things which are never compiled in GYP on Mac,
540 # so compilation fails on Mac. They need porting.
brettwe1d40652015-10-23 23:06:10541 "//mojo",
dprankecf8465db72014-11-10 23:51:22542 ]
dprankefd1813272015-04-13 23:56:00543 }
544
545 if (is_win) {
546 deps += [
547 "//base:pe_image_test",
grt734e87b2015-07-06 19:36:43548 "//chrome/installer/setup:setup_unittests",
dprankefd1813272015-04-13 23:56:00549 "//chrome_elf:chrome_elf_unittests",
550 "//chrome_elf:dll_hash_main",
brettw70b359a2015-10-14 23:43:23551 "//cloud_print:cloud_print_unittests",
dpranke244f973d62015-11-20 05:38:10552 "//cloud_print/service/win:cloud_print_service",
dprankefd1813272015-04-13 23:56:00553 "//components/wifi:wifi_test",
554 "//net:quic_client",
555 "//net:quic_server",
556 "//sandbox/win:pocdll",
557 "//sandbox/win:sandbox_poc",
558 "//sandbox/win:sbox_integration_tests",
559 "//sandbox/win:sbox_unittests",
560 "//sandbox/win:sbox_validation_tests",
561 "//testing/gtest:gtest_main",
562 "//third_party/codesighs:msmap2tsv",
563 "//third_party/pdfium/samples:pdfium_diff",
564 "//ui/metro_viewer",
565 ]
dprankee2ef3822015-02-24 21:42:18566 deps -= [
567 "//crypto:crypto_unittests", # TODO(GYP)
568 "//net:net_unittests", # TODO(GYP)
569 ]
sherouk53f0f1a2015-08-03 15:59:35570 } else if (!is_android && !is_ios) {
miu45b848fe2015-11-26 01:23:29571 deps += [ "//breakpad:symupload($host_toolchain)" ]
mohsenf837da7c2014-12-09 19:01:34572 }
slance9d62f2015-11-04 01:15:01573 if (is_chromecast) {
574 deps += [ "//chromecast:cast_shell" ]
575 }
miu45b848fe2015-11-26 01:23:29576
dpranked43eab42015-12-15 23:10:44577 if (is_mac) { # TODO(GYP) || is_ios
miu45b848fe2015-11-26 01:23:29578 deps += [ "//media/cast:cast_h264_vt_encoder_unittests" ]
579 }
hbos17a7b4a22015-12-07 10:49:45580
581 if (use_openh264) {
582 deps += [
583 "//third_party/openh264:common",
584 "//third_party/openh264:encoder",
585 "//third_party/openh264:processing",
586 ]
587 }
[email protected]f0e7ff882013-12-26 21:23:09588}
brettw533c50422015-02-26 17:49:16589
sky60a230b9f2016-01-23 01:04:53590# This group contains all the targets needed to run mojo's apptest_runner.
591group("mojo_apptests") {
592 testonly = true
593
594 deps = []
595
596 if (is_win || is_linux) {
597 deps += [
skyfcde3a42016-02-09 20:27:44598 "//components/filesystem:apptests",
ergb22301f2016-02-17 19:37:54599 "//components/leveldb:apptests",
skyfcde3a42016-02-09 20:27:44600 "//components/mus/ws:tests",
601 "//components/resource_provider:apptests",
602 "//components/resource_provider:resource_provider_unittests",
sky60a230b9f2016-01-23 01:04:53603 "//mash/wm:tests",
jrummell135d61e2016-01-27 19:36:17604 "//media/mojo/services:tests",
msw9a371982016-02-11 01:12:13605 "//mojo/services/network:apptests",
606 "//mojo/shell:apptests",
skyfcde3a42016-02-09 20:27:44607 "//sql/mojo:apptests",
sky60a230b9f2016-01-23 01:04:53608 "//ui/views/mus:tests",
609 ]
610 }
msw9a371982016-02-11 01:12:13611
612 if (is_android) {
613 deps += [ "//mojo/shell/standalone:mojo_shell_standalone_apptests_apk" ]
614 }
sky60a230b9f2016-01-23 01:04:53615}
616
dpranked62d8512015-03-02 03:06:03617group("gn_only") {
dprankedb5527d72015-03-08 04:22:47618 testonly = true
619
dpranke2a294622015-08-07 05:23:01620 deps = []
621
amistry4dcd7c42015-12-16 04:53:10622 if (!is_ios) {
623 deps += [ "//mojo/common:mojo_common_perftests" ]
624 }
625
dpranke244f973d62015-11-20 05:38:10626 if (!is_android && !is_ios && !is_chromeos) {
isherman0f89b43eb2015-04-11 00:02:45627 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
628 }
629
ben8f4e95ad2015-12-01 18:35:58630 if (is_win || is_linux) {
sky70471b22016-01-14 16:20:54631 deps += [
sky60a230b9f2016-01-23 01:04:53632 ":mojo_apptests",
sky70471b22016-01-14 16:20:54633 "//mash:all",
skyfcde3a42016-02-09 20:27:44634 "//mojo",
sky70471b22016-01-14 16:20:54635 ]
sky97b65592015-11-02 20:08:25636 }
637
zhaoqin756f8572016-01-25 21:41:17638 if (is_win && use_drfuzz) {
639 # build libfuzzer fuzzers on Windows to run with Dr. Fuzz
640 deps += [
641 "//testing/libfuzzer/fuzzers",
642 "//testing/libfuzzer/tests:libfuzzer_tests",
643 ]
644 }
645
slance9d62f2015-11-04 01:15:01646 if (is_linux && !is_chromeos && !is_chromecast) {
dprankedb5527d72015-03-08 04:22:47647 # TODO(GYP): Figure out if any of these should be in gn_all
648 # and figure out how cross-platform they are
isherman0f89b43eb2015-04-11 00:02:45649 deps += [
dprankedb5527d72015-03-08 04:22:47650 ":gn_mojo_targets",
651 "//chrome/browser/resources:extension_resource_demo",
652 "//chrome/installer/util:strings",
dprankedb5527d72015-03-08 04:22:47653 "//chrome/tools/convert_dict",
654 "//components/constrained_window:unit_tests",
dprankedb5527d72015-03-08 04:22:47655 "//components/metrics:serialization",
isherman0f89b43eb2015-04-11 00:02:45656 "//components/password_manager/content/renderer:browser_tests",
dprankedb5527d72015-03-08 04:22:47657 "//components/rappor:unit_tests",
658 "//components/sessions:unit_tests",
659 "//media/blink:media_blink_unittests",
dprankedb5527d72015-03-08 04:22:47660 "//media/cast:udp_proxy",
dprankedb5527d72015-03-08 04:22:47661 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
662 "//storage/browser:dump_file_system",
aizatskyc562c132016-01-20 00:00:14663 "//testing/libfuzzer/fuzzers",
664 "//testing/libfuzzer/tests:libfuzzer_tests",
dprankedb5527d72015-03-08 04:22:47665 "//third_party/angle:libANGLE",
666 "//third_party/angle:libEGL",
667 "//third_party/angle:libGLESv2",
668 "//third_party/cld_2:cld_2_dynamic_data_tool",
669 "//third_party/leveldatabase:leveldb_arena_test",
670 "//third_party/leveldatabase:leveldb_bloom_test",
dprankedb5527d72015-03-08 04:22:47671 "//third_party/leveldatabase:leveldb_cache_test",
dprankedb5527d72015-03-08 04:22:47672 "//third_party/leveldatabase:leveldb_corruption_test",
dpranke244f973d62015-11-20 05:38:10673 "//third_party/leveldatabase:leveldb_crc32c_test",
674 "//third_party/leveldatabase:leveldb_db_bench",
675 "//third_party/leveldatabase:leveldb_db_test",
dprankedb5527d72015-03-08 04:22:47676 "//third_party/leveldatabase:leveldb_dbformat_test",
dpranke244f973d62015-11-20 05:38:10677 "//third_party/leveldatabase:leveldb_env_test",
678 "//third_party/leveldatabase:leveldb_filename_test",
679 "//third_party/leveldatabase:leveldb_filter_block_test",
680 "//third_party/leveldatabase:leveldb_log_test",
681 "//third_party/leveldatabase:leveldb_skiplist_test",
682 "//third_party/leveldatabase:leveldb_table_test",
683 "//third_party/leveldatabase:leveldb_version_edit_test",
684 "//third_party/leveldatabase:leveldb_write_batch_test",
dprankedb5527d72015-03-08 04:22:47685 "//third_party/libjpeg_turbo:simd",
dpranke244f973d62015-11-20 05:38:10686 "//third_party/libsrtp:rdbx_driver",
dprankedb5527d72015-03-08 04:22:47687 "//third_party/libsrtp:replay_driver",
688 "//third_party/libsrtp:roc_driver",
689 "//third_party/libsrtp:rtpw",
dprankedb5527d72015-03-08 04:22:47690 "//third_party/libsrtp:srtp_driver",
691 "//third_party/libsrtp:srtp_driver",
dpranke244f973d62015-11-20 05:38:10692 "//third_party/libsrtp:srtp_test_aes_calc",
dprankedb5527d72015-03-08 04:22:47693 "//third_party/libsrtp:srtp_test_cipher_driver",
694 "//third_party/libsrtp:srtp_test_datatypes_driver",
dprankedb5527d72015-03-08 04:22:47695 "//third_party/libsrtp:srtp_test_env",
dpranke244f973d62015-11-20 05:38:10696 "//third_party/libsrtp:srtp_test_kernel_driver",
dprankedb5527d72015-03-08 04:22:47697 "//third_party/libsrtp:srtp_test_rand_gen",
698 "//third_party/libsrtp:srtp_test_sha1_driver",
699 "//third_party/libsrtp:srtp_test_stat_driver",
700 "//third_party/opus:opus_compare",
701 "//third_party/opus:opus_demo",
dpranke244f973d62015-11-20 05:38:10702 "//third_party/opus:test_opus_api",
dprankedb5527d72015-03-08 04:22:47703 "//third_party/opus:test_opus_decode",
704 "//third_party/opus:test_opus_encode",
dprankedb5527d72015-03-08 04:22:47705 "//third_party/opus:test_opus_padding",
dpranke244f973d62015-11-20 05:38:10706 "//third_party/pdfium/third_party:fx_freetype",
dprankedb5527d72015-03-08 04:22:47707 "//third_party/webrtc/system_wrappers:field_trial_default",
708 "//third_party/webrtc/system_wrappers:metrics_default",
709 "//ui/display/types",
710 "//ui/shell_dialogs:shell_dialogs_unittests",
711 "//ui/views/examples:views_examples_exe",
dprankedb5527d72015-03-08 04:22:47712 ]
dprankeb0713542015-07-31 21:07:21713
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16714 if (target_cpu == "x86" || target_cpu == "x64") {
agrieve473155b42015-12-28 20:23:11715 if (!is_android) {
716 deps += [ "//chrome/test:load_library_perf_tests" ]
717 }
mcgrathr916aafa2015-09-15 00:06:53718 deps += [
mcgrathr916aafa2015-09-15 00:06:53719 "//native_client/src/trusted/platform_qualify:vcpuid",
dpranke244f973d62015-11-20 05:38:10720 "//third_party/libjpeg_turbo:simd_asm",
mcgrathr916aafa2015-09-15 00:06:53721 ]
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16722 }
dprankedb5527d72015-03-08 04:22:47723 if (use_ozone) {
724 deps += [ "//ui/ozone/demo" ]
725 }
dpranke807f602b2015-03-17 23:20:56726
727 if (is_linux && current_toolchain == host_toolchain) {
728 deps += [ "//v8:d8" ]
729 }
dprankedb5527d72015-03-08 04:22:47730 }
dprankeb0713542015-07-31 21:07:21731
sbc92b4d572016-02-18 03:28:23732 if (enable_nacl) {
733 deps += [ "//native_client_sdk/src:nacl_core_sdk" ]
734 }
735
agrieve473155b42015-12-28 20:23:11736 if (is_android) {
737 deps += [
738 "//build/android/gyp/test:hello_world",
739 "//build/android/incremental_install:bootstrap_java",
740 ]
nyquistb5f050b2015-09-10 05:10:35741 }
742
agrieve473155b42015-12-28 20:23:11743 if (!is_chromecast && (is_android || is_linux || is_chromeos)) {
744 deps += [
745 "//blimp",
746 "//blimp:blimp_tests",
747 ]
dprankeb0713542015-07-31 21:07:21748 }
dprankedb5527d72015-03-08 04:22:47749}
750
751group("gn_mojo_targets") {
752 testonly = true
753 if (is_linux && !is_chromeos) {
754 # TODO(GYP): Figure out if any of these should be in gn_all
755 # and figure out how cross-platform they are
756 deps = [
dprankedb5527d72015-03-08 04:22:47757 "//ipc/mojo:ipc_mojo_perftests",
dprankedb5527d72015-03-08 04:22:47758 "//media/mojo:tests",
dpranke244f973d62015-11-20 05:38:10759 "//media/mojo/services:cdm_service",
msw1bb9c6c2015-05-06 21:35:44760 "//mojo:tests",
dprankedb5527d72015-03-08 04:22:47761 ]
dprankedb5527d72015-03-08 04:22:47762 }
763}
764
765group("gn_visibility") {
dpranked62d8512015-03-02 03:06:03766 deps = [
dprankeb6128d02015-05-01 16:40:30767 "//build/config/sanitizers:options_sources",
768
dprankedb5527d72015-03-08 04:22:47769 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
770 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
dprankeb6128d02015-05-01 16:40:30771
772 "//ui/resources:repack_ui_test_mac_locale_pack",
dpranked62d8512015-03-02 03:06:03773 ]
dpranked2fb5222015-09-10 22:39:05774
775 if (!is_ios) {
776 deps += [
dpranked2fb5222015-09-10 22:39:05777 "//v8:postmortem-metadata",
dpranke244f973d62015-11-20 05:38:10778 "//v8:v8_snapshot",
dpranked2fb5222015-09-10 22:39:05779 ]
780 }
dpranked62d8512015-03-02 03:06:03781}
782
tfarinacb2638b2015-05-12 03:24:15783if (!is_ios) {
784 # This group includes all of the targets needed to build and test Blink,
785 # including running the layout tests (see below).
786 group("blink_tests") {
787 testonly = true
788
789 deps = [
790 "//third_party/WebKit/public:all_blink",
791 ]
792
793 # NOTE: The following deps are needed to run the layout tests
794 # (run-webkit-tests) but there is no GN target for the layout tests,
795 # so we need to specify the dependencies here instead.
796 if (is_android) {
797 deps += [
pkotwicza4d233b22015-11-02 18:20:38798 "//breakpad:breakpad_unittests_deps",
tfarinacb2638b2015-05-12 03:24:15799 "//breakpad:dump_syms($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38800 "//breakpad:microdump_stackwalk($host_toolchain)",
801 "//breakpad:minidump_dump($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15802 "//breakpad:minidump_stackwalk($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38803 "//breakpad:symupload($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15804 "//content/shell/android:content_shell_apk",
ojan94989c72015-07-17 21:56:42805 "//tools/imagediff($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15806 ]
807 } else {
ojan94989c72015-07-17 21:56:42808 deps += [
809 "//content/shell:content_shell",
810 "//tools/imagediff",
811 ]
tfarinacb2638b2015-05-12 03:24:15812 }
813
814 if (is_win) {
815 deps += [
jochen73e711c2015-06-03 10:01:46816 "//components/test_runner:layout_test_helper",
brettw0d3b1df2015-12-03 00:10:01817 "//content/shell:content_shell_crash_service",
tfarinacb2638b2015-05-12 03:24:15818 ]
819 }
820
821 if (!is_win && !is_android) {
Gordana.Cmiljanovicf243e9a2015-05-26 22:14:47822 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
tfarinacb2638b2015-05-12 03:24:15823 }
824
825 if (is_mac) {
826 deps += [
827 "//breakpad:dump_syms($host_toolchain)",
jochen73e711c2015-06-03 10:01:46828 "//components/test_runner:layout_test_helper",
tfarinacb2638b2015-05-12 03:24:15829 ]
830 }
831
832 if (is_linux) {
833 deps += [ "//breakpad:dump_syms($host_toolchain)" ]
834 }
835 }
836}
837
dpranke6abd8652015-08-28 03:21:11838# Add a dummy target for compatibility w/ GYP
839group("chromium_swarm_tests") {
840}
841
dpranke2302dfa2015-09-29 02:21:52842group("chromium_builder_perf") {
843 testonly = true
844
845 # TODO(GYP): Make this target work on the mac.
846 if (!is_ios && !is_android && !is_chromecast && !is_mac) {
847 deps = [
848 "//cc:cc_perftests",
849 "//chrome",
850 "//chrome/test:load_library_perf_tests",
851 "//chrome/test:sync_performance_tests",
852 "//gpu:gpu_perftests",
853 "//media:media_perftests",
854 "//media/midi:midi_unittests",
nednguyenc42bf912016-01-27 01:39:28855 "//third_party/catapult/telemetry:bitmaptools",
dpranke2302dfa2015-09-29 02:21:52856 ]
857
858 if (!is_chromeos) {
859 deps += [ "//chrome/test:performance_browser_tests" ]
860 }
861 if (is_linux && !is_chromeos) {
dpranke9aed5d582015-11-22 23:22:04862 if (is_official_build) {
863 # In GN builds, this is controlled by the 'linux_dump_symbols'
864 # flag, which defaults to 1 for official builds. For now,
865 # we skip the separate flag and just key off of is_official_build.
866 deps += [ "//chrome:linux_symbols" ]
867 }
dpranke2302dfa2015-09-29 02:21:52868
869 if (!is_chromeos) {
870 deps += [ "//tools/perf/clear_system_cache" ]
871 }
872 }
873
874 if (is_win) {
875 deps += [
brettw0d3b1df2015-12-03 00:10:01876 "//chrome/tools/crash_service",
dpranke2302dfa2015-09-29 02:21:52877 # "//gpu:angle_perftests", TODO(GYP): crbug.com/537008
878 ]
879
880 if (target_cpu == "x86") {
brettw0d3b1df2015-12-03 00:10:01881 deps += [ "//chrome/tools/crash_service:crash_service_win64" ]
dpranke2302dfa2015-09-29 02:21:52882 }
883 } else {
dprankeec10b3932015-10-02 17:58:23884 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
dpranke2302dfa2015-09-29 02:21:52885 }
886 }
887}