blob: 2f3ce8c7159c759bc04d0599db60cbbc9d410eb9 [file] [log] [blame]
Peter Boström5c389d32015-09-25 11:58:301# 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
9import("../build/webrtc.gni")
10
11source_set("call") {
12 sources = [
mflodman0e7e2592015-11-13 05:02:4213 "bitrate_allocator.cc",
Peter Boström5c389d32015-09-25 11:58:3014 "call.cc",
Peter Boström5c389d32015-09-25 11:58:3015 "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",
kjellandera69d9732016-08-31 14:33:0531 "../api:call_api",
katrielc14897d02016-06-03 20:14:2832 "../audio",
Stefan Holmer80e12072016-02-23 12:30:4233 "../modules/congestion_controller",
Peter Boström5c389d32015-09-25 11:58:3034 "../modules/rtp_rtcp",
35 "../system_wrappers",
katrielc14897d02016-06-03 20:14:2836 "../video",
Peter Boström5c389d32015-09-25 11:58:3037 ]
38}
Peter Boström02083222016-06-14 10:52:5439
40if (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}