OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 import("//third_party/protobuf/proto_library.gni") | 9 import("//third_party/protobuf/proto_library.gni") |
10 | 10 |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 executable("cast_receiver_app") { | 419 executable("cast_receiver_app") { |
420 testonly = true | 420 testonly = true |
421 sources = [ | 421 sources = [ |
422 "test/receiver.cc", | 422 "test/receiver.cc", |
423 ] | 423 ] |
424 deps = [ | 424 deps = [ |
425 ":common", | 425 ":common", |
426 ":net", | 426 ":net", |
427 ":receiver", | 427 ":receiver", |
428 ":test_support", | 428 ":test_support", |
| 429 "//build/win:default_exe_manifest", |
429 ] | 430 ] |
430 | 431 |
431 if (is_linux && !is_chromeos && use_x11) { | 432 if (is_linux && !is_chromeos && use_x11) { |
432 sources += [ | 433 sources += [ |
433 "test/linux_output_window.cc", | 434 "test/linux_output_window.cc", |
434 "test/linux_output_window.h", | 435 "test/linux_output_window.h", |
435 ] | 436 ] |
436 configs += [ | 437 configs += [ |
437 "//build/config/linux:x11", | 438 "//build/config/linux:x11", |
438 "//build/config/linux:xext", | 439 "//build/config/linux:xext", |
439 ] | 440 ] |
440 deps += [ "//third_party/libyuv" ] | 441 deps += [ "//third_party/libyuv" ] |
441 } | 442 } |
442 } | 443 } |
443 | 444 |
444 executable("cast_sender_app") { | 445 executable("cast_sender_app") { |
445 testonly = true | 446 testonly = true |
446 sources = [ | 447 sources = [ |
447 "test/sender.cc", | 448 "test/sender.cc", |
448 ] | 449 ] |
449 deps = [ | 450 deps = [ |
450 ":common", | 451 ":common", |
451 ":net", | 452 ":net", |
452 ":sender", | 453 ":sender", |
453 ":test_support", | 454 ":test_support", |
| 455 "//build/win:default_exe_manifest", |
454 ] | 456 ] |
455 } | 457 } |
456 | 458 |
457 proto_library("network_simulation_model_proto") { | 459 proto_library("network_simulation_model_proto") { |
458 visibility = [ ":cast_simulator" ] | 460 visibility = [ ":cast_simulator" ] |
459 sources = [ | 461 sources = [ |
460 "test/proto/network_simulation_model.proto", | 462 "test/proto/network_simulation_model.proto", |
461 ] | 463 ] |
462 } | 464 } |
463 | 465 |
464 executable("cast_simulator") { | 466 executable("cast_simulator") { |
465 testonly = true | 467 testonly = true |
466 sources = [ | 468 sources = [ |
467 "test/simulator.cc", | 469 "test/simulator.cc", |
468 ] | 470 ] |
469 deps = [ | 471 deps = [ |
470 ":common", | 472 ":common", |
471 ":net", | 473 ":net", |
472 ":network_simulation_model_proto", | 474 ":network_simulation_model_proto", |
473 ":sender", | 475 ":sender", |
474 ":test_support", | 476 ":test_support", |
| 477 "//build/win:default_exe_manifest", |
475 ] | 478 ] |
476 } | 479 } |
477 | 480 |
478 executable("generate_barcode_video") { | 481 executable("generate_barcode_video") { |
479 testonly = true | 482 testonly = true |
480 sources = [ | 483 sources = [ |
481 "test/utility/generate_barcode_video.cc", | 484 "test/utility/generate_barcode_video.cc", |
482 ] | 485 ] |
483 deps = [ | 486 deps = [ |
484 ":test_support", | 487 ":test_support", |
485 "//base", | 488 "//base", |
486 "//build/config/sanitizers:deps", | 489 "//build/config/sanitizers:deps", |
| 490 "//build/win:default_exe_manifest", |
487 "//media", | 491 "//media", |
488 ] | 492 ] |
489 } | 493 } |
490 | 494 |
491 executable("generate_timecode_audio") { | 495 executable("generate_timecode_audio") { |
492 testonly = true | 496 testonly = true |
493 sources = [ | 497 sources = [ |
494 "test/utility/generate_timecode_audio.cc", | 498 "test/utility/generate_timecode_audio.cc", |
495 ] | 499 ] |
496 deps = [ | 500 deps = [ |
497 ":test_support", | 501 ":test_support", |
498 "//base", | 502 "//base", |
499 "//build/config/sanitizers:deps", | 503 "//build/config/sanitizers:deps", |
| 504 "//build/win:default_exe_manifest", |
500 "//media", | 505 "//media", |
501 ] | 506 ] |
502 } | 507 } |
503 | 508 |
504 executable("udp_proxy") { | 509 executable("udp_proxy") { |
505 testonly = true | 510 testonly = true |
506 sources = [ | 511 sources = [ |
507 "test/utility/udp_proxy_main.cc", | 512 "test/utility/udp_proxy_main.cc", |
508 ] | 513 ] |
509 deps = [ | 514 deps = [ |
510 ":test_support", | 515 ":test_support", |
511 "//base", | 516 "//base", |
512 "//build/config/sanitizers:deps", | 517 "//build/config/sanitizers:deps", |
| 518 "//build/win:default_exe_manifest", |
513 ] | 519 ] |
514 } | 520 } |
515 } else { # !(is_win || is_mac || (is_linux && !is_chromeos)) | 521 } else { # !(is_win || is_mac || (is_linux && !is_chromeos)) |
516 # The testing tools are only built for the desktop platforms. | 522 # The testing tools are only built for the desktop platforms. |
517 group("testing_tools") { | 523 group("testing_tools") { |
518 } | 524 } |
519 } | 525 } |
520 | 526 |
521 if (is_linux && !is_chromeos) { | 527 if (is_linux && !is_chromeos) { |
522 test("tap_proxy") { | 528 test("tap_proxy") { |
(...skipping 17 matching lines...) Expand all Loading... |
540 deps = [ | 546 deps = [ |
541 ":sender", | 547 ":sender", |
542 ] | 548 ] |
543 } | 549 } |
544 | 550 |
545 static_library("cast_receiver") { | 551 static_library("cast_receiver") { |
546 deps = [ | 552 deps = [ |
547 ":receiver", | 553 ":receiver", |
548 ] | 554 ] |
549 } | 555 } |
OLD | NEW |