blob: 97643d1238620f5dcada539fa4972d4049a62a71 [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
kjellanderb62dbbe2016-09-23 07:38:5211rtc_static_library("call") {
Peter Boström5c389d32015-09-25 11:58:3012 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
kjellandere40a7ee2016-10-17 06:56:1219 if (!build_with_chromium && is_clang) {
20 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 11:10:3421 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
Peter Boström5c389d32015-09-25 11:58:3022 }
23
24 deps = [
Peter Boström5c389d32015-09-25 11:58:3025 "..:webrtc_common",
kjellandera69d9732016-08-31 14:33:0526 "../api:call_api",
katrielc14897d02016-06-03 20:14:2827 "../audio",
perkj26091b12016-09-01 08:17:4028 "../base:rtc_task_queue",
skvladcc91d282016-10-04 01:31:2229 "../logging:rtc_event_log_impl",
Stefan Holmer80e12072016-02-23 12:30:4230 "../modules/congestion_controller",
Peter Boström5c389d32015-09-25 11:58:3031 "../modules/rtp_rtcp",
32 "../system_wrappers",
katrielc14897d02016-06-03 20:14:2833 "../video",
Peter Boström5c389d32015-09-25 11:58:3034 ]
35}
Peter Boström02083222016-06-14 10:52:5436
37if (rtc_include_tests) {
ehmaldonado38a21322016-09-02 11:10:3438 rtc_source_set("call_tests") {
Peter Boström02083222016-06-14 10:52:5439 testonly = true
40 sources = [
41 "bitrate_allocator_unittest.cc",
42 "bitrate_estimator_tests.cc",
43 "call_unittest.cc",
44 "packet_injection_tests.cc",
Peter Boström02083222016-06-14 10:52:5445 ]
46 deps = [
47 ":call",
48 "//testing/gmock",
49 "//testing/gtest",
50 ]
kjellandere40a7ee2016-10-17 06:56:1251 if (!build_with_chromium && is_clang) {
52 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 11:10:3453 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
Peter Boström02083222016-06-14 10:52:5454 }
55 }
56}