| 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 } | 613 } |
| 614 | 614 |
| 615 if (is_win) { | 615 if (is_win) { |
| 616 rtc_shared_library("webrtc_unity_plugin") { | 616 rtc_shared_library("webrtc_unity_plugin") { |
| 617 testonly = true | 617 testonly = true |
| 618 sources = [ | 618 sources = [ |
| 619 "unityplugin/simple_peer_connection.cc", | 619 "unityplugin/simple_peer_connection.cc", |
| 620 "unityplugin/simple_peer_connection.h", | 620 "unityplugin/simple_peer_connection.h", |
| 621 "unityplugin/unity_plugin_apis.cc", | 621 "unityplugin/unity_plugin_apis.cc", |
| 622 "unityplugin/unity_plugin_apis.h", | 622 "unityplugin/unity_plugin_apis.h", |
| 623 "unityplugin/video_observer.cc", |
| 624 "unityplugin/video_observer.h", |
| 623 ] | 625 ] |
| 624 if (!build_with_chromium && is_clang) { | 626 if (!build_with_chromium && is_clang) { |
| 625 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 627 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 626 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 628 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 627 } | 629 } |
| 628 cflags = [ "/wd4245" ] | 630 cflags = [ "/wd4245" ] |
| 629 configs += [ | 631 configs += [ |
| 630 "//build/config/win:windowed", | 632 "//build/config/win:windowed", |
| 631 ":peerconnection_client_warnings_config", | 633 ":peerconnection_client_warnings_config", |
| 632 ] | 634 ] |
| 633 deps = [ | 635 deps = [ |
| 634 "../api:libjingle_peerconnection_test_api", | 636 "../api:libjingle_peerconnection_test_api", |
| 635 "../api:video_frame_api", | 637 "../api:video_frame_api", |
| 636 "../media:rtc_media", | 638 "../media:rtc_media", |
| 637 "../media:rtc_media_base", | 639 "../media:rtc_media_base", |
| 638 "../modules/video_capture:video_capture_module", | 640 "../modules/video_capture:video_capture_module", |
| 639 "../pc:libjingle_peerconnection", | 641 "../pc:libjingle_peerconnection", |
| 640 "../rtc_base:rtc_base", | |
| 641 "../rtc_base:rtc_base_approved", | |
| 642 "../rtc_base:rtc_json", | |
| 643 "../system_wrappers:field_trial_default", | 642 "../system_wrappers:field_trial_default", |
| 644 "../system_wrappers:metrics_default", | 643 "../system_wrappers:metrics_default", |
| 645 ] | 644 ] |
| 646 } | 645 } |
| 647 } | 646 } |
| 648 | 647 |
| 649 if (!build_with_chromium) { | 648 if (!build_with_chromium) { |
| 650 # Doesn't build within Chrome on Win. | 649 # Doesn't build within Chrome on Win. |
| 651 rtc_executable("stun_prober") { | 650 rtc_executable("stun_prober") { |
| 652 testonly = true | 651 testonly = true |
| 653 sources = [ | 652 sources = [ |
| 654 "stunprober/main.cc", | 653 "stunprober/main.cc", |
| 655 ] | 654 ] |
| 656 | 655 |
| 657 if (!build_with_chromium && is_clang) { | 656 if (!build_with_chromium && is_clang) { |
| 658 # Suppress warnings from Chrome's Clang plugins. | 657 # Suppress warnings from Chrome's Clang plugins. |
| 659 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 658 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 660 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 659 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 661 } | 660 } |
| 662 | 661 |
| 663 deps = [ | 662 deps = [ |
| 664 "../p2p:libstunprober", | 663 "../p2p:libstunprober", |
| 665 "../p2p:rtc_p2p", | 664 "../p2p:rtc_p2p", |
| 666 "../rtc_base:rtc_base", | 665 "../rtc_base:rtc_base", |
| 667 "../rtc_base:rtc_base_approved", | 666 "../rtc_base:rtc_base_approved", |
| 668 "../system_wrappers:field_trial_default", | 667 "../system_wrappers:field_trial_default", |
| 669 ] | 668 ] |
| 670 } | 669 } |
| 671 } | 670 } |
| OLD | NEW |