blob: 54da9ad3fc0ca54cba75bd13d4481288366f1674 [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
13 sources = [
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000014 "include/voe_audio_processing.h",
15 "include/voe_base.h",
16 "include/voe_codec.h",
17 "include/voe_dtmf.h",
18 "include/voe_errors.h",
19 "include/voe_external_media.h",
20 "include/voe_file.h",
21 "include/voe_hardware.h",
22 "include/voe_neteq_stats.h",
23 "include/voe_network.h",
24 "include/voe_rtp_rtcp.h",
25 "include/voe_video_sync.h",
26 "include/voe_volume_control.h",
27 "channel.cc",
28 "channel.h",
29 "channel_manager.cc",
30 "channel_manager.h",
31 "dtmf_inband.cc",
32 "dtmf_inband.h",
33 "dtmf_inband_queue.cc",
34 "dtmf_inband_queue.h",
35 "level_indicator.cc",
36 "level_indicator.h",
37 "monitor_module.cc",
38 "monitor_module.h",
39 "network_predictor.cc",
40 "network_predictor.h",
41 "output_mixer.cc",
42 "output_mixer.h",
43 "shared_data.cc",
44 "shared_data.h",
45 "statistics.cc",
46 "statistics.h",
47 "transmit_mixer.cc",
48 "transmit_mixer.h",
49 "utility.cc",
50 "utility.h",
51 "voe_audio_processing_impl.cc",
52 "voe_audio_processing_impl.h",
53 "voe_base_impl.cc",
54 "voe_base_impl.h",
55 "voe_codec_impl.cc",
56 "voe_codec_impl.h",
57 "voe_dtmf_impl.cc",
58 "voe_dtmf_impl.h",
59 "voe_external_media_impl.cc",
60 "voe_external_media_impl.h",
61 "voe_file_impl.cc",
62 "voe_file_impl.h",
63 "voe_hardware_impl.cc",
64 "voe_hardware_impl.h",
65 "voe_neteq_stats_impl.cc",
66 "voe_neteq_stats_impl.h",
67 "voe_network_impl.cc",
68 "voe_network_impl.h",
69 "voe_rtp_rtcp_impl.cc",
70 "voe_rtp_rtcp_impl.h",
71 "voe_video_sync_impl.cc",
72 "voe_video_sync_impl.h",
73 "voe_volume_control_impl.cc",
74 "voe_volume_control_impl.h",
75 "voice_engine_defines.h",
76 "voice_engine_impl.cc",
77 "voice_engine_impl.h",
78 ]
79
80 if (is_win) {
81 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ]
kjellander@webrtc.org8649fed2015-01-08 21:22:01 +000082
83 cflags = [
84 # TODO(kjellander): Bug 261: fix this warning.
85 "/wd4373", # virtual function override.
86 ]
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000087 }
88
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000089 configs += [ "..:common_config" ]
90 public_configs = [ "..:common_inherited_config" ]
91
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000092 if (is_clang) {
93 # Suppress warnings from Chrome's Clang plugins.
94 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
95 configs -= [ "//build/config/clang:find_bad_constructs" ]
96 }
97
98 deps = [
99 "../common_audio",
100 "../modules/audio_coding",
101 "../modules/audio_conference_mixer",
102 "../modules/audio_device",
103 "../modules/audio_processing",
104 "../modules/bitrate_controller",
105 "../modules/media_file",
106 "../modules/rtp_rtcp",
107 "../modules/utility",
108 "../system_wrappers",
109 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000110}