1 # Copyright (c) 2012 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 { 6 'targets': [ 7 { 8 'target_name': 'All', 9 'type': 'none', 10 'xcode_create_dependents_test_runner': 1, 11 'dependencies': [ 12 'some.gyp:*', 13 '../base/base.gyp:*', 14 '../chrome/chrome.gyp:*', 15 '../content/content.gyp:*', 16 '../crypto/crypto.gyp:*', 17 '../media/media.gyp:*', 18 '../net/net.gyp:*', 19 '../sdch/sdch.gyp:*', 20 '../sql/sql.gyp:*', 21 '../sync/sync.gyp:*', 22 '../testing/gmock.gyp:*', 23 '../testing/gtest.gyp:*', 24 '../third_party/icu/icu.gyp:*', 25 '../third_party/libxml/libxml.gyp:*', 26 '../third_party/sqlite/sqlite.gyp:*', 27 '../third_party/zlib/zlib.gyp:*', 28 '../ui/snapshot/snapshot.gyp:*', 29 '../ui/ui.gyp:*', 30 '../url/url.gyp:*', 31 ], 32 'conditions': [ 33 ['OS!="ios"', { 34 'dependencies': [ 35 '../cc/cc_tests.gyp:*', 36 '../components/components.gyp:*', 37 '../device/bluetooth/bluetooth.gyp:*', 38 '../device/device_tests.gyp:*', 39 '../device/usb/usb.gyp:*', 40 '../gpu/gpu.gyp:*', 41 '../gpu/tools/tools.gyp:*', 42 '../ipc/ipc.gyp:*', 43 '../jingle/jingle.gyp:*', 44 '../ppapi/ppapi.gyp:*', 45 '../ppapi/ppapi_internal.gyp:*', 46 '../printing/printing.gyp:*', 47 '../skia/skia.gyp:*', 48 '../third_party/cacheinvalidation/cacheinvalidation.gyp:*', 49 '../third_party/cld/cld.gyp:*', 50 '../third_party/codesighs/codesighs.gyp:*', 51 '../third_party/ffmpeg/ffmpeg.gyp:*', 52 '../third_party/iccjpeg/iccjpeg.gyp:*', 53 '../third_party/libpng/libpng.gyp:*', 54 '../third_party/libusb/libusb.gyp:*', 55 '../third_party/libwebp/libwebp.gyp:*', 56 '../third_party/libxslt/libxslt.gyp:*', 57 '../third_party/lzma_sdk/lzma_sdk.gyp:*', 58 '../third_party/mesa/mesa.gyp:*', 59 '../third_party/modp_b64/modp_b64.gyp:*', 60 '../third_party/npapi/npapi.gyp:*', 61 '../third_party/ots/ots.gyp:*', 62 '../third_party/qcms/qcms.gyp:*', 63 '../third_party/re2/re2.gyp:re2', 64 '../third_party/WebKit/public/all.gyp:*', 65 '../tools/perf/clear_system_cache/clear_system_cache.gyp:*', 66 '../v8/tools/gyp/v8.gyp:*', 67 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:*', 68 '../webkit/support/webkit_support.gyp:*', 69 '<(libjpeg_gyp_path):*', 70 ], 71 }, { # 'OS=="ios"' 72 'dependencies': [ 73 '../ios/ios.gyp:*', 74 ], 75 }], 76 ['os_posix==1 and OS!="android" and OS!="ios"', { 77 'dependencies': [ 78 '../third_party/yasm/yasm.gyp:*#host', 79 ], 80 }], 81 ['OS=="mac" or OS=="ios" or OS=="win"', { 82 'dependencies': [ 83 '../third_party/nss/nss.gyp:*', 84 ], 85 }], 86 ['OS=="win" or OS=="ios" or OS=="linux"', { 87 'dependencies': [ 88 '../breakpad/breakpad.gyp:*', 89 ], 90 }], 91 ['OS=="mac"', { 92 'dependencies': [ 93 '../third_party/ocmock/ocmock.gyp:*', 94 ], 95 }], 96 ['OS=="linux"', { 97 'dependencies': [ 98 '../courgette/courgette.gyp:*', 99 '../dbus/dbus.gyp:*', 100 '../sandbox/sandbox.gyp:*', 101 ], 102 'conditions': [ 103 ['branding=="Chrome"', { 104 'dependencies': [ 105 '../chrome/chrome.gyp:linux_packages_<(channel)', 106 ], 107 }], 108 ['chromeos==0', { 109 'dependencies': [ 110 '../third_party/cros_dbus_cplusplus/cros_dbus_cplusplus.gyp:*', 111 '../third_party/libmtp/libmtp.gyp:*', 112 '../third_party/mtpd/mtpd.gyp:*', 113 ], 114 }], 115 ], 116 }], 117 ['use_x11==1', { 118 'dependencies': [ 119 '../tools/xdisplaycheck/xdisplaycheck.gyp:*', 120 ], 121 }], 122 ['toolkit_uses_gtk==1', { 123 'dependencies': [ 124 '../tools/gtk_clipboard_dump/gtk_clipboard_dump.gyp:*', 125 ], 126 }], 127 ['OS=="win"', { 128 'conditions': [ 129 ['win_use_allocator_shim==1', { 130 'dependencies': [ 131 '../base/allocator/allocator.gyp:*', 132 ], 133 }], 134 # Don't enable dependencies that don't work on Win64. 135 ['target_arch!="x64"', { 136 'dependencies': [ 137 # TODO(jschuh) Enable Win64 Memory Watcher. crbug.com/176877 138 '../tools/memory_watcher/memory_watcher.gyp:*', 139 # TODO(jschuh) Enable Win64 Chrome Frame. crbug.com/176875 140 '../chrome_frame/chrome_frame.gyp:*', 141 ], 142 }], 143 ], 144 'dependencies': [ 145 '../cloud_print/cloud_print.gyp:*', 146 '../courgette/courgette.gyp:*', 147 '../rlz/rlz.gyp:*', 148 '../sandbox/sandbox.gyp:*', 149 '../third_party/angle_dx11/src/build_angle.gyp:*', 150 '../third_party/bspatch/bspatch.gyp:*', 151 ], 152 }, { 153 'dependencies': [ 154 '../third_party/libevent/libevent.gyp:*', 155 ], 156 }], 157 ['toolkit_views==1', { 158 'dependencies': [ 159 '../ui/views/controls/webview/webview.gyp:*', 160 '../ui/views/views.gyp:*', 161 ], 162 }], 163 ['use_aura==1', { 164 'dependencies': [ 165 '../ui/aura/aura.gyp:*', 166 '../ui/oak/oak.gyp:*', 167 ], 168 }], 169 ['use_ash==1', { 170 'dependencies': [ 171 '../ash/ash.gyp:*', 172 ], 173 }], 174 ['remoting==1', { 175 'dependencies': [ 176 '../remoting/remoting.gyp:*', 177 ], 178 }], 179 ['use_openssl==0', { 180 'dependencies': [ 181 '../net/third_party/nss/ssl.gyp:*', 182 ], 183 }], 184 ['enable_app_list==1', { 185 'dependencies': [ 186 '../ui/app_list/app_list.gyp:*', 187 ], 188 }], 189 ], 190 }, # target_name: All 191 { 192 'target_name': 'All_syzygy', 193 'type': 'none', 194 'conditions': [ 195 ['OS=="win" and fastbuild==0 and target_arch=="ia32"', { 196 'dependencies': [ 197 '../chrome/installer/mini_installer_syzygy.gyp:*', 198 ], 199 }, 200 ], 201 ], 202 }, # target_name: All_syzygy 203 { 204 'target_name': 'chromium_builder_tests', 205 'type': 'none', 206 'dependencies': [ 207 '../base/base.gyp:base_unittests', 208 '../chrome/chrome.gyp:unit_tests', 209 '../crypto/crypto.gyp:crypto_unittests', 210 '../media/media.gyp:media_unittests', 211 '../net/net.gyp:net_unittests', 212 '../sql/sql.gyp:sql_unittests', 213 '../ui/ui.gyp:ui_unittests', 214 '../url/url.gyp:url_unittests', 215 ], 216 'conditions': [ 217 ['OS!="ios"', { 218 'dependencies': [ 219 '../cc/cc_tests.gyp:cc_unittests', 220 '../chrome/chrome.gyp:browser_tests', 221 '../chrome/chrome.gyp:chromedriver2_tests', 222 '../chrome/chrome.gyp:chromedriver2_unittests', 223 '../chrome/chrome.gyp:interactive_ui_tests', 224 '../chrome/chrome.gyp:sync_integration_tests', 225 '../cloud_print/cloud_print.gyp:cloud_print_unittests', 226 '../components/components.gyp:components_unittests', 227 '../content/content.gyp:content_browsertests', 228 '../content/content.gyp:content_shell', 229 '../content/content.gyp:content_unittests', 230 '../device/device_tests.gyp:device_unittests', 231 '../gpu/gpu.gyp:gpu_unittests', 232 '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support', 233 '../ipc/ipc.gyp:ipc_tests', 234 '../jingle/jingle.gyp:jingle_unittests', 235 '../ppapi/ppapi_internal.gyp:ppapi_unittests', 236 '../printing/printing.gyp:printing_unittests', 237 '../remoting/remoting.gyp:remoting_unittests', 238 '../sync/sync.gyp:sync_unit_tests', 239 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests', 240 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', 241 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests', 242 '../third_party/WebKit/public/all.gyp:all_blink', 243 ], 244 }], 245 ['OS=="win"', { 246 'dependencies': [ 247 '../chrome/chrome.gyp:crash_service', 248 '../chrome/chrome.gyp:installer_util_unittests', 249 '../chrome/chrome.gyp:mini_installer_test', 250 # mini_installer_tests depends on mini_installer. This should be 251 # defined in installer.gyp. 252 '../chrome/installer/mini_installer.gyp:mini_installer', 253 '../chrome_frame/chrome_frame.gyp:npchrome_frame', 254 '../courgette/courgette.gyp:courgette_unittests', 255 '../sandbox/sandbox.gyp:sbox_integration_tests', 256 '../sandbox/sandbox.gyp:sbox_unittests', 257 '../sandbox/sandbox.gyp:sbox_validation_tests', 258 '../third_party/WebKit/public/blink_test_plugin.gyp:blink_test_plugin', 259 '../ui/app_list/app_list.gyp:app_list_unittests', 260 '../ui/views/views.gyp:views_unittests', 261 ], 262 'conditions': [ 263 ['target_arch!="x64"', { 264 'dependencies': [ 265 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests', 266 '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests', 267 '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests', 268 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests', 269 '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests', 270 ] 271 }, { # target_arch!="x64" 272 'dependencies!': [ 273 '../chrome_frame/chrome_frame.gyp:npchrome_frame', 274 ], 275 'defines': [ 276 'OMIT_CHROME_FRAME', 277 ], 278 }], # target_arch=="x64" 279 # remoting_host_installation uses lots of non-trivial GYP that tend 280 # to break because of differences between ninja and msbuild. Make 281 # sure this target is built by the builders on the main waterfall. 282 # See http://crbug.com/180600. 283 ['wix_exists == "True" and sas_dll_exists == "True"', { 284 'dependencies': [ 285 '../remoting/remoting.gyp:remoting_host_installation', 286 ], 287 }], 288 ], 289 }], 290 ['OS=="linux"', { 291 'dependencies': [ 292 '../sandbox/sandbox.gyp:sandbox_linux_unittests', 293 '../dbus/dbus.gyp:dbus_unittests', 294 ], 295 }], 296 ['OS=="mac"', { 297 'dependencies': [ 298 '../ui/app_list/app_list.gyp:app_list_unittests', 299 '../ui/message_center/message_center.gyp:*', 300 ], 301 }], 302 ['test_isolation_mode != "noop"', { 303 'dependencies': [ 304 'chromium_swarm_tests', 305 ], 306 }], 307 ], 308 }, # target_name: chromium_builder_tests 309 { 310 'target_name': 'chromium_2010_builder_tests', 311 'type': 'none', 312 'dependencies': [ 313 'chromium_builder_tests', 314 ], 315 }, # target_name: chromium_2010_builder_tests 316 ], 317 'conditions': [ 318 ['OS!="ios"', { 319 'targets': [ 320 { 321 'target_name': 'all_webkit', 322 'type': 'none', 323 'dependencies': [ 324 '../third_party/WebKit/public/all.gyp:all_blink', 325 '../content/content.gyp:content_shell', 326 ], 327 }, # target_name: all_webkit 328 { 329 'target_name': 'chromium_builder_nacl_win_integration', 330 'type': 'none', 331 'dependencies': [ 332 'chromium_builder_qa', # needed for pyauto 333 'chromium_builder_tests', 334 ], 335 }, # target_name: chromium_builder_nacl_win_integration 336 { 337 'target_name': 'chromium_builder_perf', 338 'type': 'none', 339 'dependencies': [ 340 'chromium_builder_qa', # needed for pyauto 341 '../cc/cc_tests.gyp:cc_perftests', 342 '../chrome/chrome.gyp:performance_browser_tests', 343 '../chrome/chrome.gyp:performance_ui_tests', 344 '../chrome/chrome.gyp:sync_performance_tests', 345 ], 346 }, # target_name: chromium_builder_perf 347 { 348 'target_name': 'chromium_gpu_builder', 349 'type': 'none', 350 'dependencies': [ 351 '../chrome/chrome.gyp:gpu_tests', 352 '../chrome/chrome.gyp:performance_browser_tests', 353 '../chrome/chrome.gyp:performance_ui_tests', 354 '../content/content.gyp:content_browsertests', 355 '../content/content.gyp:content_gl_tests', 356 '../gpu/gpu.gyp:gl_tests', 357 ], 358 'conditions': [ 359 ['internal_gles2_conform_tests', { 360 'dependencies': [ 361 '../gpu/gles2_conform_test/gles2_conform_test.gyp:gles2_conform_test', 362 ], 363 }], # internal_gles2_conform 364 ], 365 }, # target_name: chromium_gpu_builder 366 { 367 'target_name': 'chromium_gpu_debug_builder', 368 'type': 'none', 369 'dependencies': [ 370 '../chrome/chrome.gyp:gpu_tests', 371 '../content/content.gyp:content_browsertests', 372 '../content/content.gyp:content_gl_tests', 373 '../gpu/gpu.gyp:gl_tests', 374 ], 375 'conditions': [ 376 ['internal_gles2_conform_tests', { 377 'dependencies': [ 378 '../gpu/gles2_conform_test/gles2_conform_test.gyp:gles2_conform_test', 379 ], 380 }], # internal_gles2_conform 381 ], 382 }, # target_name: chromium_gpu_debug_builder 383 { 384 'target_name': 'chromium_builder_qa', 385 'type': 'none', 386 'dependencies': [ 387 '../chrome/chrome.gyp:chrome', 388 # Dependencies of pyauto_functional tests. 389 '../remoting/remoting.gyp:remoting_webapp', 390 ], 391 'conditions': [ 392 # If you change this condition, make sure you also change it 393 # in chrome_tests.gypi 394 ['enable_automation==1 and (OS=="mac" or ((OS=="win" or os_posix==1) and target_arch==python_arch))', { 395 'dependencies': [ 396 '../chrome/chrome.gyp:pyautolib', 397 ], 398 }], 399 ['OS=="mac"', { 400 'dependencies': [ 401 '../remoting/remoting.gyp:remoting_me2me_host_archive', 402 ], 403 }], 404 ['OS=="win"', { 405 'dependencies': [ 406 '../chrome/chrome.gyp:crash_service', 407 ], 408 }], 409 ['OS=="win" and target_arch=="ia32"', { 410 'dependencies': [ 411 '../chrome/chrome.gyp:crash_service_win64', 412 ], 413 }], 414 ['OS=="win" and component != "shared_library" and wix_exists == "True" and sas_dll_exists == "True"', { 415 'dependencies': [ 416 '../remoting/remoting.gyp:remoting_host_installation', 417 ], 418 }], 419 ], 420 }, # target_name: chromium_builder_qa 421 { 422 'target_name': 'chromium_builder_perf_av', 423 'type': 'none', 424 'dependencies': [ 425 'all_webkit', # to run layout tests 426 'chromium_builder_qa', # needed for perf pyauto tests 427 ], 428 }, # target_name: chromium_builder_perf_av 429 { 430 # This target contains everything we need to run tests on the special 431 # device-equipped WebRTC bots. We have device-requiring tests in 432 # PyAuto, browser_tests and content_browsertests. 433 'target_name': 'chromium_builder_webrtc', 434 'type': 'none', 435 'dependencies': [ 436 'chromium_builder_qa', # needed for perf pyauto tests 437 '../chrome/chrome.gyp:browser_tests', 438 '../content/content.gyp:content_browsertests', 439 '../content/content.gyp:content_unittests', 440 '../third_party/libjingle/libjingle.gyp:peerconnection_server', 441 '../third_party/webrtc/tools/tools.gyp:frame_analyzer', 442 '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter', 443 ], 444 'conditions': [ 445 ['OS=="win"', { 446 'dependencies': [ 447 '../chrome/chrome.gyp:crash_service', 448 ], 449 }], 450 ], 451 }, # target_name: chromium_builder_webrtc 452 { 453 'target_name': 'chromium_builder_chromedriver', 454 'type': 'none', 455 'dependencies': [ 456 '../chrome/chrome.gyp:chromedriver2_server', 457 '../chrome/chrome.gyp:chromedriver2_tests', 458 '../chrome/chrome.gyp:chromedriver2_unittests', 459 ], 460 }, # target_name: chromium_builder_chromedriver 461 { 462 'target_name': 'chromium_builder_asan', 463 'type': 'none', 464 'dependencies': [ 465 '../chrome/chrome.gyp:chrome', 466 467 # We refer to content_shell directly rather than all_webkit 468 # because we don't want the _unittests binaries. 469 '../content/content.gyp:content_browsertests', 470 '../content/content.gyp:content_shell', 471 472 '../net/net.gyp:dns_fuzz_stub', 473 ], 474 }, 475 ], # targets 476 }], 477 ['OS=="mac"', { 478 'targets': [ 479 { 480 # Target to build everything plus the dmg. We don't put the dmg 481 # in the All target because developers really don't need it. 482 'target_name': 'all_and_dmg', 483 'type': 'none', 484 'dependencies': [ 485 'All', 486 '../chrome/chrome.gyp:build_app_dmg', 487 ], 488 }, 489 # These targets are here so the build bots can use them to build 490 # subsets of a full tree for faster cycle times. 491 { 492 'target_name': 'chromium_builder_dbg', 493 'type': 'none', 494 'dependencies': [ 495 '../cc/cc_tests.gyp:cc_unittests', 496 '../chrome/chrome.gyp:browser_tests', 497 '../chrome/chrome.gyp:interactive_ui_tests', 498 '../chrome/chrome.gyp:sync_integration_tests', 499 '../chrome/chrome.gyp:unit_tests', 500 '../cloud_print/cloud_print.gyp:cloud_print_unittests', 501 '../components/components.gyp:components_unittests', 502 '../content/content.gyp:content_browsertests', 503 '../content/content.gyp:content_unittests', 504 '../device/device_tests.gyp:device_unittests', 505 '../gpu/gpu.gyp:gpu_unittests', 506 '../ipc/ipc.gyp:ipc_tests', 507 '../jingle/jingle.gyp:jingle_unittests', 508 '../media/media.gyp:media_unittests', 509 '../ppapi/ppapi_internal.gyp:ppapi_unittests', 510 '../printing/printing.gyp:printing_unittests', 511 '../remoting/remoting.gyp:remoting_unittests', 512 '../rlz/rlz.gyp:*', 513 '../sql/sql.gyp:sql_unittests', 514 '../sync/sync.gyp:sync_unit_tests', 515 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests', 516 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', 517 '../ui/ui.gyp:ui_unittests', 518 '../url/url.gyp:url_unittests', 519 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests', 520 ], 521 }, 522 { 523 'target_name': 'chromium_builder_rel', 524 'type': 'none', 525 'dependencies': [ 526 '../cc/cc_tests.gyp:cc_unittests', 527 '../chrome/chrome.gyp:browser_tests', 528 '../chrome/chrome.gyp:performance_browser_tests', 529 '../chrome/chrome.gyp:performance_ui_tests', 530 '../chrome/chrome.gyp:sync_integration_tests', 531 '../chrome/chrome.gyp:unit_tests', 532 '../cloud_print/cloud_print.gyp:cloud_print_unittests', 533 '../components/components.gyp:components_unittests', 534 '../content/content.gyp:content_browsertests', 535 '../content/content.gyp:content_unittests', 536 '../device/device_tests.gyp:device_unittests', 537 '../gpu/gpu.gyp:gpu_unittests', 538 '../ipc/ipc.gyp:ipc_tests', 539 '../jingle/jingle.gyp:jingle_unittests', 540 '../media/media.gyp:media_unittests', 541 '../ppapi/ppapi_internal.gyp:ppapi_unittests', 542 '../printing/printing.gyp:printing_unittests', 543 '../remoting/remoting.gyp:remoting_unittests', 544 '../sql/sql.gyp:sql_unittests', 545 '../sync/sync.gyp:sync_unit_tests', 546 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests', 547 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', 548 '../ui/ui.gyp:ui_unittests', 549 '../url/url.gyp:url_unittests', 550 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests', 551 ], 552 }, 553 { 554 'target_name': 'chromium_builder_dbg_tsan_mac', 555 'type': 'none', 556 'dependencies': [ 557 '../base/base.gyp:base_unittests', 558 '../cloud_print/cloud_print.gyp:cloud_print_unittests', 559 '../crypto/crypto.gyp:crypto_unittests', 560 '../ipc/ipc.gyp:ipc_tests', 561 '../jingle/jingle.gyp:jingle_unittests', 562 '../media/media.gyp:media_unittests', 563 '../net/net.gyp:net_unittests', 564 '../printing/printing.gyp:printing_unittests', 565 '../remoting/remoting.gyp:remoting_unittests', 566 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests', 567 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', 568 '../url/url.gyp:url_unittests', 569 ], 570 }, 571 { 572 # TODO(dpranke): Update the bots to refer to 'chromium_builder_asan'. 573 'target_name': 'chromium_builder_asan_mac', 574 'type': 'none', 575 'dependencies': [ 576 'chromium_builder_asan' 577 ], 578 }, 579 { 580 'target_name': 'chromium_builder_dbg_valgrind_mac', 581 'type': 'none', 582 'dependencies': [ 583 '../base/base.gyp:base_unittests', 584 '../chrome/chrome.gyp:unit_tests', 585 '../cloud_print/cloud_print.gyp:cloud_print_unittests', 586 '../components/components.gyp:components_unittests', 587 '../content/content.gyp:content_unittests', 588 '../crypto/crypto.gyp:crypto_unittests', 589 '../device/device_tests.gyp:device_unittests', 590 '../ipc/ipc.gyp:ipc_tests', 591 '../jingle/jingle.gyp:jingle_unittests', 592 '../media/media.gyp:media_unittests', 593 '../net/net.gyp:net_unittests', 594 '../printing/printing.gyp:printing_unittests', 595 '../remoting/remoting.gyp:remoting_unittests', 596 '../sql/sql.gyp:sql_unittests', 597 '../sync/sync.gyp:sync_unit_tests', 598 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests', 599 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', 600 '../ui/ui.gyp:ui_unittests', 601 '../url/url.gyp:url_unittests', 602 ], 603 }, 604 ], # targets 605 }], # OS="mac" 606 ['OS=="win"', { 607 'targets': [ 608 # These targets are here so the build bots can use them to build 609 # subsets of a full tree for faster cycle times. 610 { 611 'target_name': 'chromium_builder', 612 'type': 'none', 613 'dependencies': [ 614 '../cc/cc_tests.gyp:cc_unittests', 615 '../chrome/chrome.gyp:browser_tests', 616 '../chrome/chrome.gyp:installer_util_unittests', 617 '../chrome/chrome.gyp:interactive_ui_tests', 618 '../chrome/chrome.gyp:mini_installer_test', 619 '../chrome/chrome.gyp:performance_browser_tests', 620 '../chrome/chrome.gyp:performance_ui_tests', 621 '../chrome/chrome.gyp:sync_integration_tests', 622 '../chrome/chrome.gyp:unit_tests', 623 '../cloud_print/cloud_print.gyp:cloud_print_unittests', 624 '../components/components.gyp:components_unittests', 625 '../content/content.gyp:content_browsertests', 626 '../content/content.gyp:content_unittests', 627 # mini_installer_tests depends on mini_installer. This should be 628 # defined in installer.gyp. 629 '../chrome/installer/mini_installer.gyp:mini_installer', 630 '../chrome_frame/chrome_frame.gyp:npchrome_frame', 631 '../courgette/courgette.gyp:courgette_unittests', 632 '../device/device_tests.gyp:device_unittests', 633 '../gpu/gpu.gyp:gpu_unittests', 634 '../ipc/ipc.gyp:ipc_tests', 635 '../jingle/jingle.gyp:jingle_unittests', 636 '../media/media.gyp:media_unittests', 637 '../ppapi/ppapi_internal.gyp:ppapi_unittests', 638 '../printing/printing.gyp:printing_unittests', 639 '../remoting/remoting.gyp:remoting_unittests', 640 '../sql/sql.gyp:sql_unittests', 641 '../sync/sync.gyp:sync_unit_tests', 642 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests', 643 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', 644 '../ui/ui.gyp:ui_unittests', 645 '../ui/views/views.gyp:views_unittests', 646 '../url/url.gyp:url_unittests', 647 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests', 648 '../third_party/WebKit/public/blink_test_plugin.gyp:blink_test_plugin', 649 ], 650 'conditions': [ 651 ['target_arch!="x64"', { 652 'dependencies': [ 653 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests', 654 '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests', 655 '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests', 656 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests', 657 '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests', 658 ] 659 }, { # target_arch!="x64" 660 'dependencies!': [ 661 '../chrome_frame/chrome_frame.gyp:npchrome_frame', 662 ], 663 'defines': [ 664 'OMIT_CHROME_FRAME', 665 ], 666 }], # target_arch=="x64" 667 ], 668 }, 669 { 670 'target_name': 'chromium_builder_win_cf', 671 'type': 'none', 672 'conditions': [ 673 ['target_arch!="x64"', { 674 'dependencies': [ 675 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests', 676 '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests', 677 '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests', 678 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests', 679 '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests', 680 '../chrome_frame/chrome_frame.gyp:npchrome_frame', 681 ], 682 }], # target_arch!="x64" 683 ], 684 }, 685 { 686 'target_name': 'chromium_builder_dbg_tsan_win', 687 'type': 'none', 688 'dependencies': [ 689 '../base/base.gyp:base_unittests', 690 '../cloud_print/cloud_print.gyp:cloud_print_unittests', 691 '../components/components.gyp:components_unittests', 692 '../content/content.gyp:content_unittests', 693 '../crypto/crypto.gyp:crypto_unittests', 694 '../ipc/ipc.gyp:ipc_tests', 695 '../jingle/jingle.gyp:jingle_unittests', 696 '../media/media.gyp:media_unittests', 697 '../net/net.gyp:net_unittests', 698 '../printing/printing.gyp:printing_unittests', 699 '../remoting/remoting.gyp:remoting_unittests', 700 '../sql/sql.gyp:sql_unittests', 701 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests', 702 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', 703 '../url/url.gyp:url_unittests', 704 ], 705 }, 706 { 707 'target_name': 'chromium_builder_dbg_drmemory_win', 708 'type': 'none', 709 'dependencies': [ 710 '../base/base.gyp:base_unittests', 711 '../chrome/chrome.gyp:unit_tests', 712 '../chrome/chrome.gyp:browser_tests', 713 '../cloud_print/cloud_print.gyp:cloud_print_unittests', 714 '../components/components.gyp:components_unittests', 715 '../content/content.gyp:content_unittests', 716 '../crypto/crypto.gyp:crypto_unittests', 717 '../device/device_tests.gyp:device_unittests', 718 '../ipc/ipc.gyp:ipc_tests', 719 '../jingle/jingle.gyp:jingle_unittests', 720 '../media/media.gyp:media_unittests', 721 '../net/net.gyp:net_unittests', 722 '../printing/printing.gyp:printing_unittests', 723 '../remoting/remoting.gyp:remoting_unittests', 724 '../sql/sql.gyp:sql_unittests', 725 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests', 726 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', 727 '../url/url.gyp:url_unittests', 728 ], 729 }, 730 { 731 'target_name': 'webkit_builder_win', 732 'type': 'none', 733 'dependencies': [ 734 'all_webkit', 735 ], 736 }, 737 ], # targets 738 'conditions': [ 739 ['branding=="Chrome"', { 740 'targets': [ 741 { 742 'target_name': 'chrome_official_builder', 743 'type': 'none', 744 'dependencies': [ 745 '../chrome/chrome.gyp:crash_service', 746 '../chrome/chrome.gyp:policy_templates', 747 '../chrome/installer/mini_installer.gyp:mini_installer', 748 '../courgette/courgette.gyp:courgette', 749 '../cloud_print/cloud_print.gyp:cloud_print', 750 '../remoting/remoting.gyp:remoting_webapp', 751 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', 752 ], 753 'conditions': [ 754 # If you change this condition, make sure you also change it 755 # in chrome_tests.gypi 756 ['enable_automation==1 and (OS=="mac" or (os_posix==1 and target_arch==python_arch))', { 757 'dependencies': [ 758 '../chrome/chrome.gyp:pyautolib', 759 ], 760 }], 761 ['internal_pdf', { 762 'dependencies': [ 763 '../pdf/pdf.gyp:pdf', 764 ], 765 }], # internal_pdf 766 ['target_arch=="ia32"', { 767 'dependencies': [ 768 '../chrome/chrome.gyp:crash_service_win64', 769 '../chrome_frame/chrome_frame.gyp:npchrome_frame', 770 '../courgette/courgette.gyp:courgette64', 771 # Omitting tests from Win64 to speed up cycle times. 772 '../chrome/chrome.gyp:automated_ui_tests', 773 '../chrome/chrome.gyp:chromedriver', 774 '../chrome/chrome.gyp:interactive_ui_tests', 775 '../chrome/chrome.gyp:reliability_tests', 776 ], 777 }], 778 ['component != "shared_library" and wix_exists == "True" and \ 779 sas_dll_exists == "True"', { 780 'dependencies': [ 781 '../remoting/remoting.gyp:remoting_host_installation', 782 ], 783 }], # component != "shared_library" 784 ['target_arch=="x64"', { 785 'defines': [ 786 'OMIT_CHROME_FRAME', 787 ], 788 }], # target_arch=="x64" 789 ] 790 }, 791 ], # targets 792 }], # branding=="Chrome" 793 ], # conditions 794 }], # OS="win" 795 ['use_aura==1', { 796 'targets': [ 797 { 798 'target_name': 'aura_builder', 799 'type': 'none', 800 'dependencies': [ 801 '../cc/cc_tests.gyp:cc_unittests', 802 '../chrome/chrome.gyp:browser_tests', 803 '../chrome/chrome.gyp:chrome', 804 '../chrome/chrome.gyp:interactive_ui_tests', 805 '../chrome/chrome.gyp:unit_tests', 806 '../components/components.gyp:components_unittests', 807 '../content/content.gyp:content_browsertests', 808 '../content/content.gyp:content_unittests', 809 '../device/device_tests.gyp:device_unittests', 810 '../ppapi/ppapi_internal.gyp:ppapi_unittests', 811 '../remoting/remoting.gyp:remoting_unittests', 812 '../ui/app_list/app_list.gyp:*', 813 '../ui/aura/aura.gyp:*', 814 '../ui/compositor/compositor.gyp:*', 815 '../ui/message_center/message_center.gyp:*', 816 '../ui/ui.gyp:ui_unittests', 817 '../ui/snapshot/snapshot.gyp:snapshot_unittests', 818 '../ui/views/views.gyp:views', 819 '../ui/views/views.gyp:views_examples_with_content_exe', 820 '../ui/views/views.gyp:views_unittests', 821 '../ui/keyboard/keyboard.gyp:*', 822 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests', 823 'all_webkit', 824 ], 825 'conditions': [ 826 ['OS=="win"', { 827 'dependencies': [ 828 '../chrome/chrome.gyp:crash_service', 829 '../chrome_frame/chrome_frame.gyp:npchrome_frame', 830 ], 831 }], 832 ['OS=="win" and target_arch!="x64"', { 833 'dependencies': [ 834 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests', 835 '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests', 836 '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests', 837 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests', 838 '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests', 839 ], 840 }], 841 ['OS=="win" and target_arch=="x64"', { 842 'dependencies!': [ 843 '../chrome_frame/chrome_frame.gyp:npchrome_frame', 844 ], 845 'defines': [ 846 'OMIT_CHROME_FRAME', 847 ], 848 }], 849 ['OS=="win" and target_arch=="ia32"', { 850 'dependencies': [ 851 '../chrome/chrome.gyp:crash_service_win64', 852 ], 853 }], 854 ['use_ash==1', { 855 'dependencies': [ 856 '../ash/ash.gyp:ash_shell', 857 '../ash/ash.gyp:ash_unittests', 858 ], 859 }], 860 ['OS=="linux"', { 861 # Tests that currently only work on Linux. 862 'dependencies': [ 863 '../base/base.gyp:base_unittests', 864 '../ipc/ipc.gyp:ipc_tests', 865 '../sql/sql.gyp:sql_unittests', 866 '../sync/sync.gyp:sync_unit_tests', 867 ], 868 }], 869 ['OS=="mac"', { 870 # Exclude dependencies that are not currently implemented. 871 'dependencies!': [ 872 '../chrome/chrome.gyp:chrome', 873 '../chrome/chrome.gyp:unit_tests', 874 '../device/device_tests.gyp:device_unittests', 875 '../ui/views/views.gyp:views_unittests', 876 ], 877 }], 878 ['chromeos==1', { 879 'dependencies': [ 880 '../chromeos/chromeos.gyp:chromeos_unittests', 881 ], 882 }], 883 ], 884 }, 885 ], # targets 886 }], # "use_aura==1" 887 ['test_isolation_mode != "noop"', { 888 'targets': [ 889 { 890 'target_name': 'chromium_swarm_tests', 891 'type': 'none', 892 'dependencies': [ 893 '../base/base.gyp:base_unittests_run', 894 '../chrome/chrome.gyp:browser_tests_run', 895 '../chrome/chrome.gyp:interactive_ui_tests_run', 896 '../chrome/chrome.gyp:sync_integration_tests_run', 897 '../chrome/chrome.gyp:unit_tests_run', 898 '../net/net.gyp:net_unittests_run', 899 ], 900 }, # target_name: chromium_swarm_tests 901 ], 902 }], 903 ], # conditions 904 } 905