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