OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../webrtc.gni") | 9 import("../webrtc.gni") |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 "objc/AppRTCMobile", | 415 "objc/AppRTCMobile", |
416 "objc/AppRTCMobile/ios", | 416 "objc/AppRTCMobile/ios", |
417 ] | 417 ] |
418 testonly = true | 418 testonly = true |
419 sources = [ | 419 sources = [ |
420 "objc/AppRTCMobile/tests/ARDAppClient_xctest.mm", | 420 "objc/AppRTCMobile/tests/ARDAppClient_xctest.mm", |
421 "objc/AppRTCMobile/tests/ARDSDPUtils_xctest.mm", | 421 "objc/AppRTCMobile/tests/ARDSDPUtils_xctest.mm", |
422 "objc/AppRTCMobile/tests/ARDSettingsModel_xctest.mm", | 422 "objc/AppRTCMobile/tests/ARDSettingsModel_xctest.mm", |
423 ] | 423 ] |
424 deps = [ | 424 deps = [ |
425 "//webrtc/base:rtc_base", | 425 "//webrtc/rtc_base:rtc_base", |
426 ] | 426 ] |
427 public_deps = [ | 427 public_deps = [ |
428 ":AppRTCMobile_ios_frameworks", | 428 ":AppRTCMobile_ios_frameworks", |
429 ":AppRTCMobile_lib", | 429 ":AppRTCMobile_lib", |
430 "//build/config/ios:xctest", | 430 "//build/config/ios:xctest", |
431 "//third_party/ocmock", | 431 "//third_party/ocmock", |
432 ] | 432 ] |
433 } | 433 } |
434 | 434 |
435 rtc_ios_xctest_test("apprtcmobile_tests") { | 435 rtc_ios_xctest_test("apprtcmobile_tests") { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 "Xrender", | 517 "Xrender", |
518 ] | 518 ] |
519 deps += [ "//build/config/linux/gtk" ] | 519 deps += [ "//build/config/linux/gtk" ] |
520 } | 520 } |
521 configs += [ ":peerconnection_client_warnings_config" ] | 521 configs += [ ":peerconnection_client_warnings_config" ] |
522 | 522 |
523 deps += [ | 523 deps += [ |
524 "//third_party/libyuv", | 524 "//third_party/libyuv", |
525 "//webrtc/api:libjingle_peerconnection_test_api", | 525 "//webrtc/api:libjingle_peerconnection_test_api", |
526 "//webrtc/api:video_frame_api", | 526 "//webrtc/api:video_frame_api", |
527 "//webrtc/base:rtc_base", | |
528 "//webrtc/base:rtc_base_approved", | |
529 "//webrtc/base:rtc_json", | |
530 "//webrtc/media:rtc_media", | 527 "//webrtc/media:rtc_media", |
531 "//webrtc/modules/video_capture:video_capture_module", | 528 "//webrtc/modules/video_capture:video_capture_module", |
532 "//webrtc/pc:libjingle_peerconnection", | 529 "//webrtc/pc:libjingle_peerconnection", |
| 530 "//webrtc/rtc_base:rtc_base", |
| 531 "//webrtc/rtc_base:rtc_base_approved", |
| 532 "//webrtc/rtc_base:rtc_json", |
533 "//webrtc/system_wrappers:field_trial_default", | 533 "//webrtc/system_wrappers:field_trial_default", |
534 "//webrtc/system_wrappers:metrics_default", | 534 "//webrtc/system_wrappers:metrics_default", |
535 ] | 535 ] |
536 } | 536 } |
537 | 537 |
538 rtc_executable("peerconnection_server") { | 538 rtc_executable("peerconnection_server") { |
539 testonly = true | 539 testonly = true |
540 sources = [ | 540 sources = [ |
541 "peerconnection/server/data_socket.cc", | 541 "peerconnection/server/data_socket.cc", |
542 "peerconnection/server/data_socket.h", | 542 "peerconnection/server/data_socket.h", |
543 "peerconnection/server/main.cc", | 543 "peerconnection/server/main.cc", |
544 "peerconnection/server/peer_channel.cc", | 544 "peerconnection/server/peer_channel.cc", |
545 "peerconnection/server/peer_channel.h", | 545 "peerconnection/server/peer_channel.h", |
546 "peerconnection/server/utils.cc", | 546 "peerconnection/server/utils.cc", |
547 "peerconnection/server/utils.h", | 547 "peerconnection/server/utils.h", |
548 ] | 548 ] |
549 deps = [ | 549 deps = [ |
550 "//webrtc:webrtc_common", | 550 "//webrtc:webrtc_common", |
551 "//webrtc/base:rtc_base_approved", | 551 "//webrtc/rtc_base:rtc_base_approved", |
552 "//webrtc/rtc_tools:command_line_parser", | 552 "//webrtc/rtc_tools:command_line_parser", |
553 ] | 553 ] |
554 if (!build_with_chromium && is_clang) { | 554 if (!build_with_chromium && is_clang) { |
555 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 555 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
556 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 556 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
557 } | 557 } |
558 } | 558 } |
559 rtc_executable("relayserver") { | 559 rtc_executable("relayserver") { |
560 testonly = true | 560 testonly = true |
561 sources = [ | 561 sources = [ |
562 "relayserver/relayserver_main.cc", | 562 "relayserver/relayserver_main.cc", |
563 ] | 563 ] |
564 deps = [ | 564 deps = [ |
565 "../base:rtc_base", | 565 "../rtc_base:rtc_base", |
566 "//webrtc/base:rtc_base_approved", | |
567 "//webrtc/p2p:rtc_p2p", | 566 "//webrtc/p2p:rtc_p2p", |
568 "//webrtc/pc:rtc_pc", | 567 "//webrtc/pc:rtc_pc", |
| 568 "//webrtc/rtc_base:rtc_base_approved", |
569 "//webrtc/system_wrappers:field_trial_default", | 569 "//webrtc/system_wrappers:field_trial_default", |
570 "//webrtc/system_wrappers:metrics_default", | 570 "//webrtc/system_wrappers:metrics_default", |
571 ] | 571 ] |
572 if (!build_with_chromium && is_clang) { | 572 if (!build_with_chromium && is_clang) { |
573 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 573 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
574 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 574 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
575 } | 575 } |
576 } | 576 } |
577 rtc_executable("turnserver") { | 577 rtc_executable("turnserver") { |
578 testonly = true | 578 testonly = true |
579 sources = [ | 579 sources = [ |
580 "turnserver/turnserver_main.cc", | 580 "turnserver/turnserver_main.cc", |
581 ] | 581 ] |
582 deps = [ | 582 deps = [ |
583 "../base:rtc_base", | 583 "../rtc_base:rtc_base", |
584 "//webrtc/base:rtc_base_approved", | |
585 "//webrtc/p2p:rtc_p2p", | 584 "//webrtc/p2p:rtc_p2p", |
586 "//webrtc/pc:rtc_pc", | 585 "//webrtc/pc:rtc_pc", |
| 586 "//webrtc/rtc_base:rtc_base_approved", |
587 "//webrtc/system_wrappers:field_trial_default", | 587 "//webrtc/system_wrappers:field_trial_default", |
588 "//webrtc/system_wrappers:metrics_default", | 588 "//webrtc/system_wrappers:metrics_default", |
589 ] | 589 ] |
590 if (!build_with_chromium && is_clang) { | 590 if (!build_with_chromium && is_clang) { |
591 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 591 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
592 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 592 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
593 } | 593 } |
594 } | 594 } |
595 rtc_executable("stunserver") { | 595 rtc_executable("stunserver") { |
596 testonly = true | 596 testonly = true |
597 sources = [ | 597 sources = [ |
598 "stunserver/stunserver_main.cc", | 598 "stunserver/stunserver_main.cc", |
599 ] | 599 ] |
600 deps = [ | 600 deps = [ |
601 "../base:rtc_base", | 601 "../rtc_base:rtc_base", |
602 "//webrtc/base:rtc_base_approved", | |
603 "//webrtc/p2p:rtc_p2p", | 602 "//webrtc/p2p:rtc_p2p", |
604 "//webrtc/pc:rtc_pc", | 603 "//webrtc/pc:rtc_pc", |
| 604 "//webrtc/rtc_base:rtc_base_approved", |
605 "//webrtc/system_wrappers:field_trial_default", | 605 "//webrtc/system_wrappers:field_trial_default", |
606 "//webrtc/system_wrappers:metrics_default", | 606 "//webrtc/system_wrappers:metrics_default", |
607 ] | 607 ] |
608 if (!build_with_chromium && is_clang) { | 608 if (!build_with_chromium && is_clang) { |
609 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 609 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
610 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 610 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
611 } | 611 } |
612 } | 612 } |
613 } | 613 } |
614 | 614 |
(...skipping 11 matching lines...) Expand all Loading... |
626 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 626 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
627 } | 627 } |
628 cflags = [ "/wd4245" ] | 628 cflags = [ "/wd4245" ] |
629 configs += [ | 629 configs += [ |
630 "//build/config/win:windowed", | 630 "//build/config/win:windowed", |
631 ":peerconnection_client_warnings_config", | 631 ":peerconnection_client_warnings_config", |
632 ] | 632 ] |
633 deps = [ | 633 deps = [ |
634 "//webrtc/api:libjingle_peerconnection_test_api", | 634 "//webrtc/api:libjingle_peerconnection_test_api", |
635 "//webrtc/api:video_frame_api", | 635 "//webrtc/api:video_frame_api", |
636 "//webrtc/base:rtc_base", | |
637 "//webrtc/base:rtc_base_approved", | |
638 "//webrtc/base:rtc_json", | |
639 "//webrtc/media:rtc_media", | 636 "//webrtc/media:rtc_media", |
640 "//webrtc/media:rtc_media_base", | 637 "//webrtc/media:rtc_media_base", |
641 "//webrtc/modules/video_capture:video_capture_module", | 638 "//webrtc/modules/video_capture:video_capture_module", |
642 "//webrtc/pc:libjingle_peerconnection", | 639 "//webrtc/pc:libjingle_peerconnection", |
| 640 "//webrtc/rtc_base:rtc_base", |
| 641 "//webrtc/rtc_base:rtc_base_approved", |
| 642 "//webrtc/rtc_base:rtc_json", |
643 "//webrtc/system_wrappers:field_trial_default", | 643 "//webrtc/system_wrappers:field_trial_default", |
644 "//webrtc/system_wrappers:metrics_default", | 644 "//webrtc/system_wrappers:metrics_default", |
645 ] | 645 ] |
646 } | 646 } |
647 } | 647 } |
648 | 648 |
649 if (!build_with_chromium) { | 649 if (!build_with_chromium) { |
650 # Doesn't build within Chrome on Win. | 650 # Doesn't build within Chrome on Win. |
651 rtc_executable("stun_prober") { | 651 rtc_executable("stun_prober") { |
652 testonly = true | 652 testonly = true |
653 sources = [ | 653 sources = [ |
654 "stunprober/main.cc", | 654 "stunprober/main.cc", |
655 ] | 655 ] |
656 | 656 |
657 if (!build_with_chromium && is_clang) { | 657 if (!build_with_chromium && is_clang) { |
658 # Suppress warnings from Chrome's Clang plugins. | 658 # Suppress warnings from Chrome's Clang plugins. |
659 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 659 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
660 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 660 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
661 } | 661 } |
662 | 662 |
663 deps = [ | 663 deps = [ |
664 "../base:rtc_base", | |
665 "../base:rtc_base_approved", | |
666 "../p2p:libstunprober", | 664 "../p2p:libstunprober", |
667 "../p2p:rtc_p2p", | 665 "../p2p:rtc_p2p", |
| 666 "../rtc_base:rtc_base", |
| 667 "../rtc_base:rtc_base_approved", |
668 "../system_wrappers:field_trial_default", | 668 "../system_wrappers:field_trial_default", |
669 ] | 669 ] |
670 } | 670 } |
671 } | 671 } |
OLD | NEW |