blob: 13104c6c86d00c18974f32ff59ad0cb5a31d4a06 [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +00001# Copyright (c) 2014 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("voice_engine") {
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000012 sources = [
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020013 "channel.cc",
14 "channel.h",
15 "channel_manager.cc",
16 "channel_manager.h",
solenberg13725082015-11-25 08:16:52 -080017 "channel_proxy.cc",
18 "channel_proxy.h",
Henrik Kjellander57e5fd22015-05-25 12:55:39 +020019 "dtmf_inband.cc",
20 "dtmf_inband.h",
21 "dtmf_inband_queue.cc",
22 "dtmf_inband_queue.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000023 "include/voe_audio_processing.h",
24 "include/voe_base.h",
25 "include/voe_codec.h",
26 "include/voe_dtmf.h",
27 "include/voe_errors.h",
28 "include/voe_external_media.h",
29 "include/voe_file.h",
30 "include/voe_hardware.h",
31 "include/voe_neteq_stats.h",
32 "include/voe_network.h",
33 "include/voe_rtp_rtcp.h",
34 "include/voe_video_sync.h",
35 "include/voe_volume_control.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000036 "level_indicator.cc",
37 "level_indicator.h",
38 "monitor_module.cc",
39 "monitor_module.h",
40 "network_predictor.cc",
41 "network_predictor.h",
42 "output_mixer.cc",
43 "output_mixer.h",
44 "shared_data.cc",
45 "shared_data.h",
46 "statistics.cc",
47 "statistics.h",
48 "transmit_mixer.cc",
49 "transmit_mixer.h",
50 "utility.cc",
51 "utility.h",
52 "voe_audio_processing_impl.cc",
53 "voe_audio_processing_impl.h",
54 "voe_base_impl.cc",
55 "voe_base_impl.h",
56 "voe_codec_impl.cc",
57 "voe_codec_impl.h",
58 "voe_dtmf_impl.cc",
59 "voe_dtmf_impl.h",
60 "voe_external_media_impl.cc",
61 "voe_external_media_impl.h",
62 "voe_file_impl.cc",
63 "voe_file_impl.h",
64 "voe_hardware_impl.cc",
65 "voe_hardware_impl.h",
66 "voe_neteq_stats_impl.cc",
67 "voe_neteq_stats_impl.h",
68 "voe_network_impl.cc",
69 "voe_network_impl.h",
70 "voe_rtp_rtcp_impl.cc",
71 "voe_rtp_rtcp_impl.h",
72 "voe_video_sync_impl.cc",
73 "voe_video_sync_impl.h",
74 "voe_volume_control_impl.cc",
75 "voe_volume_control_impl.h",
76 "voice_engine_defines.h",
77 "voice_engine_impl.cc",
78 "voice_engine_impl.h",
79 ]
80
81 if (is_win) {
82 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ]
kjellander@webrtc.org8649fed2015-01-08 21:22:01 +000083
84 cflags = [
85 # TODO(kjellander): Bug 261: fix this warning.
86 "/wd4373", # virtual function override.
87 ]
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000088 }
89
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000090 configs += [ "..:common_config" ]
91 public_configs = [ "..:common_inherited_config" ]
92
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000093 if (is_clang) {
94 # Suppress warnings from Chrome's Clang plugins.
95 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
96 configs -= [ "//build/config/clang:find_bad_constructs" ]
97 }
98
99 deps = [
ivocb04965c2015-09-09 00:09:43 -0700100 "..:rtc_event_log",
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000101 "..:webrtc_common",
kjellander@webrtc.org7ffeab52016-02-26 22:46:09 +0100102 "../base:rtc_base_approved",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000103 "../common_audio",
104 "../modules/audio_coding",
105 "../modules/audio_conference_mixer",
106 "../modules/audio_device",
107 "../modules/audio_processing",
108 "../modules/bitrate_controller",
109 "../modules/media_file",
Stefan Holmerb86d4e42015-12-07 10:26:18 +0100110 "../modules/pacing",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +0000111 "../modules/rtp_rtcp",
112 "../modules/utility",
113 "../system_wrappers",
114 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000115}