[go: nahoru, domu]

blob: 380c28b2fae11031be561ade19eded3384423c73 [file] [log] [blame]
brettw@chromium.orgf0e7ff882013-12-26 21:23:091# Copyright (c) 2013 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# This is the root build file for GN. GN will start processing by loading this
6# file, and recursively load all dependencies until all dependencies are either
7# resolved or known not to exist (which will cause the build to fail). So if
8# you add a new build file, there must be some path of dependencies from this
9# file to your new one or GN won't know about it.
10
rockot2f1326e2015-02-23 23:53:5111import("//build/config/features.gni")
aizatskyfc46a9f2015-10-09 21:20:0812import("//build/config/sanitizers/sanitizers.gni")
tfarina@chromium.org378b4f02014-06-10 15:58:4513import("//build/config/ui.gni")
dpranked4da5ab2015-10-13 06:20:3314import("//build_overrides/v8.gni")
dpranked43eab42015-12-15 23:10:4415import("//build_overrides/webrtc.gni")
mostynb2196a462015-08-20 17:22:1016import("//media/media_options.gni")
hbos17a7b4a22015-12-07 10:49:4517import("//third_party/openh264/openh264_args.gni")
dprankee2ef3822015-02-24 21:42:1818
cjhopmanca675d3e2014-10-24 03:50:4519if (is_android) {
20 import("//build/config/android/config.gni")
21}
tfarina@chromium.org378b4f02014-06-10 15:58:4522
brettwb84b2942014-10-22 22:58:4523declare_args() {
24 # A list of extra dependencies to add to the root target. This allows a
25 # checkout to add additional targets without explicitly changing any checked-
26 # in files.
27 root_extra_deps = []
28}
29
dprankeef9c5e582015-11-15 23:22:0830# This file defines the following five main targets:
dpranked62d8512015-03-02 03:06:0331#
dprankeddc174902015-04-29 01:38:3532# "both_gn_and_gyp" should list every root target (target that nothing else
33# depends on) built by GN that is also built in the GYP build.
dpranked62d8512015-03-02 03:06:0334#
dprankeddc174902015-04-29 01:38:3535# "gn_all" should (transitively) cause everything to be built; if you run
36# 'ninja gn_all' and then 'ninja all', the second build should do no work.
37#
dprankeef9c5e582015-11-15 23:22:0838# "gn_only" should list every root target that is *not* intended to be built in
39# a GYP build. Because GN has different rules for deciding what an 'all' build
40# is, this may end up including targets that are actually defined in a GYP
41# build but not dependencies of GYP's "all" (and so not actually built).
dprankeddc174902015-04-29 01:38:3542#
dprankeb6128d02015-05-01 16:40:3043# "gn_visibility": targets that are normally not visible to top-level targets,
dprankeef9c5e582015-11-15 23:22:0844# but are built anyway by "all". Since we don't want any such targets, we have
45# this placeholder to make sure hidden targets that aren't otherwise depended
46# on yet are accounted for.
47#
48# "All" is an alias for "gn_all". It exists for bot compatibility w/ GYP for
49# the iOS bots and the official builders, but should not be generally used
50# during the GYP->GN migration. We cannot guarantee that GN's "All" builds the
51# same set of targets as GYP's "All" does, because GYP's "All" supports
52# wildcards.
53#
54# Lastly, none of these targets are guaranteed to be the same as what ninja
55# will build with "all". For more on how "all" works and the differences in how
56# GYP and GN determine "all", see crbug.com/503241.
dprankeb6128d02015-05-01 16:40:3057#
dprankeddc174902015-04-29 01:38:3558# TODO(GYP): crbug.com/481694. Make sure that the above is true and there are
dprankeef9c5e582015-11-15 23:22:0859# scripts run on the bots that enforce this. Once the GYP migration is over, we
60# can collapse all of these targets as desired.
dprankeff30e3d2015-02-24 06:52:3961
dprankee2ef3822015-02-24 21:42:1862group("gn_all") {
dprankeddc174902015-04-29 01:38:3563 testonly = true
64
65 deps = [
66 ":both_gn_and_gyp",
67 ":gn_only",
dprankeb6128d02015-05-01 16:40:3068 ":gn_visibility",
dprankeddc174902015-04-29 01:38:3569 ]
70}
71
dprankeef9c5e582015-11-15 23:22:0872# TODO(GYP): This target exists for compatibility with GYP, specifically
73# for the iOS bots and the official builders.
74group("All") {
75 testonly = true
76
77 deps = [
78 ":gn_all",
79 ]
80}
81
dprankeddc174902015-04-29 01:38:3582# The "both_gn_and_gyp" target should reflect every target that is built
83# in both the GN and GYP builds, and ideally it should match the
84# "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line.
85#
86# TODO(GYP): Add build steps that check and enforce this on the bots.
87group("both_gn_and_gyp") {
dprankee2ef3822015-02-24 21:42:1888 testonly = true
dprankee2ef3822015-02-24 21:42:1889 deps = [
90 "//base:base_unittests",
brettwa874dcc2015-08-28 23:59:1891 "//chrome/installer",
sheroukdc35ba272015-09-22 14:09:3792 "//components:components_unittests",
sheroukce1c7d72015-08-24 15:21:5993 "//net:net_unittests",
sherouk2866d662015-08-24 16:29:4494 "//skia:skia_unittests",
brettwa874dcc2015-08-28 23:59:1895 "//sql:sql_unittests",
sherouk3eee4a82015-09-01 10:42:3396 "//sync:sync_unit_tests",
sherouk4fb74d42015-08-24 15:58:4197 "//ui/base:ui_base_unittests",
sherouk84a45ff2015-09-01 13:31:3998 "//ui/gfx:gfx_unittests",
sherouk4fb74d42015-08-24 15:58:4199 "//url:url_unittests",
dprankee2ef3822015-02-24 21:42:18100 ]
dpranke2a294622015-08-07 05:23:01101
slance9d62f2015-11-04 01:15:01102 if (!is_ios && !is_android && !is_chromecast) {
sherouk53f0f1a2015-08-03 15:59:35103 deps += [
sherouk53f0f1a2015-08-03 15:59:35104 "//chrome",
105 "//chrome/test:browser_tests",
106 "//chrome/test:interactive_ui_tests",
107 "//chrome/test:sync_integration_tests",
sherouk53f0f1a2015-08-03 15:59:35108 "//chrome/test/chromedriver:chromedriver_unittests",
sherouk53f0f1a2015-08-03 15:59:35109 "//crypto:crypto_unittests",
sherouk53f0f1a2015-08-03 15:59:35110 "//extensions:extensions_browsertests",
111 "//extensions:extensions_unittests",
112 "//google_apis/gcm:gcm_unit_tests",
dprankedbdd9d82015-08-12 21:18:18113 "//gpu/gles2_conform_support:gles2_conform_test",
sherouk53f0f1a2015-08-03 15:59:35114 "//jingle:jingle_unittests",
sherouk53f0f1a2015-08-03 15:59:35115 "//net:hpack_example_generator",
116 "//net:hpack_fuzz_mutator",
117 "//net:hpack_fuzz_wrapper",
sherouk53f0f1a2015-08-03 15:59:35118 "//ppapi:ppapi_unittests",
119 "//ppapi/examples/2d",
120 "//ppapi/examples/audio",
121 "//ppapi/examples/audio_input",
122 "//ppapi/examples/compositor",
123 "//ppapi/examples/crxfs",
124 "//ppapi/examples/enumerate_devices",
125 "//ppapi/examples/file_chooser",
126 "//ppapi/examples/flash_topmost",
127 "//ppapi/examples/font",
128 "//ppapi/examples/gamepad",
129 "//ppapi/examples/gles2",
130 "//ppapi/examples/gles2_spinning_cube",
131 "//ppapi/examples/ime",
132 "//ppapi/examples/input",
133 "//ppapi/examples/media_stream_audio",
134 "//ppapi/examples/media_stream_video",
135 "//ppapi/examples/mouse_cursor",
136 "//ppapi/examples/mouse_lock",
137 "//ppapi/examples/printing",
138 "//ppapi/examples/scaling",
139 "//ppapi/examples/scripting",
140 "//ppapi/examples/stub",
141 "//ppapi/examples/threading",
142 "//ppapi/examples/url_loader",
143 "//ppapi/examples/video_capture",
144 "//ppapi/examples/video_decode",
145 "//ppapi/examples/video_effects",
146 "//ppapi/examples/video_encode",
147 "//printing:printing_unittests",
sherouk53f0f1a2015-08-03 15:59:35148 "//third_party/cacheinvalidation:cacheinvalidation_unittests",
149 "//third_party/codesighs",
pkotwicz558d5252015-10-19 21:09:55150 "//third_party/pdfium/samples:pdfium_test",
151 "//tools/gn",
pkotwicz558d5252015-10-19 21:09:55152 "//tools/gn:generate_test_gn_data",
dpranke244f9732015-11-20 05:38:10153 "//tools/gn:gn_unittests",
pkotwicz558d5252015-10-19 21:09:55154 "//tools/perf/clear_system_cache",
155 "//ui/accessibility:accessibility_unittests",
156 "//ui/app_list:app_list_unittests",
157 ]
158 }
159
160 if (!is_ios) {
161 # TODO(GYP): Figure out which of these should actually build on iOS,
162 # and whether there should be other targets that are iOS-only and missing.
163 deps += [
164 "//cc:cc_unittests",
165 "//chrome/test:unit_tests",
166 "//components:components_browsertests",
167 "//content/shell:content_shell",
168 "//content/test:content_browsertests",
169 "//content/test:content_perftests",
170 "//content/test:content_unittests",
171 "//device:device_unittests",
172 "//gpu:gpu_unittests",
173 "//ipc:ipc_tests",
174 "//ipc/mojo:ipc_mojo_unittests",
175 "//media:media_unittests",
miu45b848fe2015-11-26 01:23:29176 "//media/cast:cast_unittests",
pkotwicz558d5252015-10-19 21:09:55177 "//media/midi:midi_unittests",
178 "//mojo",
179 "//mojo/application/public/cpp",
180 "//mojo/common:mojo_common_unittests",
181 "//net:net_perftests",
jam76bcf0c2015-10-02 21:01:28182
183 # TODO(use-new-edk):
184 #"//mojo/edk/system:mojo_system_unittests",
185 #"//mojo/edk/test:mojo_public_bindings_unittests",
186 #"//mojo/edk/test:mojo_public_environment_unittests",
187 #"//mojo/edk/test:mojo_public_system_unittests",
188 #"//mojo/edk/test:mojo_public_utility_unittests",
Dirk Pranke49802732015-12-10 01:36:41189 "//third_party/WebKit/Source/platform:blink_heap_unittests",
190 "//third_party/WebKit/Source/platform:blink_platform_unittests",
dpranke244f9732015-11-20 05:38:10191 "//third_party/WebKit/Source/web:webkit_unit_tests",
192 "//third_party/WebKit/Source/wtf:wtf_unittests",
sherouk53f0f1a2015-08-03 15:59:35193 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
194 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
195 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
196 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
197 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
sherouk53f0f1a2015-08-03 15:59:35198 "//third_party/smhasher:pmurhash",
charliea9a3b7202015-10-26 22:12:29199 "//tools/battor_agent",
sherouk53f0f1a2015-08-03 15:59:35200 "//tools/imagediff($host_toolchain)",
sherouk53f0f1a2015-08-03 15:59:35201 "//tools/telemetry:bitmaptools($host_toolchain)",
sherouk53f0f1a2015-08-03 15:59:35202 "//ui/display:display_unittests",
203 "//ui/events:events_unittests",
sherouk53f0f1a2015-08-03 15:59:35204 "//ui/gl:gl_unittests",
205 "//ui/touch_selection:ui_touch_selection_unittests",
sherouk53f0f1a2015-08-03 15:59:35206 ]
sdefresne998e8582015-10-07 13:36:45207 } else {
sdefresnea378b452015-10-08 09:55:58208 deps += [
209 "//ios/net:ios_net_unittests",
sdefresne89308c92015-11-16 10:40:34210 "//ios/public/provider/web",
sdefresnec6ddd7ac2015-10-09 17:30:19211 "//ios/testing:ocmock_support_unittest",
sdefresneaa7c1cf2015-10-22 00:41:11212 "//ios/web:ios_web_unittests",
dpranke244f9732015-11-20 05:38:10213 "//ios/web/shell:ios_web_shell",
sdefresnea378b452015-10-08 09:55:58214 ]
dpranked43eab42015-12-15 23:10:44215
216 if (ios_use_webrtc) {
217 deps += [
218 "//ios/chrome:ios_chrome_unittests",
219 "//ios/chrome/app",
220 "//ios/chrome/browser",
221 "//ios/chrome/common",
222 "//ios/public/provider/chrome/browser",
223 ]
224 }
sherouk53f0f1a2015-08-03 15:59:35225 }
dprankee2ef3822015-02-24 21:42:18226
scottmg34fb7e52014-12-03 23:27:24227 deps += root_extra_deps
brettw@chromium.orgfce5c3fe2014-04-10 21:13:05228
tfarina4aa9edc2015-10-26 22:14:02229 if (enable_extensions) {
rockot2f1326e2015-02-23 23:53:51230 deps += [ "//extensions/shell:app_shell_unittests" ]
dprankefd1813272015-04-13 23:56:00231 }
232
dprankefd1813272015-04-13 23:56:00233 if (enable_media_router) {
imchengb6b09239f2015-05-15 21:41:55234 deps += [ "//chrome/browser/media/router" ]
rockot2f1326e2015-02-23 23:53:51235 }
236
garykac3eddb5b2015-04-17 23:16:38237 if (enable_remoting) {
238 deps += [ "//remoting:remoting_all" ]
James Robinson060f2e32014-09-10 22:31:37239 }
240
dprankee2ef3822015-02-24 21:42:18241 if (toolkit_views) {
242 deps += [ "//ui/views:views_unittests" ]
brettw@chromium.org6b9028ab2014-07-23 17:15:38243 }
244
dprankee2ef3822015-02-24 21:42:18245 if (use_aura) {
246 deps += [ "//ui/wm:wm_unittests" ]
247 }
248
249 if (use_ozone) {
dprankedb5527d72015-03-08 04:22:47250 deps += [ "//ui/ozone" ]
tfarina@chromium.orga306aaa2014-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" ]
brettw@chromium.org137dff6d2014-06-12 19:35:55263 }
264
brettw66e3feab2015-07-20 23:52:22265 if (is_win) {
brettwf986f952015-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
dpranke@chromium.org5a8d5162014-04-12 01:19:16272 if (is_android) {
cjhopman@chromium.org26046b52014-07-16 00:11:03273 deps += [
pkotwicze2dae8b2015-11-03 20:12:55274 "//base:base_junit_tests",
dpranke244f9732015-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",
281 "//net/android:net_junit_tests",
282 "//testing/android/junit:junit_unittests",
agrieve40ba6862015-07-15 02:09:05283 "//third_party/errorprone:chromium_errorprone",
pkotwicze38594d2015-09-25 00:05:10284 "//tools/android:android_tools",
pkotwicz6b5571b2015-12-08 21:54:49285 "//tools/android:memconsumer",
pkotwicz8b9d18c2015-10-05 01:59:33286 "//tools/android/heap_profiler:heap_profiler_unittests",
dgn28050da2015-10-19 10:16:43287 "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk",
dprankee2ef3822015-02-24 21:42:18288 "//tools/imagediff($host_toolchain)",
289
290 # TODO(GYP): Remove these when the components_unittests work.
291 "//components/history/core/test:test",
292 "//components/policy:policy_component_test_support",
293 "//components/policy:test_support",
294 "//components/rappor:test_support",
295 "//components/signin/core/browser:test_support",
296 "//components/sync_driver:test_support",
297 "//components/user_manager",
298 "//components/wallpaper",
299 "//content/shell/android:content_shell_apk",
pkotwicz8c316092015-11-23 20:30:53300 "//content/test:video_decode_accelerator_unittest",
dprankee2ef3822015-02-24 21:42:18301
302 # TODO(GYP): Are these needed, or will they be pulled in automatically?
cjhopman@chromium.org684b2292014-08-22 19:12:39303 "//third_party/android_tools:android_gcm_java",
cjhopman@chromium.org684b2292014-08-22 19:12:39304 "//third_party/android_tools:android_support_v13_java",
305 "//third_party/android_tools:android_support_v7_appcompat_java",
306 "//third_party/android_tools:android_support_v7_mediarouter_java",
dpranke244f9732015-11-20 05:38:10307 "//third_party/android_tools:uiautomator_java",
dprankee2ef3822015-02-24 21:42:18308 "//third_party/mesa",
mikecase85e83ed2014-12-08 19:18:29309 "//third_party/mockito:mockito_java",
dprankee2ef3822015-02-24 21:42:18310 "//third_party/openmax_dl/dl",
dprankee2ef3822015-02-24 21:42:18311 "//ui/android:ui_java",
312
313 # TODO(GYP): Are these needed?
314 "//chrome/test:test_support_unit",
315 "//third_party/smhasher:murmurhash3",
316 "//ui/message_center:test_support",
317 ]
318 deps -= [
rockot9c67e5f2015-03-12 20:01:21319 "//net:net_perftests",
dprankee2ef3822015-02-24 21:42:18320 "//url:url_unittests",
cjhopman@chromium.org26046b52014-07-16 00:11:03321 ]
322
pkotwicz92e2e2312015-12-15 22:29:46323 if (!is_component_build) {
324 deps += [
325 "//components/cronet/android:cronet_sample_apk",
326 "//components/cronet/android:cronet_sample_test_apk",
327 "//components/cronet/android:cronet_test_apk",
328 "//components/cronet/android:cronet_test_instrumentation_apk",
329 "//components/cronet/android:cronet_unittests",
330 ]
331 }
332
pkotwicz061c5a42015-09-30 02:16:54333 if (!is_chromecast) {
334 deps += [
michaelbaicbcc7e62015-11-12 04:29:53335 "//android_webview",
pkotwicze2dae8b2015-11-03 20:12:55336 "//chrome/android:chrome_junit_tests",
pkotwicz061c5a42015-09-30 02:16:54337 "//chrome/android:chrome_public_apk",
338 "//chrome/android:chrome_public_test_apk",
339 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
pkotwicz0a2255e2015-10-06 16:29:05340 "//third_party/custom_tabs_client:custom_tabs_client_example_apk",
pkotwicz061c5a42015-09-30 02:16:54341 ]
342 }
343
pkotwicz06a4b4b42015-10-29 23:11:11344 if (target_cpu != "x64") {
345 deps += [ "//third_party/android_platform:android_relocation_packer_unittests($host_toolchain)" ]
346 }
347
cjhopmanca675d3e2014-10-24 03:50:45348 if (has_chrome_android_internal) {
dprankee2ef3822015-02-24 21:42:18349 deps += [ "//clank" ] # TODO(GYP) ??
cjhopmanca675d3e2014-10-24 03:50:45350 }
dprankefd1813272015-04-13 23:56:00351 }
352
pkotwicza4d233b22015-11-02 18:20:38353 if (is_linux || is_android) { # TODO(GYP): || is_bsd?
dprankefd1813272015-04-13 23:56:00354 deps += [
pkotwicza4d233b22015-11-02 18:20:38355 "//breakpad:breakpad_unittests",
dprankefd1813272015-04-13 23:56:00356 "//breakpad:core-2-minidump",
pkotwicza4d233b22015-11-02 18:20:38357 "//breakpad:generate_test_dump",
dprankefd1813272015-04-13 23:56:00358 "//breakpad:minidump-2-core",
359 ]
360 }
361
dpranke6293d252015-04-14 19:12:00362 if (is_chromeos) {
363 deps += [
364 "//chromeos:chromeos_unittests",
365 "//ui/chromeos:ui_chromeos_unittests",
366 ]
367 }
368
dprankefd1813272015-04-13 23:56:00369 if (is_chromeos || is_mac || is_win) {
370 deps += [
371 "//rlz:rlz_id",
372 "//rlz:rlz_lib",
373 "//rlz:rlz_unittests",
374 ]
dprankedb5527d72015-03-08 04:22:47375 }
376
377 if (is_linux) {
378 # The following are definitely linux-only.
hiroshigee6d374c2015-02-24 07:54:06379 deps += [
dpranke2bc89212015-11-18 00:24:43380 "//chrome:manpage",
381 "//chrome:xdg_mime",
dprankedb5527d72015-03-08 04:22:47382 "//dbus:dbus_test_server",
dprankee2ef3822015-02-24 21:42:18383 "//dbus:dbus_unittests",
dprankedb5527d72015-03-08 04:22:47384 "//net:disk_cache_memory_test",
385 "//net:flip_in_mem_edsm_server",
386 "//net:flip_in_mem_edsm_server_unittests",
387 "//net:quic_client",
388 "//net:quic_server",
389 "//sandbox/linux:chrome_sandbox",
dprankee2ef3822015-02-24 21:42:18390 "//sandbox/linux:sandbox_linux_unittests",
hiroshigee6d374c2015-02-24 07:54:06391 ]
dnicoara8c6aa8e2015-03-11 23:20:32392
393 if (is_chromeos || use_ash) {
394 deps += [ "//components/session_manager/core" ]
dpranke2bc89212015-11-18 00:24:43395 }
396
397 if (is_chrome_branded && is_official_build) {
398 # TODO(dpranke): add the linux_dump_symbols flag?
399 deps += [ "//chrome:linux_symbols" ]
dnicoara8c6aa8e2015-03-11 23:20:32400 }
dprankedb5527d72015-03-08 04:22:47401 }
402
sherouke1859f92015-08-05 10:19:10403 if (is_ios || is_win || (is_linux && !is_chromeos)) {
404 deps += [
405 "//base:base_i18n_perftests",
406 "//base:base_perftests",
sherouk710734d2015-09-02 19:02:58407 "//google_apis:google_apis_unittests",
sherouke1859f92015-08-05 10:19:10408 ]
409 }
410
dprankefd1813272015-04-13 23:56:00411 if (is_win || (is_linux && !is_chromeos)) {
412 # TODO(GYP): Figure out which of these should (and can) build
413 # for android/chromeos/mac/ios.
tfarina9e7cf702015-02-23 21:13:44414 deps += [
dprankedb5527d72015-03-08 04:22:47415 "//base:build_utf8_validator_tables",
dpranke244f9732015-11-20 05:38:10416 "//base:check_example",
dprankedb5527d72015-03-08 04:22:47417 "//cc:cc_perftests",
dprankefd1813272015-04-13 23:56:00418 "//cc/blink:cc_blink_unittests",
dprankedb5527d72015-03-08 04:22:47419 "//chrome/test:load_library_perf_tests",
dpranke76f48222015-04-01 00:00:00420 "//chrome/test:performance_browser_tests",
dprankedb5527d72015-03-08 04:22:47421 "//chrome/test:sync_performance_tests",
422 "//chrome/test/chromedriver:chromedriver",
423 "//chrome/test/chromedriver:chromedriver_tests",
dprankedb5527d72015-03-08 04:22:47424 "//components:components_perftests",
dprankedb5527d72015-03-08 04:22:47425 "//content/test:content_gl_benchmark",
dpranke244f9732015-11-20 05:38:10426 "//content/test:content_gl_tests",
dprankedb5527d72015-03-08 04:22:47427 "//courgette:courgette",
428 "//courgette:courgette_fuzz",
429 "//courgette:courgette_minimal_tool",
430 "//courgette:courgette_unittests",
431 "//device:device_unittests",
432 "//gin:gin_shell",
dprankedb5527d72015-03-08 04:22:47433 "//gin:gin_unittests",
dprankedb5527d72015-03-08 04:22:47434 "//google_apis/gcm:mcs_probe",
dprankefd1813272015-04-13 23:56:00435 "//gpu:gl_tests",
dpranke244f9732015-11-20 05:38:10436 "//gpu:gpu_perftests",
dprankedb5527d72015-03-08 04:22:47437 "//ipc:ipc_perftests",
dprankedb5527d72015-03-08 04:22:47438 "//media:media_perftests",
dprankedb5527d72015-03-08 04:22:47439 "//net:crash_cache",
440 "//net:crl_set_dump",
441 "//net:dns_fuzz_stub",
dprankefd1813272015-04-13 23:56:00442 "//net:dump_cache",
dprankedb5527d72015-03-08 04:22:47443 "//net:gdig",
444 "//net:get_server_time",
dprankedb5527d72015-03-08 04:22:47445 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in_net
dprankefd1813272015-04-13 23:56:00446 "//net:run_testserver",
dprankedb5527d72015-03-08 04:22:47447 "//net:stress_cache",
448 "//net:tld_cleanup",
dprankec09ccaa2015-03-27 22:00:38449 "//ppapi:pepper_hash_for_uma",
dprankefd1813272015-04-13 23:56:00450 "//ppapi:ppapi_perftests",
dprankedb5527d72015-03-08 04:22:47451 "//sync:run_sync_testserver",
cwallez4c57af32015-09-03 14:54:49452 "//third_party/angle/src/tests:angle_unittests",
dprankedb5527d72015-03-08 04:22:47453 "//third_party/codesighs:maptsvdifftool",
dprankedb5527d72015-03-08 04:22:47454 "//third_party/leveldatabase:env_chromium_unittests",
455 "//third_party/libaddressinput:libaddressinput_unittests",
dprankefd1813272015-04-13 23:56:00456 "//third_party/libphonenumber:libphonenumber_unittests",
dprankedb5527d72015-03-08 04:22:47457 "//ui/compositor:compositor_unittests",
458 ]
459
dpranke7e19b472015-11-13 00:49:33460 if (!is_linux) {
461 # TODO(dpranke): Re-enable this once
462 # https://chromium-review.googlesource.com/#/c/312298/1 is rolled
463 # into chromium.
464 deps += [ "//third_party/angle/src/tests:angle_end2end_tests" ]
465 }
466
dprankedb5527d72015-03-08 04:22:47467 if (enable_extensions) {
468 deps += [ "//extensions/shell:app_shell" ]
469 }
470
471 if (enable_nacl) {
yoichio27dfb942015-12-15 04:17:33472 deps += [ "//components/nacl:nacl_loader_unittests" ]
dpranke2bc89212015-11-18 00:24:43473
474 if (is_linux) {
475 # TODO(dpranke): Figure out what platforms should actually have this.
476 deps += [
yoichio27dfb942015-12-15 04:17:33477 "//components/nacl:helper_nonsfi",
478 "//components/nacl:nacl_helper",
dpranke2bc89212015-11-18 00:24:43479 ]
480 }
dprankedb5527d72015-03-08 04:22:47481 }
482
mostynb2196a462015-08-20 17:22:10483 if (media_use_ffmpeg) {
484 deps += [ "//media:ffmpeg_regression_tests" ]
485 }
486
dprankedb5527d72015-03-08 04:22:47487 if (use_ash) {
488 deps += [
benf97b2572015-09-25 23:12:53489 "//ash:ash_shell_with_content",
dprankedb5527d72015-03-08 04:22:47490 "//ash:ash_unittests",
491 ]
492 }
493
494 if (use_aura) {
495 deps += [
496 "//ui/aura:aura_unittests",
497 "//ui/aura:bench",
498 "//ui/aura:demo",
499 ]
500 }
dprankefd1813272015-04-13 23:56:00501 }
502
503 if (is_linux && !is_chromeos) {
504 deps += [
505 # TODO(GYP): Figure out which of these should (and can) build
506 # under which other conditions.
507 "//build/sanitizers:copy_llvm_symbolizer",
508 "//chrome/test:chrome_app_unittests",
509 "//cloud_print:cloud_print_unittests",
510 "//components/network_hints/browser",
dprankefd1813272015-04-13 23:56:00511 "//content/public/app:browser",
512 "//content/public/app:child",
513
514 # TODO(GYP): Remove this when the gles2 tests work
515 "//gpu/command_buffer/client:gles2_implementation_no_check",
dprankefd1813272015-04-13 23:56:00516 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/471903 to make this complete.
dprankefd1813272015-04-13 23:56:00517 "//media/cast:tap_proxy",
miu45b848fe2015-11-26 01:23:29518 "//media/cast:testing_tools",
jam00802992015-05-20 03:37:19519 "//mojo/application/public/cpp",
dprankefd1813272015-04-13 23:56:00520 "//skia:filter_fuzz_stub",
521 "//skia:image_operations_bench",
522 "//sync/tools:sync_client",
523 "//sync/tools:sync_listen_notifications",
524 "//testing/gmock:gmock_main",
jam76bcf0c2015-10-02 21:01:28525
526 # TODO(use-new-edk):
527 #"//mojo/edk/test:mojo_public_system_perftests",
dpranke244f9732015-11-20 05:38:10528 "//third_party/codesighs:nm2tsv",
dprankefd1813272015-04-13 23:56:00529 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
dpranke244f9732015-11-20 05:38:10530 "//third_party/sqlite:sqlite_shell",
dprankefd1813272015-04-13 23:56:00531 "//ui/keyboard:keyboard_unittests",
532 "//ui/message_center:message_center_unittests",
533 "//ui/snapshot:snapshot_unittests",
534 "//ui/views/examples:views_examples_with_content_exe",
dprankefd1813272015-04-13 23:56:00535 ]
536
dprankeec10b3932015-10-02 17:58:23537 deps += [
538 "//breakpad:dump_syms($host_toolchain)",
539 "//breakpad:microdump_stackwalk($host_toolchain)",
540 "//breakpad:minidump_dump($host_toolchain)",
541 "//breakpad:minidump_stackwalk($host_toolchain)",
542 ]
dprankefd1813272015-04-13 23:56:00543
544 if (!is_debug && !is_component_build) {
545 deps += [ "//chrome/tools/service_discovery_sniffer" ]
546 }
547
548 if (toolkit_views) {
549 deps += [ "//ui/app_list:app_list_demo" ]
550 }
dprankedb5527d72015-03-08 04:22:47551
552 if (use_x11) {
wtc6e2e29c2015-03-13 01:09:44553 if (target_cpu != "arm") {
tfarina8944e6f2015-03-25 20:06:59554 deps += [ "//gpu/tools/compositor_model_bench" ]
wtc6e2e29c2015-03-13 01:09:44555 }
dprankedb5527d72015-03-08 04:22:47556 }
557 }
558
559 if (is_mac) {
560 deps += [
561 "//breakpad:crash_inspector",
562 "//breakpad:dump_syms",
tfarina9e7cf702015-02-23 21:13:44563 "//third_party/apple_sample_code",
564 "//third_party/molokocacao",
565 ]
dpranke43760592014-11-08 02:59:57566 deps -= [
brettw011138d2015-10-21 03:05:38567 # Mojo in GN contains some things which are never compiled in GYP on Mac,
568 # so compilation fails on Mac. They need porting.
brettwe1d40652015-10-23 23:06:10569 "//mojo",
mohsen29fd4052014-12-08 21:06:46570 ]
dprankefd1813272015-04-13 23:56:00571 }
572
573 if (is_win) {
574 deps += [
575 "//base:pe_image_test",
grt734e87b2015-07-06 19:36:43576 "//chrome/installer/setup:setup_unittests",
dprankefd1813272015-04-13 23:56:00577 "//chrome_elf:chrome_elf_unittests",
578 "//chrome_elf:dll_hash_main",
brettw70b359a2015-10-14 23:43:23579 "//cloud_print:cloud_print_unittests",
dpranke244f9732015-11-20 05:38:10580 "//cloud_print/service/win:cloud_print_service",
dprankefd1813272015-04-13 23:56:00581 "//components/wifi:wifi_test",
582 "//net:quic_client",
583 "//net:quic_server",
584 "//sandbox/win:pocdll",
585 "//sandbox/win:sandbox_poc",
586 "//sandbox/win:sbox_integration_tests",
587 "//sandbox/win:sbox_unittests",
588 "//sandbox/win:sbox_validation_tests",
589 "//testing/gtest:gtest_main",
590 "//third_party/codesighs:msmap2tsv",
591 "//third_party/pdfium/samples:pdfium_diff",
592 "//ui/metro_viewer",
593 ]
dprankee2ef3822015-02-24 21:42:18594 deps -= [
595 "//crypto:crypto_unittests", # TODO(GYP)
596 "//net:net_unittests", # TODO(GYP)
597 ]
sherouk53f0f1a2015-08-03 15:59:35598 } else if (!is_android && !is_ios) {
miu45b848fe2015-11-26 01:23:29599 deps += [ "//breakpad:symupload($host_toolchain)" ]
mohsenf837da7c2014-12-09 19:01:34600 }
slance9d62f2015-11-04 01:15:01601 if (is_chromecast) {
602 deps += [ "//chromecast:cast_shell" ]
603 }
miu45b848fe2015-11-26 01:23:29604
dpranked43eab42015-12-15 23:10:44605 if (is_mac) { # TODO(GYP) || is_ios
miu45b848fe2015-11-26 01:23:29606 deps += [ "//media/cast:cast_h264_vt_encoder_unittests" ]
607 }
hbos17a7b4a22015-12-07 10:49:45608
609 if (use_openh264) {
610 deps += [
611 "//third_party/openh264:common",
612 "//third_party/openh264:encoder",
613 "//third_party/openh264:processing",
614 ]
615 }
dpranke18e57432015-02-27 21:46:47616}
617
dpranked62d8512015-03-02 03:06:03618group("gn_only") {
dprankedb5527d72015-03-08 04:22:47619 testonly = true
620
dpranke2a294622015-08-07 05:23:01621 deps = []
622
slance9d62f2015-11-04 01:15:01623 if (!is_ios && !is_chromecast) {
dpranke2a294622015-08-07 05:23:01624 deps += [ "//mandoline:all" ]
sherouk53f0f1a2015-08-03 15:59:35625 }
isherman0f89b43eb2015-04-11 00:02:45626
dpranke244f9732015-11-20 05:38:10627 if (!is_android && !is_ios && !is_chromeos) {
isherman0f89b43eb2015-04-11 00:02:45628 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
629 }
630
ben8f4e95ad2015-12-01 18:35:58631 if (is_win || is_linux) {
sky130827232015-11-23 20:41:08632 deps += [ "//mash:all" ]
sky97b65592015-11-02 20:08:25633 }
634
slance9d62f2015-11-04 01:15:01635 if (is_linux && !is_chromeos && !is_chromecast) {
dprankedb5527d72015-03-08 04:22:47636 # TODO(GYP): Figure out if any of these should be in gn_all
637 # and figure out how cross-platform they are
isherman0f89b43eb2015-04-11 00:02:45638 deps += [
dprankedb5527d72015-03-08 04:22:47639 ":gn_mojo_targets",
dtrainor4ae32722015-09-26 00:14:12640 "//blimp:blimp_tests",
dprankedb5527d72015-03-08 04:22:47641 "//chrome/browser/resources:extension_resource_demo",
642 "//chrome/installer/util:strings",
dprankedb5527d72015-03-08 04:22:47643 "//chrome/test:load_library_perf_tests",
644 "//chrome/tools/convert_dict",
645 "//components/constrained_window:unit_tests",
646 "//components/enhanced_bookmarks:test_support",
dprankedb5527d72015-03-08 04:22:47647 "//components/metrics:serialization",
isherman0f89b43eb2015-04-11 00:02:45648 "//components/password_manager/content/renderer:browser_tests",
dprankedb5527d72015-03-08 04:22:47649 "//components/rappor:unit_tests",
650 "//components/sessions:unit_tests",
651 "//media/blink:media_blink_unittests",
dprankedb5527d72015-03-08 04:22:47652 "//media/cast:udp_proxy",
dprankedb5527d72015-03-08 04:22:47653 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
654 "//storage/browser:dump_file_system",
655 "//third_party/angle:libANGLE",
656 "//third_party/angle:libEGL",
657 "//third_party/angle:libGLESv2",
658 "//third_party/cld_2:cld_2_dynamic_data_tool",
659 "//third_party/leveldatabase:leveldb_arena_test",
660 "//third_party/leveldatabase:leveldb_bloom_test",
dprankedb5527d72015-03-08 04:22:47661 "//third_party/leveldatabase:leveldb_cache_test",
dprankedb5527d72015-03-08 04:22:47662 "//third_party/leveldatabase:leveldb_corruption_test",
dpranke244f9732015-11-20 05:38:10663 "//third_party/leveldatabase:leveldb_crc32c_test",
664 "//third_party/leveldatabase:leveldb_db_bench",
665 "//third_party/leveldatabase:leveldb_db_test",
dprankedb5527d72015-03-08 04:22:47666 "//third_party/leveldatabase:leveldb_dbformat_test",
dpranke244f9732015-11-20 05:38:10667 "//third_party/leveldatabase:leveldb_env_test",
668 "//third_party/leveldatabase:leveldb_filename_test",
669 "//third_party/leveldatabase:leveldb_filter_block_test",
670 "//third_party/leveldatabase:leveldb_log_test",
671 "//third_party/leveldatabase:leveldb_skiplist_test",
672 "//third_party/leveldatabase:leveldb_table_test",
673 "//third_party/leveldatabase:leveldb_version_edit_test",
674 "//third_party/leveldatabase:leveldb_write_batch_test",
dprankedb5527d72015-03-08 04:22:47675 "//third_party/libjpeg_turbo:simd",
dpranke244f9732015-11-20 05:38:10676 "//third_party/libsrtp:rdbx_driver",
dprankedb5527d72015-03-08 04:22:47677 "//third_party/libsrtp:replay_driver",
678 "//third_party/libsrtp:roc_driver",
679 "//third_party/libsrtp:rtpw",
dprankedb5527d72015-03-08 04:22:47680 "//third_party/libsrtp:srtp_driver",
681 "//third_party/libsrtp:srtp_driver",
dpranke244f9732015-11-20 05:38:10682 "//third_party/libsrtp:srtp_test_aes_calc",
dprankedb5527d72015-03-08 04:22:47683 "//third_party/libsrtp:srtp_test_cipher_driver",
684 "//third_party/libsrtp:srtp_test_datatypes_driver",
dprankedb5527d72015-03-08 04:22:47685 "//third_party/libsrtp:srtp_test_env",
dpranke244f9732015-11-20 05:38:10686 "//third_party/libsrtp:srtp_test_kernel_driver",
dprankedb5527d72015-03-08 04:22:47687 "//third_party/libsrtp:srtp_test_rand_gen",
688 "//third_party/libsrtp:srtp_test_sha1_driver",
689 "//third_party/libsrtp:srtp_test_stat_driver",
690 "//third_party/opus:opus_compare",
691 "//third_party/opus:opus_demo",
dpranke244f9732015-11-20 05:38:10692 "//third_party/opus:test_opus_api",
dprankedb5527d72015-03-08 04:22:47693 "//third_party/opus:test_opus_decode",
694 "//third_party/opus:test_opus_encode",
dprankedb5527d72015-03-08 04:22:47695 "//third_party/opus:test_opus_padding",
dpranke244f9732015-11-20 05:38:10696 "//third_party/pdfium/third_party:fx_freetype",
dprankedb5527d72015-03-08 04:22:47697 "//third_party/webrtc/system_wrappers:field_trial_default",
698 "//third_party/webrtc/system_wrappers:metrics_default",
699 "//ui/display/types",
700 "//ui/shell_dialogs:shell_dialogs_unittests",
701 "//ui/views/examples:views_examples_exe",
dprankedb5527d72015-03-08 04:22:47702 ]
dprankeb0713542015-07-31 21:07:21703
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16704 if (target_cpu == "x86" || target_cpu == "x64") {
mcgrathr916aafa2015-09-15 00:06:53705 deps += [
mcgrathr916aafa2015-09-15 00:06:53706 "//native_client/src/trusted/platform_qualify:vcpuid",
dpranke244f9732015-11-20 05:38:10707 "//third_party/libjpeg_turbo:simd_asm",
mcgrathr916aafa2015-09-15 00:06:53708 ]
Gordana.Cmiljanovic85746ff12015-04-28 08:17:16709 }
dprankedb5527d72015-03-08 04:22:47710 if (enable_nacl) {
711 deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]
712 }
713 if (use_ozone) {
714 deps += [ "//ui/ozone/demo" ]
715 }
716 if (is_android) {
717 deps += [ "//build/android/gyp/test:hello_world" ]
718 }
dpranke807f6022015-03-17 23:20:56719
720 if (is_linux && current_toolchain == host_toolchain) {
721 deps += [ "//v8:d8" ]
722 }
nyquist6aeec5142015-09-10 03:38:52723 }
724
wez1cbe17a2015-11-11 07:23:56725 if (is_android || is_linux || is_chromeos) {
nyquist7af11b72015-09-10 20:18:14726 deps += [ "//blimp" ]
nyquistb5f050b2015-09-10 05:10:35727 }
728
dprankeb0713542015-07-31 21:07:21729 if (is_mac) {
730 deps -= [ "//mandoline:all" ] # TODO(GYP)
731 }
aizatskyfc46a9f2015-10-09 21:20:08732
zhaoqin36e94032015-12-11 23:39:12733 if (use_libfuzzer || use_drfuzz) {
aizatskyddefc992015-11-20 08:42:03734 # these are needed only for gn to discover build files.
735 deps += [
736 "//testing/libfuzzer:libfuzzer_main",
agrieved7a71c882015-11-20 19:53:28737 "//testing/libfuzzer/fuzzers:string_to_int_fuzzer",
aizatskyddefc992015-11-20 08:42:03738 ]
aizatskyfc46a9f2015-10-09 21:20:08739 }
dprankedb5527d72015-03-08 04:22:47740}
741
742group("gn_mojo_targets") {
743 testonly = true
744 if (is_linux && !is_chromeos) {
745 # TODO(GYP): Figure out if any of these should be in gn_all
746 # and figure out how cross-platform they are
747 deps = [
dprankedb5527d72015-03-08 04:22:47748 "//ipc/mojo:ipc_mojo_perftests",
dprankedb5527d72015-03-08 04:22:47749 "//media/mojo:tests",
dpranke244f9732015-11-20 05:38:10750 "//media/mojo/services:cdm_service",
msw1bb9c6c2015-05-06 21:35:44751 "//mojo:tests",
pkotwicz8b9d18c2015-10-05 01:59:33752
jam76bcf0c2015-10-02 21:01:28753 # TODO(use-new-edk):
754 #"//mojo/edk/js/test:js_integration_tests",
755 #"//mojo/edk/js/tests:js_to_cpp_bindings_python",
dprankedb5527d72015-03-08 04:22:47756 "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests",
dprankedb5527d72015-03-08 04:22:47757 ]
dprankedb5527d72015-03-08 04:22:47758 }
759}
760
761group("gn_visibility") {
dpranked62d8512015-03-02 03:06:03762 deps = [
dprankeb6128d02015-05-01 16:40:30763 "//build/config/sanitizers:options_sources",
764
dprankedb5527d72015-03-08 04:22:47765 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
766 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
dprankeb6128d02015-05-01 16:40:30767
768 "//ui/resources:repack_ui_test_mac_locale_pack",
dpranked62d8512015-03-02 03:06:03769 ]
dpranked2fb5222015-09-10 22:39:05770
771 if (!is_ios) {
772 deps += [
dpranked2fb5222015-09-10 22:39:05773 "//v8:postmortem-metadata",
dpranke244f9732015-11-20 05:38:10774 "//v8:v8_snapshot",
dpranked2fb5222015-09-10 22:39:05775 ]
776 }
dpranked62d8512015-03-02 03:06:03777}
778
tfarinacb2638b2015-05-12 03:24:15779if (!is_ios) {
780 # This group includes all of the targets needed to build and test Blink,
781 # including running the layout tests (see below).
782 group("blink_tests") {
783 testonly = true
784
785 deps = [
786 "//third_party/WebKit/public:all_blink",
787 ]
788
789 # NOTE: The following deps are needed to run the layout tests
790 # (run-webkit-tests) but there is no GN target for the layout tests,
791 # so we need to specify the dependencies here instead.
792 if (is_android) {
793 deps += [
pkotwicza4d233b22015-11-02 18:20:38794 "//breakpad:breakpad_unittests_deps",
tfarinacb2638b2015-05-12 03:24:15795 "//breakpad:dump_syms($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38796 "//breakpad:microdump_stackwalk($host_toolchain)",
797 "//breakpad:minidump_dump($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15798 "//breakpad:minidump_stackwalk($host_toolchain)",
pkotwicza4d233b22015-11-02 18:20:38799 "//breakpad:symupload($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15800 "//content/shell/android:content_shell_apk",
ojan94989c72015-07-17 21:56:42801 "//tools/imagediff($host_toolchain)",
tfarinacb2638b2015-05-12 03:24:15802 ]
803 } else {
ojan94989c72015-07-17 21:56:42804 deps += [
805 "//content/shell:content_shell",
806 "//tools/imagediff",
807 ]
tfarinacb2638b2015-05-12 03:24:15808 }
809
810 if (is_win) {
811 deps += [
jochen73e711c2015-06-03 10:01:46812 "//components/test_runner:layout_test_helper",
brettw0d3b1df2015-12-03 00:10:01813 "//content/shell:content_shell_crash_service",
tfarinacb2638b2015-05-12 03:24:15814 ]
815 }
816
817 if (!is_win && !is_android) {
Gordana.Cmiljanovicf243e9a2015-05-26 22:14:47818 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
tfarinacb2638b2015-05-12 03:24:15819 }
820
821 if (is_mac) {
822 deps += [
823 "//breakpad:dump_syms($host_toolchain)",
jochen73e711c2015-06-03 10:01:46824 "//components/test_runner:layout_test_helper",
tfarinacb2638b2015-05-12 03:24:15825 ]
826 }
827
828 if (is_linux) {
829 deps += [ "//breakpad:dump_syms($host_toolchain)" ]
830 }
831 }
832}
833
dpranke6abd8652015-08-28 03:21:11834# Add a dummy target for compatibility w/ GYP
835group("chromium_swarm_tests") {
836}
837
dpranke2302dfa2015-09-29 02:21:52838group("chromium_builder_perf") {
839 testonly = true
840
841 # TODO(GYP): Make this target work on the mac.
842 if (!is_ios && !is_android && !is_chromecast && !is_mac) {
843 deps = [
844 "//cc:cc_perftests",
845 "//chrome",
846 "//chrome/test:load_library_perf_tests",
847 "//chrome/test:sync_performance_tests",
848 "//gpu:gpu_perftests",
849 "//media:media_perftests",
850 "//media/midi:midi_unittests",
851 "//tools/telemetry:bitmaptools",
852 ]
853
854 if (!is_chromeos) {
855 deps += [ "//chrome/test:performance_browser_tests" ]
856 }
857 if (is_linux && !is_chromeos) {
dpranke9aed5d582015-11-22 23:22:04858 if (is_official_build) {
859 # In GN builds, this is controlled by the 'linux_dump_symbols'
860 # flag, which defaults to 1 for official builds. For now,
861 # we skip the separate flag and just key off of is_official_build.
862 deps += [ "//chrome:linux_symbols" ]
863 }
dpranke2302dfa2015-09-29 02:21:52864
865 if (!is_chromeos) {
866 deps += [ "//tools/perf/clear_system_cache" ]
867 }
868 }
869
870 if (is_win) {
871 deps += [
brettw0d3b1df2015-12-03 00:10:01872 "//chrome/tools/crash_service",
dpranke2302dfa2015-09-29 02:21:52873 # "//gpu:angle_perftests", TODO(GYP): crbug.com/537008
874 ]
875
876 if (target_cpu == "x86") {
brettw0d3b1df2015-12-03 00:10:01877 deps += [ "//chrome/tools/crash_service:crash_service_win64" ]
dpranke2302dfa2015-09-29 02:21:52878 }
879 } else {
dprankeec10b3932015-10-02 17:58:23880 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
dpranke2302dfa2015-09-29 02:21:52881 }
882 }
883}