blob: 62386f55b0c7080631d111aaddebbed09d830b26 [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",
17 "dtmf_inband.cc",
18 "dtmf_inband.h",
19 "dtmf_inband_queue.cc",
20 "dtmf_inband_queue.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000021 "include/voe_audio_processing.h",
22 "include/voe_base.h",
23 "include/voe_codec.h",
24 "include/voe_dtmf.h",
25 "include/voe_errors.h",
26 "include/voe_external_media.h",
27 "include/voe_file.h",
28 "include/voe_hardware.h",
29 "include/voe_neteq_stats.h",
30 "include/voe_network.h",
31 "include/voe_rtp_rtcp.h",
32 "include/voe_video_sync.h",
33 "include/voe_volume_control.h",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000034 "level_indicator.cc",
35 "level_indicator.h",
36 "monitor_module.cc",
37 "monitor_module.h",
38 "network_predictor.cc",
39 "network_predictor.h",
40 "output_mixer.cc",
41 "output_mixer.h",
42 "shared_data.cc",
43 "shared_data.h",
44 "statistics.cc",
45 "statistics.h",
46 "transmit_mixer.cc",
47 "transmit_mixer.h",
48 "utility.cc",
49 "utility.h",
50 "voe_audio_processing_impl.cc",
51 "voe_audio_processing_impl.h",
52 "voe_base_impl.cc",
53 "voe_base_impl.h",
54 "voe_codec_impl.cc",
55 "voe_codec_impl.h",
56 "voe_dtmf_impl.cc",
57 "voe_dtmf_impl.h",
58 "voe_external_media_impl.cc",
59 "voe_external_media_impl.h",
60 "voe_file_impl.cc",
61 "voe_file_impl.h",
62 "voe_hardware_impl.cc",
63 "voe_hardware_impl.h",
64 "voe_neteq_stats_impl.cc",
65 "voe_neteq_stats_impl.h",
66 "voe_network_impl.cc",
67 "voe_network_impl.h",
68 "voe_rtp_rtcp_impl.cc",
69 "voe_rtp_rtcp_impl.h",
70 "voe_video_sync_impl.cc",
71 "voe_video_sync_impl.h",
72 "voe_volume_control_impl.cc",
73 "voe_volume_control_impl.h",
74 "voice_engine_defines.h",
75 "voice_engine_impl.cc",
76 "voice_engine_impl.h",
77 ]
78
79 if (is_win) {
80 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ]
kjellander@webrtc.org8649fed2015-01-08 21:22:01 +000081
82 cflags = [
83 # TODO(kjellander): Bug 261: fix this warning.
84 "/wd4373", # virtual function override.
85 ]
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000086 }
87
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000088 configs += [ "..:common_config" ]
89 public_configs = [ "..:common_inherited_config" ]
90
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000091 if (is_clang) {
92 # Suppress warnings from Chrome's Clang plugins.
93 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
94 configs -= [ "//build/config/clang:find_bad_constructs" ]
95 }
96
97 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000098 "..:webrtc_common",
kjellander@webrtc.org524b8f72014-08-31 20:32:53 +000099 "../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}