[go: nahoru, domu]

blob: d644a5d26bc307d973fb5b3e463e4b6a2ee364f1 [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",
pkotwicz558d5252015-10-19 21:09:55152 "//tools/gn",
dpranke244f9732015-11-20 05:38:10153 "//tools/gn:gn_unittests",
pkotwicz558d5252015-10-19 21:09:55154 "//tools/perf/clear_system_cache",
155 "//ui/accessibility:accessibility_unittests",
156 "//ui/app_list:app_list_unittests",
157 ]
158 }
159
160 if (!is_ios) {
161 # TODO(GYP): Figure out which of these should actually build on iOS,
162 # and whether there should be other targets that are iOS-only and missing.
163 deps += [
164 "//cc:cc_unittests",
165 "//chrome/test:unit_tests",
166 "//components:components_browsertests",
167 "//content/shell:content_shell",
168 "//content/test:content_browsertests",
169 "//content/test:content_perftests",
170 "//content/test:content_unittests",
171 "//device:device_unittests",
172 "//gpu:gpu_unittests",
173 "//ipc:ipc_tests",
174 "//ipc/mojo:ipc_mojo_unittests",
175 "//media:media_unittests",
miu45b848fe2015-11-26 01:23:29176 "//media/cast:cast_unittests",
pkotwicz558d5252015-10-19 21:09:55177 "//media/midi:midi_unittests",
178 "//mojo",
pkotwicz558d5252015-10-19 21:09:55179 "//mojo/common:mojo_common_unittests",
ben273c1e32016-01-12 02:44:08180 "//mojo/shell/public/cpp",
pkotwicz558d5252015-10-19 21:09:55181 "//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",
nednguyenc42bf912016-01-27 01:39:28193 "//third_party/catapult/telemetry:bitmaptools($host_toolchain)",
sherouk53f0f1a2015-08-03 15:59:35194 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
195 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
196 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
197 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
198 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
sherouk53f0f1a2015-08-03 15:59:35199 "//third_party/smhasher:pmurhash",
200 "//tools/imagediff($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 }
agrieve97dd57d2016-01-05 19:26:27224 }
225
scottmg34fb7e52014-12-03 23:27:24226 deps += root_extra_deps
brettw@chromium.orgfce5c3fe2014-04-10 21:13:05227
tfarina4aa9edc2015-10-26 22:14:02228 if (enable_extensions) {
rockot2f1326e2015-02-23 23:53:51229 deps += [ "//extensions/shell:app_shell_unittests" ]
dprankefd1813272015-04-13 23:56:00230 }
231
dprankefd1813272015-04-13 23:56:00232 if (enable_media_router) {
imchengb6b09239f2015-05-15 21:41:55233 deps += [ "//chrome/browser/media/router" ]
rockot2f1326e2015-02-23 23:53:51234 }
235
garykac3eddb5b2015-04-17 23:16:38236 if (enable_remoting) {
237 deps += [ "//remoting:remoting_all" ]
James Robinson060f2e32014-09-10 22:31:37238 }
239
dprankee2ef3822015-02-24 21:42:18240 if (toolkit_views) {
241 deps += [ "//ui/views:views_unittests" ]
brettw@chromium.org6b9028ab2014-07-23 17:15:38242 }
243
dprankee2ef3822015-02-24 21:42:18244 if (use_aura) {
245 deps += [ "//ui/wm:wm_unittests" ]
246 }
247
248 if (use_ozone) {
dprankedb5527d72015-03-08 04:22:47249 deps += [ "//ui/ozone" ]
tfarina@chromium.orga306aaa2014-05-24 13:21:50250 }
251
dprankefd1813272015-04-13 23:56:00252 if (use_x11) {
253 deps += [ "//tools/xdisplaycheck" ]
kmarshalld2f3bea2015-03-11 23:42:22254 }
255
tmoniuszkoe5578b922015-04-14 09:38:03256 if (enable_configuration_policy) {
257 deps += [ "//components/policy:policy_templates" ]
258 }
259
dprankefd1813272015-04-13 23:56:00260 if (v8_use_external_startup_data) {
261 deps += [ "//gin:gin_v8_snapshot_fingerprint" ]
brettw@chromium.org137dff6d2014-06-12 19:35:55262 }
263
brettw66e3feab2015-07-20 23:52:22264 if (is_win) {
brettwf986f952015-10-07 17:18:15265 deps += [
266 "//chrome/installer/gcapi",
267 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy",
268 ]
brettw66e3feab2015-07-20 23:52:22269 }
270
dpranke@chromium.org5a8d5162014-04-12 01:19:16271 if (is_android) {
cjhopman@chromium.org26046b52014-07-16 00:11:03272 deps += [
pkotwicze2dae8b2015-11-03 20:12:55273 "//base:base_junit_tests",
dpranke244f9732015-11-20 05:38:10274 "//base/android/linker:chromium_android_linker",
cjhopman3d85c6d2014-11-18 03:39:38275 "//build/android/gyp/test:hello_world",
cjhopman31511332014-10-23 01:05:02276 "//build/android/rezip",
pkotwicze2dae8b2015-11-03 20:12:55277 "//components/invalidation/impl:components_invalidation_impl_junit_tests",
278 "//components/policy/android:components_policy_junit_tests",
279 "//content/public/android:content_junit_tests",
pkotwicz8adff4e2015-12-17 21:55:45280 "//content/shell/android:content_shell_apk",
281 "//content/test:video_decode_accelerator_unittest",
pkotwicze2dae8b2015-11-03 20:12:55282 "//net/android:net_junit_tests",
283 "//testing/android/junit:junit_unittests",
pkotwicz8adff4e2015-12-17 21:55:45284 "//third_party/android_tools:uiautomator_java",
agrieve40ba6862015-07-15 02:09:05285 "//third_party/errorprone:chromium_errorprone",
pkotwicz8adff4e2015-12-17 21:55:45286 "//third_party/smhasher:murmurhash3",
pkotwicze38594d2015-09-25 00:05:10287 "//tools/android:android_tools",
pkotwicz6b5571b2015-12-08 21:54:49288 "//tools/android:memconsumer",
pkotwicz8b9d18c2015-10-05 01:59:33289 "//tools/android/heap_profiler:heap_profiler_unittests",
dgn28050da2015-10-19 10:16:43290 "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk",
pkotwicz077093762015-12-21 16:47:15291 "//tools/cygprofile:cygprofile_unittests",
dprankee2ef3822015-02-24 21:42:18292 "//tools/imagediff($host_toolchain)",
newt9e226032016-01-26 01:30:15293 "//ui/android:ui_junit_tests",
dprankee2ef3822015-02-24 21:42:18294 ]
295 deps -= [
rockot9c67e5f2015-03-12 20:01:21296 "//net:net_perftests",
dprankee2ef3822015-02-24 21:42:18297 "//url:url_unittests",
cjhopman@chromium.org26046b52014-07-16 00:11:03298 ]
299
pkotwicz92e2e2312015-12-15 22:29:46300 if (!is_component_build) {
301 deps += [
agrievee23386b2016-01-05 04:47:58302 "//components/cronet/android:cronet_package",
pkotwicz92e2e2312015-12-15 22:29:46303 "//components/cronet/android:cronet_sample_apk",
304 "//components/cronet/android:cronet_sample_test_apk",
305 "//components/cronet/android:cronet_test_apk",
306 "//components/cronet/android:cronet_test_instrumentation_apk",
307 "//components/cronet/android:cronet_unittests",
308 ]
309 }
310
pkotwicz061c5a42015-09-30 02:16:54311 if (!is_chromecast) {
312 deps += [
michaelbaicbcc7e62015-11-12 04:29:53313 "//android_webview",
agrieveb08e2f5b2015-12-29 01:17:30314 "//android_webview/test",
agrieve1a3e9eb2015-12-29 02:07:26315 "//android_webview/tools",
pkotwicze2dae8b2015-11-03 20:12:55316 "//chrome/android:chrome_junit_tests",
pkotwicz061c5a42015-09-30 02:16:54317 "//chrome/android:chrome_public_apk",
318 "//chrome/android:chrome_public_test_apk",
319 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
agrieve473155b2015-12-28 20:23:11320 "//content/shell/android:content_shell_test_apk",
pkotwicz0a2255e2015-10-06 16:29:05321 "//third_party/custom_tabs_client:custom_tabs_client_example_apk",
pkotwicz061c5a42015-09-30 02:16:54322 ]
323 }
324
pkotwicz06a4b4b42015-10-29 23:11:11325 if (target_cpu != "x64") {
326 deps += [ "//third_party/android_platform:android_relocation_packer_unittests($host_toolchain)" ]
327 }
328
cjhopmanca675d3e2014-10-24 03:50:45329 if (has_chrome_android_internal) {
dprankee2ef3822015-02-24 21:42:18330 deps += [ "//clank" ] # TODO(GYP) ??
cjhopmanca675d3e2014-10-24 03:50:45331 }
dprankefd1813272015-04-13 23:56:00332 }
333
pkotwicza4d233b22015-11-02 18:20:38334 if (is_linux || is_android) { # TODO(GYP): || is_bsd?
dprankefd1813272015-04-13 23:56:00335 deps += [
pkotwicza4d233b22015-11-02 18:20:38336 "//breakpad:breakpad_unittests",
dprankefd1813272015-04-13 23:56:00337 "//breakpad:core-2-minidump",
pkotwicza4d233b22015-11-02 18:20:38338 "//breakpad:generate_test_dump",
dprankefd1813272015-04-13 23:56:00339 "//breakpad:minidump-2-core",
340 ]
341 }
342
dpranke6293d252015-04-14 19:12:00343 if (is_chromeos) {
344 deps += [
345 "//chromeos:chromeos_unittests",
346 "//ui/chromeos:ui_chromeos_unittests",
347 ]
348 }
349
dprankefd1813272015-04-13 23:56:00350 if (is_chromeos || is_mac || is_win) {
351 deps += [
352 "//rlz:rlz_id",
353 "//rlz:rlz_lib",
354 "//rlz:rlz_unittests",
355 ]
dprankedb5527d72015-03-08 04:22:47356 }
357
358 if (is_linux) {
359 # The following are definitely linux-only.
hiroshigee6d374c2015-02-24 07:54:06360 deps += [
dpranke2bc89212015-11-18 00:24:43361 "//chrome:manpage",
362 "//chrome:xdg_mime",
dprankedb5527d72015-03-08 04:22:47363 "//dbus:dbus_test_server",
dprankee2ef3822015-02-24 21:42:18364 "//dbus:dbus_unittests",
dprankedb5527d72015-03-08 04:22:47365 "//net:disk_cache_memory_test",
366 "//net:flip_in_mem_edsm_server",
367 "//net:flip_in_mem_edsm_server_unittests",
368 "//net:quic_client",
369 "//net:quic_server",
370 "//sandbox/linux:chrome_sandbox",
dprankee2ef3822015-02-24 21:42:18371 "//sandbox/linux:sandbox_linux_unittests",
hiroshigee6d374c2015-02-24 07:54:06372 ]
dnicoara8c6aa8e2015-03-11 23:20:32373
374 if (is_chromeos || use_ash) {
375 deps += [ "//components/session_manager/core" ]
dpranke2bc89212015-11-18 00:24:43376 }
377
378 if (is_chrome_branded && is_official_build) {
379 # TODO(dpranke): add the linux_dump_symbols flag?
380 deps += [ "//chrome:linux_symbols" ]
dnicoara8c6aa8e2015-03-11 23:20:32381 }
dprankedb5527d72015-03-08 04:22:47382 }
383
sherouke1859f92015-08-05 10:19:10384 if (is_ios || is_win || (is_linux && !is_chromeos)) {
385 deps += [
386 "//base:base_i18n_perftests",
387 "//base:base_perftests",
sherouk710734d2015-09-02 19:02:58388 "//google_apis:google_apis_unittests",
sherouke1859f92015-08-05 10:19:10389 ]
390 }
391
agrieve473155b2015-12-28 20:23:11392 if (is_android || is_win || (is_linux && !is_chromeos)) {
tfarina9e7cf702015-02-23 21:13:44393 deps += [
dprankedb5527d72015-03-08 04:22:47394 "//base:build_utf8_validator_tables",
dpranke244f9732015-11-20 05:38:10395 "//base:check_example",
dprankedb5527d72015-03-08 04:22:47396 "//cc:cc_perftests",
dprankefd1813272015-04-13 23:56:00397 "//cc/blink:cc_blink_unittests",
dprankedb5527d72015-03-08 04:22:47398 "//components:components_perftests",
dprankedb5527d72015-03-08 04:22:47399 "//content/test:content_gl_benchmark",
dpranke244f9732015-11-20 05:38:10400 "//content/test:content_gl_tests",
dprankedb5527d72015-03-08 04:22:47401 "//device:device_unittests",
402 "//gin:gin_shell",
dprankedb5527d72015-03-08 04:22:47403 "//gin:gin_unittests",
dprankedb5527d72015-03-08 04:22:47404 "//google_apis/gcm:mcs_probe",
dprankefd1813272015-04-13 23:56:00405 "//gpu:gl_tests",
dpranke244f9732015-11-20 05:38:10406 "//gpu:gpu_perftests",
dprankedb5527d72015-03-08 04:22:47407 "//ipc:ipc_perftests",
dprankedb5527d72015-03-08 04:22:47408 "//media:media_perftests",
dprankefd1813272015-04-13 23:56:00409 "//net:dump_cache",
dprankedb5527d72015-03-08 04:22:47410 "//sync:run_sync_testserver",
dprankedb5527d72015-03-08 04:22:47411 "//third_party/codesighs:maptsvdifftool",
dprankefd1813272015-04-13 23:56:00412 "//third_party/libphonenumber:libphonenumber_unittests",
dprankedb5527d72015-03-08 04:22:47413 "//ui/compositor:compositor_unittests",
414 ]
415
agrieve473155b2015-12-28 20:23:11416 # TODO(GYP): Figure out which of these should (and can) build
417 # for chromeos/mac/ios.
418 if (!is_android) {
419 deps += [
420 "//chrome/test:load_library_perf_tests",
421 "//chrome/test:sync_performance_tests",
422 "//chrome/test/chromedriver:chromedriver",
423 "//chrome/test/chromedriver:chromedriver_tests",
424 "//courgette:courgette",
425 "//courgette:courgette_fuzz",
426 "//courgette:courgette_minimal_tool",
427 "//courgette:courgette_unittests",
428 "//media/cast:generate_barcode_video",
429 "//media/cast:generate_timecode_audio",
430 "//net:crash_cache",
431 "//net:crl_set_dump",
432 "//net:dns_fuzz_stub",
433 "//net:gdig",
434 "//net:get_server_time",
435 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in_net
436 "//net:run_testserver",
437 "//net:stress_cache",
438 "//net:tld_cleanup",
439 "//ppapi:pepper_hash_for_uma",
440 "//ppapi:ppapi_perftests",
441 "//third_party/angle/src/tests:angle_unittests",
442 "//third_party/leveldatabase:env_chromium_unittests",
443 "//third_party/libaddressinput:libaddressinput_unittests",
444 ]
445 }
446 if (!is_android && !is_linux) {
dpranke7e19b472015-11-13 00:49:33447 # TODO(dpranke): Re-enable this once
448 # https://chromium-review.googlesource.com/#/c/312298/1 is rolled
449 # into chromium.
450 deps += [ "//third_party/angle/src/tests:angle_end2end_tests" ]
451 }
452
dprankedb5527d72015-03-08 04:22:47453 if (enable_extensions) {
454 deps += [ "//extensions/shell:app_shell" ]
455 }
456
457 if (enable_nacl) {
brettwf4b4a4282015-12-16 00:41:13458 deps += [ "//components/nacl/loader:nacl_loader_unittests" ]
dpranke2bc89212015-11-18 00:24:43459
460 if (is_linux) {
461 # TODO(dpranke): Figure out what platforms should actually have this.
462 deps += [
brettwf4b4a4282015-12-16 00:41:13463 "//components/nacl/loader:helper_nonsfi",
phosekca8571a92015-12-17 16:35:42464 "//components/nacl/loader:helper_nonsfi_unittests",
brettwf4b4a4282015-12-16 00:41:13465 "//components/nacl/loader:nacl_helper",
dpranke2bc89212015-11-18 00:24:43466 ]
467 }
dprankedb5527d72015-03-08 04:22:47468 }
469
xhwangfa2d9d472015-12-18 23:31:18470 if (media_use_ffmpeg && !is_android) {
mostynb2196a462015-08-20 17:22:10471 deps += [ "//media:ffmpeg_regression_tests" ]
472 }
473
dprankedb5527d72015-03-08 04:22:47474 if (use_ash) {
475 deps += [
benf97b2572015-09-25 23:12:53476 "//ash:ash_shell_with_content",
dprankedb5527d72015-03-08 04:22:47477 "//ash:ash_unittests",
478 ]
479 }
480
481 if (use_aura) {
482 deps += [
483 "//ui/aura:aura_unittests",
484 "//ui/aura:bench",
485 "//ui/aura:demo",
486 ]
487 }
dprankefd1813272015-04-13 23:56:00488 }
489
agrieve473155b2015-12-28 20:23:11490 if (is_android || (is_linux && !is_chromeos)) {
dprankefd1813272015-04-13 23:56:00491 deps += [
492 # TODO(GYP): Figure out which of these should (and can) build
493 # under which other conditions.
agrieve473155b2015-12-28 20:23:11494 "//breakpad:dump_syms($host_toolchain)",
495 "//breakpad:microdump_stackwalk($host_toolchain)",
496 "//breakpad:minidump_dump($host_toolchain)",
497 "//breakpad:minidump_stackwalk($host_toolchain)",
dprankefd1813272015-04-13 23:56:00498 "//cloud_print:cloud_print_unittests",
499 "//components/network_hints/browser",
dprankefd1813272015-04-13 23:56:00500 "//content/public/app:browser",
501 "//content/public/app:child",
502
503 # TODO(GYP): Remove this when the gles2 tests work
504 "//gpu/command_buffer/client:gles2_implementation_no_check",
dprankefd1813272015-04-13 23:56:00505 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/471903 to make this complete.
ben273c1e32016-01-12 02:44:08506 "//mojo/shell/public/cpp",
dprankefd1813272015-04-13 23:56:00507 "//testing/gmock:gmock_main",
jam76bcf0c2015-10-02 21:01:28508
509 # TODO(use-new-edk):
510 #"//mojo/edk/test:mojo_public_system_perftests",
dpranke244f9732015-11-20 05:38:10511 "//third_party/codesighs:nm2tsv",
dprankefd1813272015-04-13 23:56:00512 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
dprankefd1813272015-04-13 23:56:00513 ]
514
agrieve473155b2015-12-28 20:23:11515 if (!is_android) {
516 deps += [
517 "//build/sanitizers:copy_llvm_symbolizer",
518 "//chrome/test:chrome_app_unittests",
519 "//media/cast:cast_benchmarks",
520 "//media/cast:tap_proxy",
521 "//skia:filter_fuzz_stub",
522 "//skia:image_operations_bench",
523 "//sync/tools:sync_client",
524 "//sync/tools:sync_listen_notifications",
525 "//third_party/sqlite:sqlite_shell",
526 "//ui/keyboard:keyboard_unittests",
527 "//ui/message_center:message_center_unittests",
528 "//ui/snapshot:snapshot_unittests",
529 "//ui/views/examples:views_examples_with_content_exe",
530 ]
dprankefd1813272015-04-13 23:56:00531
agrieve473155b2015-12-28 20:23:11532 if (!is_debug && !is_component_build) {
533 deps += [ "//chrome/tools/service_discovery_sniffer" ]
534 }
dprankefd1813272015-04-13 23:56:00535 }
536
537 if (toolkit_views) {
538 deps += [ "//ui/app_list:app_list_demo" ]
539 }
dprankedb5527d72015-03-08 04:22:47540
541 if (use_x11) {
wtc6e2e29c2015-03-13 01:09:44542 if (target_cpu != "arm") {
tfarina8944e6f2015-03-25 20:06:59543 deps += [ "//gpu/tools/compositor_model_bench" ]
wtc6e2e29c2015-03-13 01:09:44544 }
dprankedb5527d72015-03-08 04:22:47545 }
546 }
547
548 if (is_mac) {
549 deps += [
550 "//breakpad:crash_inspector",
551 "//breakpad:dump_syms",
tfarina9e7cf702015-02-23 21:13:44552 "//third_party/apple_sample_code",
553 "//third_party/molokocacao",
554 ]
dpranke43760592014-11-08 02:59:57555 deps -= [
brettw011138d2015-10-21 03:05:38556 # Mojo in GN contains some things which are never compiled in GYP on Mac,
557 # so compilation fails on Mac. They need porting.
brettwe1d40652015-10-23 23:06:10558 "//mojo",
mohsen29fd4052014-12-08 21:06:46559 ]
dprankefd1813272015-04-13 23:56:00560 }
561
562 if (is_win) {
563 deps += [
564 "//base:pe_image_test",
grt734e87b2015-07-06 19:36:43565 "//chrome/installer/setup:setup_unittests",
dprankefd1813272015-04-13 23:56:00566 "//chrome_elf:chrome_elf_unittests",
567 "//chrome_elf:dll_hash_main",
brettw70b359a2015-10-14 23:43:23568 "//cloud_print:cloud_print_unittests",
dpranke244f9732015-11-20 05:38:10569 "//cloud_print/service/win:cloud_print_service",
dprankefd1813272015-04-13 23:56:00570 "//components/wifi:wifi_test",
571 "//net:quic_client",
572 "//net:quic_server",
573 "//sandbox/win:pocdll",
574 "//sandbox/win:sandbox_poc",
575 "//sandbox/win:sbox_integration_tests",
576 "//sandbox/win:sbox_unittests",
577 "//sandbox/win:sbox_validation_tests",
578 "//testing/gtest:gtest_main",
579 "//third_party/codesighs:msmap2tsv",
580 "//third_party/pdfium/samples:pdfium_diff",
581 "//ui/metro_viewer",
582 ]
dprankee2ef3822015-02-24 21:42:18583 deps -= [
584 "//crypto:crypto_unittests", # TODO(GYP)
585 "//net:net_unittests", # TODO(GYP)
586 ]
sherouk53f0f1a2015-08-03 15:59:35587 } else if (!is_android && !is_ios) {
miu45b848fe2015-11-26 01:23:29588 deps += [ "//breakpad:symupload($host_toolchain)" ]
mohsenf837da7c2014-12-09 19:01:34589 }
slance9d62f2015-11-04 01:15:01590 if (is_chromecast) {
591 deps += [ "//chromecast:cast_shell" ]
592 }
miu45b848fe2015-11-26 01:23:29593
dpranked43eab42015-12-15 23:10:44594 if (is_mac) { # TODO(GYP) || is_ios
miu45b848fe2015-11-26 01:23:29595 deps += [ "//media/cast:cast_h264_vt_encoder_unittests" ]
596 }
hbos17a7b4a22015-12-07 10:49:45597
598 if (use_openh264) {
599 deps += [
600 "//third_party/openh264:common",
601 "//third_party/openh264:encoder",
602 "//third_party/openh264:processing",
603 ]
604 }
dpranke18e57432015-02-27 21:46:47605}
606
sky60a230b2016-01-23 01:04:53607# This group contains all the targets needed to run mojo's apptest_runner.
608group("mojo_apptests") {
609 testonly = true
610
611 deps = []
612
613 if (is_win || is_linux) {
614 deps += [
615 "//mandoline:tests",
616 "//mash/wm:tests",
jrummell135d61e2016-01-27 19:36:17617 "//media/mojo/services:tests",
sky60a230b2016-01-23 01:04:53618 "//ui/views/mus:tests",
619 ]
620 }
621}
622
dpranked62d8512015-03-02 03:06:03623group("gn_only") {
dprankedb5527d72015-03-08 04:22:47624 testonly = true
625
dpranke2a294622015-08-07 05:23:01626 deps = []
627
amistry4dcd7c42015-12-16 04:53:10628 if (!is_ios) {
629 deps += [ "//mojo/common:mojo_common_perftests" ]
630 }
631
agrieve473155b2015-12-28 20:23:11632 if (!is_mac && !is_ios && !is_chromecast) {
dpranke2a294622015-08-07 05:23:01633 deps += [ "//mandoline:all" ]
sherouk53f0f1a2015-08-03 15:59:35634 }
isherman0f89b43eb2015-04-11 00:02:45635
dpranke244f9732015-11-20 05:38:10636 if (!is_android && !is_ios && !is_chromeos) {
isherman0f89b43eb2015-04-11 00:02:45637 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
638 }
639
ben8f4e95ad2015-12-01 18:35:58640 if (is_win || is_linux) {
sky70471b22016-01-14 16:20:54641 deps += [
sky60a230b2016-01-23 01:04:53642 ":mojo_apptests",
sky70471b22016-01-14 16:20:54643 "//mash:all",
sky70471b22016-01-14 16:20:54644 ]
sky97b65592015-11-02 20:08:25645 }
646
zhaoqin756f8572016-01-25 21:41:17647 if (is_win && use_drfuzz) {
648 # build libfuzzer fuzzers on Windows to run with Dr. Fuzz
649 deps += [
650 "//testing/libfuzzer/fuzzers",
651 "//testing/libfuzzer/tests:libfuzzer_tests",
652 ]
653 }
654
slance9d62f2015-11-04 01:15:01655 if (is_linux && !is_chromeos && !is_chromecast) {
dprankedb5527d72015-03-08 04:22:47656 # TODO(GYP): Figure out if any of these should be in gn_all
657 # and figure out how cross-platform they are
isherman0f89b43eb2015-04-11 00:02:45658 deps += [
dprankedb5527d72015-03-08 04:22:47659 ":gn_mojo_targets",
660 "//chrome/browser/resources:extension_resource_demo",
661 "//chrome/installer/util:strings",
dprankedb5527d72015-03-08 04:22:47662 "//chrome/tools/convert_dict",
663 "//components/constrained_window:unit_tests",
664 "//components/enhanced_bookmarks:test_support",
dprankedb5527d72015-03-08 04:22:47665 "//components/metrics:serialization",
isherman0f89b43eb2015-04-11 00:02:45666 "//components/password_manager/content/renderer:browser_tests",
dprankedb5527d72015-03-08 04:22:47667 "//components/rappor:unit_tests",
668 "//components/sessions:unit_tests",
669 "//media/blink:media_blink_unittests",
dprankedb5527d72015-03-08 04:22:47670 "//media/cast:udp_proxy",
dprankedb5527d72015-03-08 04:22:47671 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
672 "//storage/browser:dump_file_system",
aizatskyc562c132016-01-20 00:00:14673 "//testing/libfuzzer/fuzzers",
674 "//testing/libfuzzer/tests:libfuzzer_tests",
dprankedb5527d72015-03-08 04:22:47675 "//third_party/angle:libANGLE",
676 "//third_party/angle:libEGL",
677 "//third_party/angle:libGLESv2",
678 "//third_party/cld_2:cld_2_dynamic_data_tool",
679 "//third_party/leveldatabase:leveldb_arena_test",
680 "//third_party/leveldatabase:leveldb_bloom_test",
dprankedb5527d72015-03-08 04:22:47681 "//third_party/leveldatabase:leveldb_cache_test",
dprankedb5527d72015-03-08 04:22:47682 "//third_party/leveldatabase:leveldb_corruption_test",
dpranke244f9732015-11-20 05:38:10683 "//third_party/leveldatabase:leveldb_crc32c_test",
684 "//third_party/leveldatabase:leveldb_db_bench",
685 "//third_party/leveldatabase:leveldb_db_test",
dprankedb5527d72015-03-08 04:22:47686 "//third_party/leveldatabase:leveldb_dbformat_test",
dpranke244f9732015-11-20 05:38:10687 "//third_party/leveldatabase:leveldb_env_test",
688 "//third_party/leveldatabase:leveldb_filename_test",
689 "//third_party/leveldatabase:leveldb_filter_block_test",
690 "//third_party/leveldatabase:leveldb_log_test",
691 "//third_party/leveldatabase:leveldb_skiplist_test",
692 "//third_party/leveldatabase:leveldb_table_test",
693 "//third_party/leveldatabase:leveldb_version_edit_test",
694 "//third_party/leveldatabase:leveldb_write_batch_test",
dprankedb5527d72015-03-08 04:22:47695 "//third_party/libjpeg_turbo:simd",
dpranke244f9732015-11-20 05:38:10696 "//third_party/libsrtp:rdbx_driver",
dprankedb5527d72015-03-08 04:22:47697 "//third_party/libsrtp:replay_driver",
698 "//third_party/libsrtp:roc_driver",
699 "//third_party/libsrtp:rtpw",
dprankedb5527d72015-03-08 04:22:47700 "//third_party/libsrtp:srtp_driver",
701 "//third_party/libsrtp:srtp_driver",
dpranke244f9732015-11-20 05:38:10702 "//third_party/libsrtp:srtp_test_aes_calc",
dprankedb5527d72015-03-08 04:22:47703 "//third_party/libsrtp:srtp_test_cipher_driver",
704 "//third_party/libsrtp:srtp_test_datatypes_driver",
dprankedb5527d72015-03-08 04:22:47705 "//third_party/libsrtp:srtp_test_env",
dpranke244f9732015-11-20 05:38:10706 "//third_party/libsrtp:srtp_test_kernel_driver",
dprankedb5527d72015-03-08 04:22:47707 "//third_party/libsrtp:srtp_test_rand_gen",
708 "//third_party/libsrtp:srtp_test_sha1_driver",
709 "//third_party/libsrtp:srtp_test_stat_driver",
710 "//third_party/opus:opus_compare",
711 "//third_party/opus:opus_demo",
dpranke244f9732015-11-20 05:38:10712 "//third_party/opus:test_opus_api",
dprankedb5527d72015-03-08 04:22:47713 "//third_party/opus:test_opus_decode",
714 "//third_party/opus:test_opus_encode",
dprankedb5527d72015-03-08 04:22:47715 "//third_party/opus:test_opus_padding",
dpranke244f9732015-11-20 05:38:10716 "//third_party/pdfium/third_party:fx_freetype",
dprankedb5527d72015-03-08 04:22:47717 "//third_party/webrtc/system_wrappers:field_trial_default",
718 "//third_party/webrtc/system_wrappers:metrics_default",
719 "//ui/display/types",
720 "//ui/shell_dialogs:shell_dialogs_unittests",
721 "//ui/views/examples:views_examples_exe",
dprankedb5527d72015-03-08 04:22:47722 ]
dprankeb0713542015-07-31 21:07:21723
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16724 if (target_cpu == "x86" || target_cpu == "x64") {
agrieve473155b2015-12-28 20:23:11725 if (!is_android) {
726 deps += [ "//chrome/test:load_library_perf_tests" ]
727 }
mcgrathr916aafa2015-09-15 00:06:53728 deps += [
mcgrathr916aafa2015-09-15 00:06:53729 "//native_client/src/trusted/platform_qualify:vcpuid",
dpranke244f9732015-11-20 05:38:10730 "//third_party/libjpeg_turbo:simd_asm",
mcgrathr916aafa2015-09-15 00:06:53731 ]
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16732 }
dprankedb5527d72015-03-08 04:22:47733 if (enable_nacl) {
734 deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]
735 }
736 if (use_ozone) {
737 deps += [ "//ui/ozone/demo" ]
738 }
dpranke807f6022015-03-17 23:20:56739
740 if (is_linux && current_toolchain == host_toolchain) {
741 deps += [ "//v8:d8" ]
742 }
nyquist6aeec5142015-09-10 03:38:52743 }
744
agrieve473155b2015-12-28 20:23:11745 if (is_android) {
746 deps += [
747 "//build/android/gyp/test:hello_world",
748 "//build/android/incremental_install:bootstrap_java",
749 ]
nyquistb5f050b2015-09-10 05:10:35750 }
751
agrieve473155b2015-12-28 20:23:11752 if (!is_chromecast && (is_android || is_linux || is_chromeos)) {
753 deps += [
754 "//blimp",
755 "//blimp:blimp_tests",
aizatskyddefc992015-11-20 08:42:03756 ]
aizatskyfc46a9f2015-10-09 21:20:08757 }
dprankedb5527d72015-03-08 04:22:47758}
759
760group("gn_mojo_targets") {
761 testonly = true
762 if (is_linux && !is_chromeos) {
763 # TODO(GYP): Figure out if any of these should be in gn_all
764 # and figure out how cross-platform they are
765 deps = [
dprankedb5527d72015-03-08 04:22:47766 "//ipc/mojo:ipc_mojo_perftests",
dprankedb5527d72015-03-08 04:22:47767 "//media/mojo:tests",
dpranke244f9732015-11-20 05:38:10768 "//media/mojo/services:cdm_service",
msw1bb9c6c2015-05-06 21:35:44769 "//mojo:tests",
pkotwicz8b9d18c2015-10-05 01:59:33770
jam76bcf0c2015-10-02 21:01:28771 # TODO(use-new-edk):
jam76bcf0c2015-10-02 21:01:28772 #"//mojo/edk/js/tests:js_to_cpp_bindings_python",
dprankedb5527d72015-03-08 04:22:47773 ]
dprankedb5527d72015-03-08 04:22:47774 }
775}
776
777group("gn_visibility") {
dpranked62d8512015-03-02 03:06:03778 deps = [
dprankeb6128d02015-05-01 16:40:30779 "//build/config/sanitizers:options_sources",
780
dprankedb5527d72015-03-08 04:22:47781 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
782 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
dprankeb6128d02015-05-01 16:40:30783
784 "//ui/resources:repack_ui_test_mac_locale_pack",
dpranked62d8512015-03-02 03:06:03785 ]
dpranked2fb5222015-09-10 22:39:05786
787 if (!is_ios) {
788 deps += [
dpranked2fb5222015-09-10 22:39:05789 "//v8:postmortem-metadata",
dpranke244f9732015-11-20 05:38:10790 "//v8:v8_snapshot",
dpranked2fb5222015-09-10 22:39:05791 ]
792 }
dpranked62d8512015-03-02 03:06:03793}
794
tfarinacb2638b2015-05-12 03:24:15795if (!is_ios) {
796 # This group includes all of the targets needed to build and test Blink,
797 # including running the layout tests (see below).
798 group("blink_tests") {
799 testonly = true
800
801 deps = [
802 "//third_party/WebKit/public:all_blink",
803 ]
804
805 # NOTE: The following deps are needed to run the layout tests
806 # (run-webkit-tests) but there is no GN target for the layout tests,
807 # so we need to specify the dependencies here instead.
808 if (is_android) {
809 deps += [
pkotwicza4d233b22015-11-02 18:20:38810 "//breakpad:breakpad_unittests_deps",
tfarinacb2638b2015-05-12 03:24:15811 "//breakpad:dump_syms($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38812 "//breakpad:microdump_stackwalk($host_toolchain)",
813 "//breakpad:minidump_dump($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15814 "//breakpad:minidump_stackwalk($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38815 "//breakpad:symupload($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15816 "//content/shell/android:content_shell_apk",
ojan94989c72015-07-17 21:56:42817 "//tools/imagediff($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15818 ]
819 } else {
ojan94989c72015-07-17 21:56:42820 deps += [
821 "//content/shell:content_shell",
822 "//tools/imagediff",
823 ]
tfarinacb2638b2015-05-12 03:24:15824 }
825
826 if (is_win) {
827 deps += [
jochen73e711c2015-06-03 10:01:46828 "//components/test_runner:layout_test_helper",
brettw0d3b1df2015-12-03 00:10:01829 "//content/shell:content_shell_crash_service",
tfarinacb2638b2015-05-12 03:24:15830 ]
831 }
832
833 if (!is_win && !is_android) {
Gordana.Cmiljanovicf243e9a2015-05-26 22:14:47834 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
tfarinacb2638b2015-05-12 03:24:15835 }
836
837 if (is_mac) {
838 deps += [
839 "//breakpad:dump_syms($host_toolchain)",
jochen73e711c2015-06-03 10:01:46840 "//components/test_runner:layout_test_helper",
tfarinacb2638b2015-05-12 03:24:15841 ]
842 }
843
844 if (is_linux) {
845 deps += [ "//breakpad:dump_syms($host_toolchain)" ]
846 }
847 }
848}
849
dpranke6abd8652015-08-28 03:21:11850# Add a dummy target for compatibility w/ GYP
851group("chromium_swarm_tests") {
852}
853
dpranke2302dfa2015-09-29 02:21:52854group("chromium_builder_perf") {
855 testonly = true
856
857 # TODO(GYP): Make this target work on the mac.
858 if (!is_ios && !is_android && !is_chromecast && !is_mac) {
859 deps = [
860 "//cc:cc_perftests",
861 "//chrome",
862 "//chrome/test:load_library_perf_tests",
863 "//chrome/test:sync_performance_tests",
864 "//gpu:gpu_perftests",
865 "//media:media_perftests",
866 "//media/midi:midi_unittests",
nednguyenc42bf912016-01-27 01:39:28867 "//third_party/catapult/telemetry:bitmaptools",
dpranke2302dfa2015-09-29 02:21:52868 ]
869
870 if (!is_chromeos) {
871 deps += [ "//chrome/test:performance_browser_tests" ]
872 }
873 if (is_linux && !is_chromeos) {
dpranke9aed5d582015-11-22 23:22:04874 if (is_official_build) {
875 # In GN builds, this is controlled by the 'linux_dump_symbols'
876 # flag, which defaults to 1 for official builds. For now,
877 # we skip the separate flag and just key off of is_official_build.
878 deps += [ "//chrome:linux_symbols" ]
879 }
dpranke2302dfa2015-09-29 02:21:52880
881 if (!is_chromeos) {
882 deps += [ "//tools/perf/clear_system_cache" ]
883 }
884 }
885
886 if (is_win) {
887 deps += [
brettw0d3b1df2015-12-03 00:10:01888 "//chrome/tools/crash_service",
dpranke2302dfa2015-09-29 02:21:52889 # "//gpu:angle_perftests", TODO(GYP): crbug.com/537008
890 ]
891
892 if (target_cpu == "x86") {
brettw0d3b1df2015-12-03 00:10:01893 deps += [ "//chrome/tools/crash_service:crash_service_win64" ]
dpranke2302dfa2015-09-29 02:21:52894 }
895 } else {
dprankeec10b3932015-10-02 17:58:23896 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
dpranke2302dfa2015-09-29 02:21:52897 }
898 }
899}