| 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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 "Xext", | 516 "Xext", |
| 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 "../api:libjingle_peerconnection_test_api", | 524 "../api:libjingle_peerconnection_test_api", |
| 525 "../api:video_frame_api", | 525 "../api:video_frame_api", |
| 526 "../base:rtc_base", | |
| 527 "../base:rtc_base_approved", | |
| 528 "../base:rtc_json", | |
| 529 "../media:rtc_media", | 526 "../media:rtc_media", |
| 530 "../modules/video_capture:video_capture_module", | 527 "../modules/video_capture:video_capture_module", |
| 531 "../pc:libjingle_peerconnection", | 528 "../pc:libjingle_peerconnection", |
| 529 "../rtc_base:rtc_base", |
| 530 "../rtc_base:rtc_base_approved", |
| 531 "../rtc_base:rtc_json", |
| 532 "../system_wrappers:field_trial_default", | 532 "../system_wrappers:field_trial_default", |
| 533 "../system_wrappers:metrics_default", | 533 "../system_wrappers:metrics_default", |
| 534 "//third_party/libyuv", | 534 "//third_party/libyuv", |
| 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_common", | 550 "..:webrtc_common", |
| 551 "../base:rtc_base_approved", | 551 "../rtc_base:rtc_base_approved", |
| 552 "../rtc_tools:command_line_parser", | 552 "../rtc_tools:command_line_parser", |
| 553 "//webrtc:webrtc_common", | |
| 554 "//webrtc/base:rtc_base_approved", | |
| 555 "//webrtc/rtc_tools:command_line_parser", | |
| 556 ] | 553 ] |
| 557 if (!build_with_chromium && is_clang) { | 554 if (!build_with_chromium && is_clang) { |
| 558 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 555 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 559 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 556 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 560 } | 557 } |
| 561 } | 558 } |
| 562 rtc_executable("relayserver") { | 559 rtc_executable("relayserver") { |
| 563 testonly = true | 560 testonly = true |
| 564 sources = [ | 561 sources = [ |
| 565 "relayserver/relayserver_main.cc", | 562 "relayserver/relayserver_main.cc", |
| 566 ] | 563 ] |
| 567 deps = [ | 564 deps = [ |
| 568 "../base:rtc_base", | |
| 569 "../base:rtc_base_approved", | |
| 570 "../p2p:rtc_p2p", | 565 "../p2p:rtc_p2p", |
| 571 "../pc:rtc_pc", | 566 "../pc:rtc_pc", |
| 567 "../rtc_base:rtc_base", |
| 568 "../rtc_base:rtc_base_approved", |
| 572 "../system_wrappers:field_trial_default", | 569 "../system_wrappers:field_trial_default", |
| 573 "../system_wrappers:metrics_default", | 570 "../system_wrappers:metrics_default", |
| 574 ] | 571 ] |
| 575 if (!build_with_chromium && is_clang) { | 572 if (!build_with_chromium && is_clang) { |
| 576 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 573 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 577 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 574 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 578 } | 575 } |
| 579 } | 576 } |
| 580 rtc_executable("turnserver") { | 577 rtc_executable("turnserver") { |
| 581 testonly = true | 578 testonly = true |
| 582 sources = [ | 579 sources = [ |
| 583 "turnserver/turnserver_main.cc", | 580 "turnserver/turnserver_main.cc", |
| 584 ] | 581 ] |
| 585 deps = [ | 582 deps = [ |
| 586 "../base:rtc_base", | |
| 587 "../base:rtc_base_approved", | |
| 588 "../p2p:rtc_p2p", | 583 "../p2p:rtc_p2p", |
| 589 "../pc:rtc_pc", | 584 "../pc:rtc_pc", |
| 585 "../rtc_base:rtc_base", |
| 586 "../rtc_base:rtc_base_approved", |
| 590 "../system_wrappers:field_trial_default", | 587 "../system_wrappers:field_trial_default", |
| 591 "../system_wrappers:metrics_default", | 588 "../system_wrappers:metrics_default", |
| 592 ] | 589 ] |
| 593 if (!build_with_chromium && is_clang) { | 590 if (!build_with_chromium && is_clang) { |
| 594 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 591 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 595 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 592 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 596 } | 593 } |
| 597 } | 594 } |
| 598 rtc_executable("stunserver") { | 595 rtc_executable("stunserver") { |
| 599 testonly = true | 596 testonly = true |
| 600 sources = [ | 597 sources = [ |
| 601 "stunserver/stunserver_main.cc", | 598 "stunserver/stunserver_main.cc", |
| 602 ] | 599 ] |
| 603 deps = [ | 600 deps = [ |
| 604 "../base:rtc_base", | |
| 605 "../base:rtc_base_approved", | |
| 606 "../p2p:rtc_p2p", | 601 "../p2p:rtc_p2p", |
| 607 "../pc:rtc_pc", | 602 "../pc:rtc_pc", |
| 603 "../rtc_base:rtc_base", |
| 604 "../rtc_base:rtc_base_approved", |
| 608 "../system_wrappers:field_trial_default", | 605 "../system_wrappers:field_trial_default", |
| 609 "../system_wrappers:metrics_default", | 606 "../system_wrappers:metrics_default", |
| 610 ] | 607 ] |
| 611 if (!build_with_chromium && is_clang) { | 608 if (!build_with_chromium && is_clang) { |
| 612 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 609 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 613 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 610 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 614 } | 611 } |
| 615 } | 612 } |
| 616 } | 613 } |
| 617 | 614 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 629 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 626 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 630 } | 627 } |
| 631 cflags = [ "/wd4245" ] | 628 cflags = [ "/wd4245" ] |
| 632 configs += [ | 629 configs += [ |
| 633 "//build/config/win:windowed", | 630 "//build/config/win:windowed", |
| 634 ":peerconnection_client_warnings_config", | 631 ":peerconnection_client_warnings_config", |
| 635 ] | 632 ] |
| 636 deps = [ | 633 deps = [ |
| 637 "../api:libjingle_peerconnection_test_api", | 634 "../api:libjingle_peerconnection_test_api", |
| 638 "../api:video_frame_api", | 635 "../api:video_frame_api", |
| 639 "../base:rtc_base", | |
| 640 "../base:rtc_base_approved", | |
| 641 "../base:rtc_json", | |
| 642 "../media:rtc_media", | 636 "../media:rtc_media", |
| 643 "../media:rtc_media_base", | 637 "../media:rtc_media_base", |
| 644 "../modules/video_capture:video_capture_module", | 638 "../modules/video_capture:video_capture_module", |
| 645 "../pc:libjingle_peerconnection", | 639 "../pc:libjingle_peerconnection", |
| 640 "../rtc_base:rtc_base", |
| 641 "../rtc_base:rtc_base_approved", |
| 642 "../rtc_base:rtc_json", |
| 646 "../system_wrappers:field_trial_default", | 643 "../system_wrappers:field_trial_default", |
| 647 "../system_wrappers:metrics_default", | 644 "../system_wrappers:metrics_default", |
| 648 ] | 645 ] |
| 649 } | 646 } |
| 650 } | 647 } |
| 651 | 648 |
| 652 if (!build_with_chromium) { | 649 if (!build_with_chromium) { |
| 653 # Doesn't build within Chrome on Win. | 650 # Doesn't build within Chrome on Win. |
| 654 rtc_executable("stun_prober") { | 651 rtc_executable("stun_prober") { |
| 655 testonly = true | 652 testonly = true |
| 656 sources = [ | 653 sources = [ |
| 657 "stunprober/main.cc", | 654 "stunprober/main.cc", |
| 658 ] | 655 ] |
| 659 | 656 |
| 660 if (!build_with_chromium && is_clang) { | 657 if (!build_with_chromium && is_clang) { |
| 661 # Suppress warnings from Chrome's Clang plugins. | 658 # Suppress warnings from Chrome's Clang plugins. |
| 662 # 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. |
| 663 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 660 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 664 } | 661 } |
| 665 | 662 |
| 666 deps = [ | 663 deps = [ |
| 667 "../base:rtc_base", | |
| 668 "../base:rtc_base_approved", | |
| 669 "../p2p:libstunprober", | 664 "../p2p:libstunprober", |
| 670 "../p2p:rtc_p2p", | 665 "../p2p:rtc_p2p", |
| 666 "../rtc_base:rtc_base", |
| 667 "../rtc_base:rtc_base_approved", |
| 671 "../system_wrappers:field_trial_default", | 668 "../system_wrappers:field_trial_default", |
| 672 ] | 669 ] |
| 673 } | 670 } |
| 674 } | 671 } |
| OLD | NEW |