• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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") {
12  sources = [
13    "channel.cc",
14    "channel.h",
15    "channel_manager.cc",
16    "channel_manager.h",
17    "channel_proxy.cc",
18    "channel_proxy.h",
19    "dtmf_inband.cc",
20    "dtmf_inband.h",
21    "dtmf_inband_queue.cc",
22    "dtmf_inband_queue.h",
23    "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",
36    "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" ]
83
84    cflags = [
85      # TODO(kjellander): Bug 261: fix this warning.
86      "/wd4373",  # virtual function override.
87    ]
88  }
89
90  configs += [ "..:common_config" ]
91  public_configs = [ "..:common_inherited_config" ]
92
93  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 = [
100    "..:rtc_event_log",
101    "..:webrtc_common",
102    "../common_audio",
103    "../modules/audio_coding",
104    "../modules/audio_conference_mixer",
105    "../modules/audio_device",
106    "../modules/audio_processing",
107    "../modules/bitrate_controller",
108    "../modules/media_file",
109    "../modules/pacing",
110    "../modules/rtp_rtcp",
111    "../modules/utility",
112    "../system_wrappers",
113  ]
114}
115