[go: nahoru, domu]

blob: ce698a7e0d1d15907bcc6e2063a5a81ea3206876 [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",
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",
dpranke244f9732015-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",
dpranke244f9732015-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",
dpranke244f9732015-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 }
agrieve97dd57d2016-01-05 19:26:27218 }
219
scottmg34fb7e52014-12-03 23:27:24220 deps += root_extra_deps
brettw@chromium.orgfce5c3fe2014-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" ]
dprankefd1813272015-04-13 23:56:00224 }
225
dprankefd1813272015-04-13 23:56:00226 if (enable_media_router) {
imchengb6b09239f2015-05-15 21:41:55227 deps += [ "//chrome/browser/media/router" ]
rockot2f1326e2015-02-23 23:53:51228 }
229
garykac3eddb5b2015-04-17 23:16:38230 if (enable_remoting) {
231 deps += [ "//remoting:remoting_all" ]
James Robinson060f2e32014-09-10 22:31:37232 }
233
dprankee2ef3822015-02-24 21:42:18234 if (toolkit_views) {
235 deps += [ "//ui/views:views_unittests" ]
brettw@chromium.org6b9028ab2014-07-23 17:15:38236 }
237
dprankee2ef3822015-02-24 21:42:18238 if (use_aura) {
239 deps += [ "//ui/wm:wm_unittests" ]
240 }
241
242 if (use_ozone) {
dprankedb5527d72015-03-08 04:22:47243 deps += [ "//ui/ozone" ]
tfarina@chromium.orga306aaa2014-05-24 13:21:50244 }
245
dprankefd1813272015-04-13 23:56:00246 if (use_x11) {
247 deps += [ "//tools/xdisplaycheck" ]
kmarshalld2f3bea2015-03-11 23:42:22248 }
249
tmoniuszkoe5578b922015-04-14 09:38:03250 if (enable_configuration_policy) {
251 deps += [ "//components/policy:policy_templates" ]
252 }
253
dprankefd1813272015-04-13 23:56:00254 if (v8_use_external_startup_data) {
255 deps += [ "//gin:gin_v8_snapshot_fingerprint" ]
brettw@chromium.org137dff6d2014-06-12 19:35:55256 }
257
brettw66e3feab2015-07-20 23:52:22258 if (is_win) {
brettwf986f952015-10-07 17:18:15259 deps += [
260 "//chrome/installer/gcapi",
261 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy",
262 ]
brettw66e3feab2015-07-20 23:52:22263 }
264
dpranke@chromium.org5a8d5162014-04-12 01:19:16265 if (is_android) {
cjhopman@chromium.org26046b52014-07-16 00:11:03266 deps += [
pkotwicze2dae8b2015-11-03 20:12:55267 "//base:base_junit_tests",
dpranke244f9732015-11-20 05:38:10268 "//base/android/linker:chromium_android_linker",
cjhopman3d85c6d2014-11-18 03:39:38269 "//build/android/gyp/test:hello_world",
cjhopman31511332014-10-23 01:05:02270 "//build/android/rezip",
pkotwicze2dae8b2015-11-03 20:12:55271 "//components/invalidation/impl:components_invalidation_impl_junit_tests",
272 "//components/policy/android:components_policy_junit_tests",
273 "//content/public/android:content_junit_tests",
pkotwicz8adff4e2015-12-17 21:55:45274 "//content/shell/android:content_shell_apk",
275 "//content/test:video_decode_accelerator_unittest",
pkotwicze2dae8b2015-11-03 20:12:55276 "//net/android:net_junit_tests",
277 "//testing/android/junit:junit_unittests",
pkotwicz8adff4e2015-12-17 21:55:45278 "//third_party/android_tools:uiautomator_java",
agrieve40ba6862015-07-15 02:09:05279 "//third_party/errorprone:chromium_errorprone",
pkotwicz8adff4e2015-12-17 21:55:45280 "//third_party/smhasher:murmurhash3",
pkotwicze38594d2015-09-25 00:05:10281 "//tools/android:android_tools",
pkotwicz6b5571b2015-12-08 21:54:49282 "//tools/android:memconsumer",
pkotwicz8b9d18c2015-10-05 01:59:33283 "//tools/android/heap_profiler:heap_profiler_unittests",
dgn28050da2015-10-19 10:16:43284 "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk",
pkotwicz077093762015-12-21 16:47:15285 "//tools/cygprofile:cygprofile_unittests",
dprankee2ef3822015-02-24 21:42:18286 "//tools/imagediff($host_toolchain)",
newt9e226032016-01-26 01:30:15287 "//ui/android:ui_junit_tests",
dprankee2ef3822015-02-24 21:42:18288 ]
289 deps -= [
rockot9c67e5f2015-03-12 20:01:21290 "//net:net_perftests",
dprankee2ef3822015-02-24 21:42:18291 "//url:url_unittests",
cjhopman@chromium.org26046b52014-07-16 00:11:03292 ]
293
pkotwicz92e2e2312015-12-15 22:29:46294 if (!is_component_build) {
295 deps += [
agrievee23386b2016-01-05 04:47:58296 "//components/cronet/android:cronet_package",
pkotwicz92e2e2312015-12-15 22:29:46297 "//components/cronet/android:cronet_sample_apk",
298 "//components/cronet/android:cronet_sample_test_apk",
299 "//components/cronet/android:cronet_test_apk",
300 "//components/cronet/android:cronet_test_instrumentation_apk",
301 "//components/cronet/android:cronet_unittests",
302 ]
303 }
304
pkotwicz061c5a42015-09-30 02:16:54305 if (!is_chromecast) {
306 deps += [
michaelbaicbcc7e62015-11-12 04:29:53307 "//android_webview",
agrieveb08e2f5b2015-12-29 01:17:30308 "//android_webview/test",
agrieve1a3e9eb2015-12-29 02:07:26309 "//android_webview/tools",
pkotwicze2dae8b2015-11-03 20:12:55310 "//chrome/android:chrome_junit_tests",
pkotwicz061c5a42015-09-30 02:16:54311 "//chrome/android:chrome_public_apk",
312 "//chrome/android:chrome_public_test_apk",
313 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
agrieve473155b2015-12-28 20:23:11314 "//content/shell/android:content_shell_test_apk",
pkotwicz0a2255e2015-10-06 16:29:05315 "//third_party/custom_tabs_client:custom_tabs_client_example_apk",
pkotwicz061c5a42015-09-30 02:16:54316 ]
317 }
318
pkotwicz06a4b4b42015-10-29 23:11:11319 if (target_cpu != "x64") {
320 deps += [ "//third_party/android_platform:android_relocation_packer_unittests($host_toolchain)" ]
321 }
322
cjhopmanca675d3e2014-10-24 03:50:45323 if (has_chrome_android_internal) {
dprankee2ef3822015-02-24 21:42:18324 deps += [ "//clank" ] # TODO(GYP) ??
cjhopmanca675d3e2014-10-24 03:50:45325 }
dprankefd1813272015-04-13 23:56:00326 }
327
pkotwicza4d233b22015-11-02 18:20:38328 if (is_linux || is_android) { # TODO(GYP): || is_bsd?
dprankefd1813272015-04-13 23:56:00329 deps += [
pkotwicza4d233b22015-11-02 18:20:38330 "//breakpad:breakpad_unittests",
dprankefd1813272015-04-13 23:56:00331 "//breakpad:core-2-minidump",
pkotwicza4d233b22015-11-02 18:20:38332 "//breakpad:generate_test_dump",
dprankefd1813272015-04-13 23:56:00333 "//breakpad:minidump-2-core",
334 ]
335 }
336
dpranke6293d252015-04-14 19:12:00337 if (is_chromeos) {
338 deps += [
339 "//chromeos:chromeos_unittests",
340 "//ui/chromeos:ui_chromeos_unittests",
341 ]
342 }
343
dprankefd1813272015-04-13 23:56:00344 if (is_chromeos || is_mac || is_win) {
345 deps += [
346 "//rlz:rlz_id",
347 "//rlz:rlz_lib",
348 "//rlz:rlz_unittests",
349 ]
dprankedb5527d72015-03-08 04:22:47350 }
351
352 if (is_linux) {
353 # The following are definitely linux-only.
hiroshigee6d374c2015-02-24 07:54:06354 deps += [
dpranke2bc89212015-11-18 00:24:43355 "//chrome:manpage",
356 "//chrome:xdg_mime",
dprankedb5527d72015-03-08 04:22:47357 "//dbus:dbus_test_server",
dprankee2ef3822015-02-24 21:42:18358 "//dbus:dbus_unittests",
dprankedb5527d72015-03-08 04:22:47359 "//net:disk_cache_memory_test",
360 "//net:flip_in_mem_edsm_server",
361 "//net:flip_in_mem_edsm_server_unittests",
362 "//net:quic_client",
363 "//net:quic_server",
364 "//sandbox/linux:chrome_sandbox",
dprankee2ef3822015-02-24 21:42:18365 "//sandbox/linux:sandbox_linux_unittests",
hiroshigee6d374c2015-02-24 07:54:06366 ]
dnicoara8c6aa8e2015-03-11 23:20:32367
368 if (is_chromeos || use_ash) {
369 deps += [ "//components/session_manager/core" ]
dpranke2bc89212015-11-18 00:24:43370 }
371
372 if (is_chrome_branded && is_official_build) {
373 # TODO(dpranke): add the linux_dump_symbols flag?
374 deps += [ "//chrome:linux_symbols" ]
dnicoara8c6aa8e2015-03-11 23:20:32375 }
dprankedb5527d72015-03-08 04:22:47376 }
377
sherouke1859f92015-08-05 10:19:10378 if (is_ios || is_win || (is_linux && !is_chromeos)) {
379 deps += [
380 "//base:base_i18n_perftests",
381 "//base:base_perftests",
sherouk710734d2015-09-02 19:02:58382 "//google_apis:google_apis_unittests",
sherouke1859f92015-08-05 10:19:10383 ]
384 }
385
agrieve473155b2015-12-28 20:23:11386 if (is_android || is_win || (is_linux && !is_chromeos)) {
tfarina9e7cf702015-02-23 21:13:44387 deps += [
dprankedb5527d72015-03-08 04:22:47388 "//base:build_utf8_validator_tables",
dpranke244f9732015-11-20 05:38:10389 "//base:check_example",
dprankedb5527d72015-03-08 04:22:47390 "//cc:cc_perftests",
dprankefd1813272015-04-13 23:56:00391 "//cc/blink:cc_blink_unittests",
dprankedb5527d72015-03-08 04:22:47392 "//components:components_perftests",
dprankedb5527d72015-03-08 04:22:47393 "//content/test:content_gl_benchmark",
dpranke244f9732015-11-20 05:38:10394 "//content/test:content_gl_tests",
dprankedb5527d72015-03-08 04:22:47395 "//device:device_unittests",
396 "//gin:gin_shell",
dprankedb5527d72015-03-08 04:22:47397 "//gin:gin_unittests",
dprankedb5527d72015-03-08 04:22:47398 "//google_apis/gcm:mcs_probe",
dprankefd1813272015-04-13 23:56:00399 "//gpu:gl_tests",
dpranke244f9732015-11-20 05:38:10400 "//gpu:gpu_perftests",
dprankedb5527d72015-03-08 04:22:47401 "//ipc:ipc_perftests",
dprankedb5527d72015-03-08 04:22:47402 "//media:media_perftests",
dprankefd1813272015-04-13 23:56:00403 "//net:dump_cache",
dprankedb5527d72015-03-08 04:22:47404 "//sync:run_sync_testserver",
dprankedb5527d72015-03-08 04:22:47405 "//third_party/codesighs:maptsvdifftool",
dprankefd1813272015-04-13 23:56:00406 "//third_party/libphonenumber:libphonenumber_unittests",
dprankedb5527d72015-03-08 04:22:47407 "//ui/compositor:compositor_unittests",
408 ]
409
agrieve473155b2015-12-28 20:23:11410 # TODO(GYP): Figure out which of these should (and can) build
411 # for chromeos/mac/ios.
412 if (!is_android) {
413 deps += [
414 "//chrome/test:load_library_perf_tests",
415 "//chrome/test:sync_performance_tests",
416 "//chrome/test/chromedriver:chromedriver",
417 "//chrome/test/chromedriver:chromedriver_tests",
418 "//courgette:courgette",
419 "//courgette:courgette_fuzz",
420 "//courgette:courgette_minimal_tool",
421 "//courgette:courgette_unittests",
422 "//media/cast:generate_barcode_video",
423 "//media/cast:generate_timecode_audio",
424 "//net:crash_cache",
425 "//net:crl_set_dump",
426 "//net:dns_fuzz_stub",
427 "//net:gdig",
428 "//net:get_server_time",
429 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in_net
430 "//net:run_testserver",
431 "//net:stress_cache",
432 "//net:tld_cleanup",
433 "//ppapi:pepper_hash_for_uma",
434 "//ppapi:ppapi_perftests",
435 "//third_party/angle/src/tests:angle_unittests",
436 "//third_party/leveldatabase:env_chromium_unittests",
437 "//third_party/libaddressinput:libaddressinput_unittests",
438 ]
439 }
440 if (!is_android && !is_linux) {
dpranke7e19b472015-11-13 00:49:33441 # TODO(dpranke): Re-enable this once
442 # https://chromium-review.googlesource.com/#/c/312298/1 is rolled
443 # into chromium.
444 deps += [ "//third_party/angle/src/tests:angle_end2end_tests" ]
445 }
446
dprankedb5527d72015-03-08 04:22:47447 if (enable_extensions) {
448 deps += [ "//extensions/shell:app_shell" ]
449 }
450
451 if (enable_nacl) {
brettwf4b4a4282015-12-16 00:41:13452 deps += [ "//components/nacl/loader:nacl_loader_unittests" ]
dpranke2bc89212015-11-18 00:24:43453
454 if (is_linux) {
455 # TODO(dpranke): Figure out what platforms should actually have this.
456 deps += [
brettwf4b4a4282015-12-16 00:41:13457 "//components/nacl/loader:helper_nonsfi",
458 "//components/nacl/loader:nacl_helper",
jbudorick3c0ef43092016-02-03 23:40:16459 "//components/nacl/loader:nacl_helper_nonsfi_unittests",
dpranke2bc89212015-11-18 00:24:43460 ]
461 }
dprankedb5527d72015-03-08 04:22:47462 }
463
xhwangfa2d9d472015-12-18 23:31:18464 if (media_use_ffmpeg && !is_android) {
mostynb2196a462015-08-20 17:22:10465 deps += [ "//media:ffmpeg_regression_tests" ]
466 }
467
msw40ddaa81f2016-02-10 00:26:16468 if (use_aura) {
dprankedb5527d72015-03-08 04:22:47469 deps += [
benf97b2572015-09-25 23:12:53470 "//ash:ash_shell_with_content",
dprankedb5527d72015-03-08 04:22:47471 "//ash:ash_unittests",
dprankedb5527d72015-03-08 04:22:47472 "//ui/aura:aura_unittests",
473 "//ui/aura:bench",
474 "//ui/aura:demo",
475 ]
476 }
dprankefd1813272015-04-13 23:56:00477 }
478
agrieve473155b2015-12-28 20:23:11479 if (is_android || (is_linux && !is_chromeos)) {
dprankefd1813272015-04-13 23:56:00480 deps += [
481 # TODO(GYP): Figure out which of these should (and can) build
482 # under which other conditions.
agrieve473155b2015-12-28 20:23:11483 "//breakpad:dump_syms($host_toolchain)",
484 "//breakpad:microdump_stackwalk($host_toolchain)",
485 "//breakpad:minidump_dump($host_toolchain)",
486 "//breakpad:minidump_stackwalk($host_toolchain)",
dprankefd1813272015-04-13 23:56:00487 "//cloud_print:cloud_print_unittests",
488 "//components/network_hints/browser",
dprankefd1813272015-04-13 23:56:00489 "//content/public/app:browser",
490 "//content/public/app:child",
491
492 # TODO(GYP): Remove this when the gles2 tests work
493 "//gpu/command_buffer/client:gles2_implementation_no_check",
dprankefd1813272015-04-13 23:56:00494 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/471903 to make this complete.
rockotc637caf9b2016-02-10 09:57:08495 "//mojo/edk/test:mojo_public_system_perftests",
ben273c1e32016-01-12 02:44:08496 "//mojo/shell/public/cpp",
dprankefd1813272015-04-13 23:56:00497 "//testing/gmock:gmock_main",
dpranke244f9732015-11-20 05:38:10498 "//third_party/codesighs:nm2tsv",
dprankefd1813272015-04-13 23:56:00499 ]
500
agrieve473155b2015-12-28 20:23:11501 if (!is_android) {
502 deps += [
503 "//build/sanitizers:copy_llvm_symbolizer",
504 "//chrome/test:chrome_app_unittests",
505 "//media/cast:cast_benchmarks",
506 "//media/cast:tap_proxy",
507 "//skia:filter_fuzz_stub",
508 "//skia:image_operations_bench",
509 "//sync/tools:sync_client",
510 "//sync/tools:sync_listen_notifications",
511 "//third_party/sqlite:sqlite_shell",
512 "//ui/keyboard:keyboard_unittests",
513 "//ui/message_center:message_center_unittests",
514 "//ui/snapshot:snapshot_unittests",
515 "//ui/views/examples:views_examples_with_content_exe",
516 ]
dprankefd1813272015-04-13 23:56:00517
agrieve473155b2015-12-28 20:23:11518 if (!is_debug && !is_component_build) {
519 deps += [ "//chrome/tools/service_discovery_sniffer" ]
520 }
dprankefd1813272015-04-13 23:56:00521 }
522
523 if (toolkit_views) {
524 deps += [ "//ui/app_list:app_list_demo" ]
525 }
dprankedb5527d72015-03-08 04:22:47526
527 if (use_x11) {
wtc6e2e29c2015-03-13 01:09:44528 if (target_cpu != "arm") {
tfarina8944e6f2015-03-25 20:06:59529 deps += [ "//gpu/tools/compositor_model_bench" ]
wtc6e2e29c2015-03-13 01:09:44530 }
dprankedb5527d72015-03-08 04:22:47531 }
532 }
533
534 if (is_mac) {
535 deps += [
536 "//breakpad:crash_inspector",
537 "//breakpad:dump_syms",
tfarina9e7cf702015-02-23 21:13:44538 "//third_party/apple_sample_code",
539 "//third_party/molokocacao",
540 ]
dpranke43760592014-11-08 02:59:57541 deps -= [
brettw011138d2015-10-21 03:05:38542 # Mojo in GN contains some things which are never compiled in GYP on Mac,
543 # so compilation fails on Mac. They need porting.
brettwe1d40652015-10-23 23:06:10544 "//mojo",
mohsen29fd4052014-12-08 21:06:46545 ]
dprankefd1813272015-04-13 23:56:00546 }
547
548 if (is_win) {
549 deps += [
550 "//base:pe_image_test",
grt734e87b2015-07-06 19:36:43551 "//chrome/installer/setup:setup_unittests",
dprankefd1813272015-04-13 23:56:00552 "//chrome_elf:chrome_elf_unittests",
553 "//chrome_elf:dll_hash_main",
brettw70b359a2015-10-14 23:43:23554 "//cloud_print:cloud_print_unittests",
dpranke244f9732015-11-20 05:38:10555 "//cloud_print/service/win:cloud_print_service",
dprankefd1813272015-04-13 23:56:00556 "//components/wifi:wifi_test",
557 "//net:quic_client",
558 "//net:quic_server",
559 "//sandbox/win:pocdll",
560 "//sandbox/win:sandbox_poc",
561 "//sandbox/win:sbox_integration_tests",
562 "//sandbox/win:sbox_unittests",
563 "//sandbox/win:sbox_validation_tests",
564 "//testing/gtest:gtest_main",
565 "//third_party/codesighs:msmap2tsv",
566 "//third_party/pdfium/samples:pdfium_diff",
567 "//ui/metro_viewer",
568 ]
dprankee2ef3822015-02-24 21:42:18569 deps -= [
570 "//crypto:crypto_unittests", # TODO(GYP)
571 "//net:net_unittests", # TODO(GYP)
572 ]
sherouk53f0f1a2015-08-03 15:59:35573 } else if (!is_android && !is_ios) {
miu45b848fe2015-11-26 01:23:29574 deps += [ "//breakpad:symupload($host_toolchain)" ]
mohsenf837da7c2014-12-09 19:01:34575 }
slance9d62f2015-11-04 01:15:01576 if (is_chromecast) {
577 deps += [ "//chromecast:cast_shell" ]
578 }
miu45b848fe2015-11-26 01:23:29579
dpranked43eab42015-12-15 23:10:44580 if (is_mac) { # TODO(GYP) || is_ios
miu45b848fe2015-11-26 01:23:29581 deps += [ "//media/cast:cast_h264_vt_encoder_unittests" ]
582 }
hbos17a7b4a22015-12-07 10:49:45583
584 if (use_openh264) {
585 deps += [
586 "//third_party/openh264:common",
587 "//third_party/openh264:encoder",
588 "//third_party/openh264:processing",
589 ]
590 }
dpranke18e57432015-02-27 21:46:47591}
592
sky60a230b2016-01-23 01:04:53593# This group contains all the targets needed to run mojo's apptest_runner.
594group("mojo_apptests") {
595 testonly = true
596
597 deps = []
598
599 if (is_win || is_linux) {
600 deps += [
skyfcde3a42016-02-09 20:27:44601 "//components/filesystem:apptests",
602 "//components/mus/ws:tests",
603 "//components/resource_provider:apptests",
604 "//components/resource_provider:resource_provider_unittests",
sky60a230b2016-01-23 01:04:53605 "//mash/wm:tests",
jrummell135d61e2016-01-27 19:36:17606 "//media/mojo/services:tests",
msw9a371982016-02-11 01:12:13607 "//mojo/services/network:apptests",
608 "//mojo/shell:apptests",
skyfcde3a42016-02-09 20:27:44609 "//sql/mojo:apptests",
sky60a230b2016-01-23 01:04:53610 "//ui/views/mus:tests",
611 ]
612 }
msw9a371982016-02-11 01:12:13613
614 if (is_android) {
615 deps += [ "//mojo/shell/standalone:mojo_shell_standalone_apptests_apk" ]
616 }
sky60a230b2016-01-23 01:04:53617}
618
dpranked62d8512015-03-02 03:06:03619group("gn_only") {
dprankedb5527d72015-03-08 04:22:47620 testonly = true
621
dpranke2a294622015-08-07 05:23:01622 deps = []
623
amistry4dcd7c42015-12-16 04:53:10624 if (!is_ios) {
625 deps += [ "//mojo/common:mojo_common_perftests" ]
626 }
627
dpranke244f9732015-11-20 05:38:10628 if (!is_android && !is_ios && !is_chromeos) {
isherman0f89b43eb2015-04-11 00:02:45629 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
630 }
631
ben8f4e95ad2015-12-01 18:35:58632 if (is_win || is_linux) {
sky70471b22016-01-14 16:20:54633 deps += [
sky60a230b2016-01-23 01:04:53634 ":mojo_apptests",
sky70471b22016-01-14 16:20:54635 "//mash:all",
skyfcde3a42016-02-09 20:27:44636 "//mojo",
sky70471b22016-01-14 16:20:54637 ]
sky97b65592015-11-02 20:08:25638 }
639
zhaoqin756f8572016-01-25 21:41:17640 if (is_win && use_drfuzz) {
641 # build libfuzzer fuzzers on Windows to run with Dr. Fuzz
642 deps += [
643 "//testing/libfuzzer/fuzzers",
644 "//testing/libfuzzer/tests:libfuzzer_tests",
645 ]
646 }
647
slance9d62f2015-11-04 01:15:01648 if (is_linux && !is_chromeos && !is_chromecast) {
dprankedb5527d72015-03-08 04:22:47649 # TODO(GYP): Figure out if any of these should be in gn_all
650 # and figure out how cross-platform they are
isherman0f89b43eb2015-04-11 00:02:45651 deps += [
dprankedb5527d72015-03-08 04:22:47652 ":gn_mojo_targets",
653 "//chrome/browser/resources:extension_resource_demo",
654 "//chrome/installer/util:strings",
dprankedb5527d72015-03-08 04:22:47655 "//chrome/tools/convert_dict",
656 "//components/constrained_window:unit_tests",
dprankedb5527d72015-03-08 04:22:47657 "//components/metrics:serialization",
isherman0f89b43eb2015-04-11 00:02:45658 "//components/password_manager/content/renderer:browser_tests",
dprankedb5527d72015-03-08 04:22:47659 "//components/rappor:unit_tests",
660 "//components/sessions:unit_tests",
661 "//media/blink:media_blink_unittests",
dprankedb5527d72015-03-08 04:22:47662 "//media/cast:udp_proxy",
dprankedb5527d72015-03-08 04:22:47663 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
664 "//storage/browser:dump_file_system",
aizatskyc562c132016-01-20 00:00:14665 "//testing/libfuzzer/fuzzers",
666 "//testing/libfuzzer/tests:libfuzzer_tests",
dprankedb5527d72015-03-08 04:22:47667 "//third_party/angle:libANGLE",
668 "//third_party/angle:libEGL",
669 "//third_party/angle:libGLESv2",
670 "//third_party/cld_2:cld_2_dynamic_data_tool",
671 "//third_party/leveldatabase:leveldb_arena_test",
672 "//third_party/leveldatabase:leveldb_bloom_test",
dprankedb5527d72015-03-08 04:22:47673 "//third_party/leveldatabase:leveldb_cache_test",
dprankedb5527d72015-03-08 04:22:47674 "//third_party/leveldatabase:leveldb_corruption_test",
dpranke244f9732015-11-20 05:38:10675 "//third_party/leveldatabase:leveldb_crc32c_test",
676 "//third_party/leveldatabase:leveldb_db_bench",
677 "//third_party/leveldatabase:leveldb_db_test",
dprankedb5527d72015-03-08 04:22:47678 "//third_party/leveldatabase:leveldb_dbformat_test",
dpranke244f9732015-11-20 05:38:10679 "//third_party/leveldatabase:leveldb_env_test",
680 "//third_party/leveldatabase:leveldb_filename_test",
681 "//third_party/leveldatabase:leveldb_filter_block_test",
682 "//third_party/leveldatabase:leveldb_log_test",
683 "//third_party/leveldatabase:leveldb_skiplist_test",
684 "//third_party/leveldatabase:leveldb_table_test",
685 "//third_party/leveldatabase:leveldb_version_edit_test",
686 "//third_party/leveldatabase:leveldb_write_batch_test",
dprankedb5527d72015-03-08 04:22:47687 "//third_party/libjpeg_turbo:simd",
dpranke244f9732015-11-20 05:38:10688 "//third_party/libsrtp:rdbx_driver",
dprankedb5527d72015-03-08 04:22:47689 "//third_party/libsrtp:replay_driver",
690 "//third_party/libsrtp:roc_driver",
691 "//third_party/libsrtp:rtpw",
dprankedb5527d72015-03-08 04:22:47692 "//third_party/libsrtp:srtp_driver",
693 "//third_party/libsrtp:srtp_driver",
dpranke244f9732015-11-20 05:38:10694 "//third_party/libsrtp:srtp_test_aes_calc",
dprankedb5527d72015-03-08 04:22:47695 "//third_party/libsrtp:srtp_test_cipher_driver",
696 "//third_party/libsrtp:srtp_test_datatypes_driver",
dprankedb5527d72015-03-08 04:22:47697 "//third_party/libsrtp:srtp_test_env",
dpranke244f9732015-11-20 05:38:10698 "//third_party/libsrtp:srtp_test_kernel_driver",
dprankedb5527d72015-03-08 04:22:47699 "//third_party/libsrtp:srtp_test_rand_gen",
700 "//third_party/libsrtp:srtp_test_sha1_driver",
701 "//third_party/libsrtp:srtp_test_stat_driver",
702 "//third_party/opus:opus_compare",
703 "//third_party/opus:opus_demo",
dpranke244f9732015-11-20 05:38:10704 "//third_party/opus:test_opus_api",
dprankedb5527d72015-03-08 04:22:47705 "//third_party/opus:test_opus_decode",
706 "//third_party/opus:test_opus_encode",
dprankedb5527d72015-03-08 04:22:47707 "//third_party/opus:test_opus_padding",
dpranke244f9732015-11-20 05:38:10708 "//third_party/pdfium/third_party:fx_freetype",
dprankedb5527d72015-03-08 04:22:47709 "//third_party/webrtc/system_wrappers:field_trial_default",
710 "//third_party/webrtc/system_wrappers:metrics_default",
711 "//ui/display/types",
712 "//ui/shell_dialogs:shell_dialogs_unittests",
713 "//ui/views/examples:views_examples_exe",
dprankedb5527d72015-03-08 04:22:47714 ]
dprankeb0713542015-07-31 21:07:21715
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16716 if (target_cpu == "x86" || target_cpu == "x64") {
agrieve473155b2015-12-28 20:23:11717 if (!is_android) {
718 deps += [ "//chrome/test:load_library_perf_tests" ]
719 }
mcgrathr916aafa2015-09-15 00:06:53720 deps += [
mcgrathr916aafa2015-09-15 00:06:53721 "//native_client/src/trusted/platform_qualify:vcpuid",
dpranke244f9732015-11-20 05:38:10722 "//third_party/libjpeg_turbo:simd_asm",
mcgrathr916aafa2015-09-15 00:06:53723 ]
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16724 }
dprankedb5527d72015-03-08 04:22:47725 if (enable_nacl) {
726 deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]
727 }
728 if (use_ozone) {
729 deps += [ "//ui/ozone/demo" ]
730 }
dpranke807f6022015-03-17 23:20:56731
732 if (is_linux && current_toolchain == host_toolchain) {
733 deps += [ "//v8:d8" ]
734 }
nyquist6aeec5142015-09-10 03:38:52735 }
736
agrieve473155b2015-12-28 20:23:11737 if (is_android) {
738 deps += [
739 "//build/android/gyp/test:hello_world",
740 "//build/android/incremental_install:bootstrap_java",
741 ]
nyquistb5f050b2015-09-10 05:10:35742 }
743
agrieve473155b2015-12-28 20:23:11744 if (!is_chromecast && (is_android || is_linux || is_chromeos)) {
745 deps += [
746 "//blimp",
747 "//blimp:blimp_tests",
aizatskyddefc992015-11-20 08:42:03748 ]
aizatskyfc46a9f2015-10-09 21:20:08749 }
dprankedb5527d72015-03-08 04:22:47750}
751
752group("gn_mojo_targets") {
753 testonly = true
754 if (is_linux && !is_chromeos) {
755 # TODO(GYP): Figure out if any of these should be in gn_all
756 # and figure out how cross-platform they are
757 deps = [
dprankedb5527d72015-03-08 04:22:47758 "//ipc/mojo:ipc_mojo_perftests",
dprankedb5527d72015-03-08 04:22:47759 "//media/mojo:tests",
dpranke244f9732015-11-20 05:38:10760 "//media/mojo/services:cdm_service",
msw1bb9c6c2015-05-06 21:35:44761 "//mojo:tests",
dprankedb5527d72015-03-08 04:22:47762 ]
dprankedb5527d72015-03-08 04:22:47763 }
764}
765
766group("gn_visibility") {
dpranked62d8512015-03-02 03:06:03767 deps = [
dprankeb6128d02015-05-01 16:40:30768 "//build/config/sanitizers:options_sources",
769
dprankedb5527d72015-03-08 04:22:47770 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
771 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
dprankeb6128d02015-05-01 16:40:30772
773 "//ui/resources:repack_ui_test_mac_locale_pack",
dpranked62d8512015-03-02 03:06:03774 ]
dpranked2fb5222015-09-10 22:39:05775
776 if (!is_ios) {
777 deps += [
dpranked2fb5222015-09-10 22:39:05778 "//v8:postmortem-metadata",
dpranke244f9732015-11-20 05:38:10779 "//v8:v8_snapshot",
dpranked2fb5222015-09-10 22:39:05780 ]
781 }
dpranked62d8512015-03-02 03:06:03782}
783
tfarinacb2638b2015-05-12 03:24:15784if (!is_ios) {
785 # This group includes all of the targets needed to build and test Blink,
786 # including running the layout tests (see below).
787 group("blink_tests") {
788 testonly = true
789
790 deps = [
791 "//third_party/WebKit/public:all_blink",
792 ]
793
794 # NOTE: The following deps are needed to run the layout tests
795 # (run-webkit-tests) but there is no GN target for the layout tests,
796 # so we need to specify the dependencies here instead.
797 if (is_android) {
798 deps += [
pkotwicza4d233b22015-11-02 18:20:38799 "//breakpad:breakpad_unittests_deps",
tfarinacb2638b2015-05-12 03:24:15800 "//breakpad:dump_syms($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38801 "//breakpad:microdump_stackwalk($host_toolchain)",
802 "//breakpad:minidump_dump($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15803 "//breakpad:minidump_stackwalk($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38804 "//breakpad:symupload($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15805 "//content/shell/android:content_shell_apk",
ojan94989c72015-07-17 21:56:42806 "//tools/imagediff($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15807 ]
808 } else {
ojan94989c72015-07-17 21:56:42809 deps += [
810 "//content/shell:content_shell",
811 "//tools/imagediff",
812 ]
tfarinacb2638b2015-05-12 03:24:15813 }
814
815 if (is_win) {
816 deps += [
jochen73e711c2015-06-03 10:01:46817 "//components/test_runner:layout_test_helper",
brettw0d3b1df2015-12-03 00:10:01818 "//content/shell:content_shell_crash_service",
tfarinacb2638b2015-05-12 03:24:15819 ]
820 }
821
822 if (!is_win && !is_android) {
Gordana.Cmiljanovicf243e9a2015-05-26 22:14:47823 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
tfarinacb2638b2015-05-12 03:24:15824 }
825
826 if (is_mac) {
827 deps += [
828 "//breakpad:dump_syms($host_toolchain)",
jochen73e711c2015-06-03 10:01:46829 "//components/test_runner:layout_test_helper",
tfarinacb2638b2015-05-12 03:24:15830 ]
831 }
832
833 if (is_linux) {
834 deps += [ "//breakpad:dump_syms($host_toolchain)" ]
835 }
836 }
837}
838
dpranke6abd8652015-08-28 03:21:11839# Add a dummy target for compatibility w/ GYP
840group("chromium_swarm_tests") {
841}
842
dpranke2302dfa2015-09-29 02:21:52843group("chromium_builder_perf") {
844 testonly = true
845
846 # TODO(GYP): Make this target work on the mac.
847 if (!is_ios && !is_android && !is_chromecast && !is_mac) {
848 deps = [
849 "//cc:cc_perftests",
850 "//chrome",
851 "//chrome/test:load_library_perf_tests",
852 "//chrome/test:sync_performance_tests",
853 "//gpu:gpu_perftests",
854 "//media:media_perftests",
855 "//media/midi:midi_unittests",
nednguyenc42bf912016-01-27 01:39:28856 "//third_party/catapult/telemetry:bitmaptools",
dpranke2302dfa2015-09-29 02:21:52857 ]
858
859 if (!is_chromeos) {
860 deps += [ "//chrome/test:performance_browser_tests" ]
861 }
862 if (is_linux && !is_chromeos) {
dpranke9aed5d582015-11-22 23:22:04863 if (is_official_build) {
864 # In GN builds, this is controlled by the 'linux_dump_symbols'
865 # flag, which defaults to 1 for official builds. For now,
866 # we skip the separate flag and just key off of is_official_build.
867 deps += [ "//chrome:linux_symbols" ]
868 }
dpranke2302dfa2015-09-29 02:21:52869
870 if (!is_chromeos) {
871 deps += [ "//tools/perf/clear_system_cache" ]
872 }
873 }
874
875 if (is_win) {
876 deps += [
brettw0d3b1df2015-12-03 00:10:01877 "//chrome/tools/crash_service",
dpranke2302dfa2015-09-29 02:21:52878 # "//gpu:angle_perftests", TODO(GYP): crbug.com/537008
879 ]
880
881 if (target_cpu == "x86") {
brettw0d3b1df2015-12-03 00:10:01882 deps += [ "//chrome/tools/crash_service:crash_service_win64" ]
dpranke2302dfa2015-09-29 02:21:52883 }
884 } else {
dprankeec10b3932015-10-02 17:58:23885 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
dpranke2302dfa2015-09-29 02:21:52886 }
887 }
888}