blob: 5b428f72e9bb17f95c1385464d5a3353b61739b0 [file] [log] [blame]
Peter Boström5c389d32015-09-25 13:58:30 +02001# 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-12 21:02:42 -080013 "bitrate_allocator.cc",
Peter Boström5c389d32015-09-25 13:58:30 +020014 "call.cc",
Peter Boström5c389d32015-09-25 13:58:30 +020015 "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",
katrielc14897d02016-06-03 13:14:28 -070031 "../audio",
Stefan Holmer80e12072016-02-23 13:30:42 +010032 "../modules/congestion_controller",
Peter Boström5c389d32015-09-25 13:58:30 +020033 "../modules/rtp_rtcp",
34 "../system_wrappers",
katrielc14897d02016-06-03 13:14:28 -070035 "../video",
Peter Boström5c389d32015-09-25 13:58:30 +020036 ]
37}
Peter Boström02083222016-06-14 12:52:54 +020038
39if (rtc_include_tests) {
40 source_set("call_tests") {
41 testonly = true
42 sources = [
43 "bitrate_allocator_unittest.cc",
44 "bitrate_estimator_tests.cc",
45 "call_unittest.cc",
46 "packet_injection_tests.cc",
47 "ringbuffer_unittest.cc",
48 ]
49 deps = [
50 ":call",
51 "//testing/gmock",
52 "//testing/gtest",
53 ]
54 if (is_clang) {
55 # Suppress warnings from the Chromium Clang plugin.
56 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
57 configs -= [ "//build/config/clang:find_bad_constructs" ]
58 }
59 }
60}