Peter Boström | 5c389d3 | 2015-09-25 11:58:30 | [diff] [blame] | 1 | # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 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 |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | import("../build/webrtc.gni") |
| 10 | |
| 11 | source_set("call") { |
| 12 | sources = [ |
mflodman | 0e7e259 | 2015-11-13 05:02:42 | [diff] [blame] | 13 | "bitrate_allocator.cc", |
Peter Boström | 5c389d3 | 2015-09-25 11:58:30 | [diff] [blame] | 14 | "call.cc", |
Peter Boström | 5c389d3 | 2015-09-25 11:58:30 | [diff] [blame] | 15 | "transport_adapter.cc", |
| 16 | "transport_adapter.h", |
| 17 | ] |
| 18 | |
| 19 | configs += [ "..:common_config" ] |
| 20 | public_configs = [ "..:common_inherited_config" ] |
| 21 | |
| 22 | if (is_clang) { |
| 23 | # Suppress warnings from Chrome's Clang plugins. |
| 24 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 25 | configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 26 | } |
| 27 | |
| 28 | deps = [ |
| 29 | "..:rtc_event_log", |
| 30 | "..:webrtc_common", |
kjellander | a69d973 | 2016-08-31 14:33:05 | [diff] [blame^] | 31 | "../api:call_api", |
katrielc | 14897d0 | 2016-06-03 20:14:28 | [diff] [blame] | 32 | "../audio", |
Stefan Holmer | 80e1207 | 2016-02-23 12:30:42 | [diff] [blame] | 33 | "../modules/congestion_controller", |
Peter Boström | 5c389d3 | 2015-09-25 11:58:30 | [diff] [blame] | 34 | "../modules/rtp_rtcp", |
| 35 | "../system_wrappers", |
katrielc | 14897d0 | 2016-06-03 20:14:28 | [diff] [blame] | 36 | "../video", |
Peter Boström | 5c389d3 | 2015-09-25 11:58:30 | [diff] [blame] | 37 | ] |
| 38 | } |
Peter Boström | 0208322 | 2016-06-14 10:52:54 | [diff] [blame] | 39 | |
| 40 | if (rtc_include_tests) { |
| 41 | source_set("call_tests") { |
| 42 | testonly = true |
| 43 | sources = [ |
| 44 | "bitrate_allocator_unittest.cc", |
| 45 | "bitrate_estimator_tests.cc", |
| 46 | "call_unittest.cc", |
| 47 | "packet_injection_tests.cc", |
| 48 | "ringbuffer_unittest.cc", |
| 49 | ] |
| 50 | deps = [ |
| 51 | ":call", |
| 52 | "//testing/gmock", |
| 53 | "//testing/gtest", |
| 54 | ] |
| 55 | if (is_clang) { |
| 56 | # Suppress warnings from the Chromium Clang plugin. |
| 57 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 58 | configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 59 | } |
| 60 | } |
| 61 | } |