| OLD | NEW |
| 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 | 10 |
| 11 rtc_static_library("call") { | 11 rtc_static_library("call") { |
| 12 sources = [ | 12 sources = [ |
| 13 "bitrate_allocator.cc", | 13 "bitrate_allocator.cc", |
| 14 "call.cc", | 14 "call.cc", |
| 15 "flexfec_receive_stream.cc", |
| 16 "flexfec_receive_stream.h", |
| 15 "transport_adapter.cc", | 17 "transport_adapter.cc", |
| 16 "transport_adapter.h", | 18 "transport_adapter.h", |
| 17 ] | 19 ] |
| 18 | 20 |
| 19 if (!build_with_chromium && is_clang) { | 21 if (!build_with_chromium && is_clang) { |
| 20 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 22 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 21 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 23 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 22 } | 24 } |
| 23 | 25 |
| 24 deps = [ | 26 deps = [ |
| 25 "..:webrtc_common", | 27 "..:webrtc_common", |
| 26 "../api:call_api", | 28 "../api:call_api", |
| 27 "../audio", | 29 "../audio", |
| 28 "../base:rtc_task_queue", | 30 "../base:rtc_task_queue", |
| 29 "../logging:rtc_event_log_impl", | 31 "../logging:rtc_event_log_impl", |
| 30 "../modules/congestion_controller", | 32 "../modules/congestion_controller", |
| 31 "../modules/rtp_rtcp", | 33 "../modules/rtp_rtcp", |
| 32 "../system_wrappers", | 34 "../system_wrappers", |
| 33 "../video", | 35 "../video", |
| 34 ] | 36 ] |
| 35 } | 37 } |
| 36 | 38 |
| 37 if (rtc_include_tests) { | 39 if (rtc_include_tests) { |
| 38 rtc_source_set("call_tests") { | 40 rtc_source_set("call_tests") { |
| 39 testonly = true | 41 testonly = true |
| 40 sources = [ | 42 sources = [ |
| 41 "bitrate_allocator_unittest.cc", | 43 "bitrate_allocator_unittest.cc", |
| 42 "bitrate_estimator_tests.cc", | 44 "bitrate_estimator_tests.cc", |
| 43 "call_unittest.cc", | 45 "call_unittest.cc", |
| 46 "flexfec_receive_stream_unittest.cc", |
| 44 "packet_injection_tests.cc", | 47 "packet_injection_tests.cc", |
| 45 ] | 48 ] |
| 46 deps = [ | 49 deps = [ |
| 47 ":call", | 50 ":call", |
| 48 "//testing/gmock", | 51 "//testing/gmock", |
| 49 "//testing/gtest", | 52 "//testing/gtest", |
| 50 ] | 53 ] |
| 51 if (!build_with_chromium && is_clang) { | 54 if (!build_with_chromium && is_clang) { |
| 52 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 55 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 53 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 56 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 54 } | 57 } |
| 55 } | 58 } |
| 56 } | 59 } |
| OLD | NEW |