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 rtc_source_set("call_interfaces") { | |
12 sources = [ | |
13 "audio_receive_stream.h", | |
14 "audio_send_stream.cc", | |
ossu
2016/12/06 16:05:02
Since call.h and call.cc are separated between cal
the sun
2016/12/06 21:43:22
The audio_send_stream.cc here defines default ctor
| |
15 "audio_send_stream.h", | |
16 "audio_state.h", | |
17 "call.h", | |
18 ] | |
19 } | |
20 | |
11 rtc_static_library("call") { | 21 rtc_static_library("call") { |
12 sources = [ | 22 sources = [ |
13 "bitrate_allocator.cc", | 23 "bitrate_allocator.cc", |
14 "call.cc", | 24 "call.cc", |
15 "flexfec_receive_stream.cc", | 25 "flexfec_receive_stream.cc", |
16 "flexfec_receive_stream.h", | 26 "flexfec_receive_stream.h", |
17 ] | 27 ] |
18 | 28 |
19 if (!build_with_chromium && is_clang) { | 29 if (!build_with_chromium && is_clang) { |
20 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 30 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
21 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 31 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
22 } | 32 } |
23 | 33 |
24 public_deps = [ | 34 public_deps = [ |
35 ":call_interfaces", | |
25 "../api:call_api", | 36 "../api:call_api", |
26 ] | 37 ] |
27 | 38 |
28 deps = [ | 39 deps = [ |
40 ":call_interfaces", | |
29 "..:webrtc_common", | 41 "..:webrtc_common", |
30 "../api:transport_api", | 42 "../api:transport_api", |
31 "../audio", | 43 "../audio", |
32 "../base:rtc_task_queue", | 44 "../base:rtc_task_queue", |
33 "../logging:rtc_event_log_impl", | 45 "../logging:rtc_event_log_impl", |
34 "../modules/congestion_controller", | 46 "../modules/congestion_controller", |
35 "../modules/rtp_rtcp", | 47 "../modules/rtp_rtcp", |
36 "../system_wrappers", | 48 "../system_wrappers", |
37 "../video", | 49 "../video", |
38 ] | 50 ] |
(...skipping 17 matching lines...) Expand all Loading... | |
56 "../test:test_common", | 68 "../test:test_common", |
57 "//testing/gmock", | 69 "//testing/gmock", |
58 "//testing/gtest", | 70 "//testing/gtest", |
59 ] | 71 ] |
60 if (!build_with_chromium && is_clang) { | 72 if (!build_with_chromium && is_clang) { |
61 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 73 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
62 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 74 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
63 } | 75 } |
64 } | 76 } |
65 } | 77 } |
OLD | NEW |