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 source_set("call") { | 11 rtc_source_set("call") { |
12 sources = [ | 12 sources = [ |
13 "bitrate_allocator.cc", | 13 "bitrate_allocator.cc", |
14 "call.cc", | 14 "call.cc", |
15 "transport_adapter.cc", | 15 "transport_adapter.cc", |
16 "transport_adapter.h", | 16 "transport_adapter.h", |
17 ] | 17 ] |
18 | 18 |
19 configs += [ "..:common_config" ] | 19 configs += [ "..:common_config" ] |
20 public_configs = [ "..:common_inherited_config" ] | 20 public_configs = [ "..:common_inherited_config" ] |
21 | 21 |
22 if (is_clang) { | 22 if (is_clang) { |
23 # Suppress warnings from Chrome's Clang plugins. | 23 # Suppress warnings from Chrome's Clang plugins. |
24 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 24 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
25 configs -= [ "//build/config/clang:find_bad_constructs" ] | 25 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
26 } | 26 } |
27 | 27 |
28 deps = [ | 28 deps = [ |
29 "..:rtc_event_log", | 29 "..:rtc_event_log", |
30 "..:webrtc_common", | 30 "..:webrtc_common", |
31 "../api:call_api", | 31 "../api:call_api", |
32 "../audio", | 32 "../audio", |
33 "../base:rtc_task_queue", | 33 "../base:rtc_task_queue", |
34 "../modules/congestion_controller", | 34 "../modules/congestion_controller", |
35 "../modules/rtp_rtcp", | 35 "../modules/rtp_rtcp", |
36 "../system_wrappers", | 36 "../system_wrappers", |
37 "../video", | 37 "../video", |
38 ] | 38 ] |
39 } | 39 } |
40 | 40 |
41 if (rtc_include_tests) { | 41 if (rtc_include_tests) { |
42 source_set("call_tests") { | 42 rtc_source_set("call_tests") { |
43 testonly = true | 43 testonly = true |
44 sources = [ | 44 sources = [ |
45 "bitrate_allocator_unittest.cc", | 45 "bitrate_allocator_unittest.cc", |
46 "bitrate_estimator_tests.cc", | 46 "bitrate_estimator_tests.cc", |
47 "call_unittest.cc", | 47 "call_unittest.cc", |
48 "packet_injection_tests.cc", | 48 "packet_injection_tests.cc", |
49 "ringbuffer_unittest.cc", | 49 "ringbuffer_unittest.cc", |
50 ] | 50 ] |
51 deps = [ | 51 deps = [ |
52 ":call", | 52 ":call", |
53 "//testing/gmock", | 53 "//testing/gmock", |
54 "//testing/gtest", | 54 "//testing/gtest", |
55 ] | 55 ] |
56 configs += [ "..:common_config" ] | 56 configs += [ "..:common_config" ] |
57 if (is_clang) { | 57 if (is_clang) { |
58 # Suppress warnings from the Chromium Clang plugin. | 58 # Suppress warnings from the Chromium Clang plugin. |
59 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 59 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
60 configs -= [ "//build/config/clang:find_bad_constructs" ] | 60 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
61 } | 61 } |
62 } | 62 } |
63 } | 63 } |
OLD | NEW |