Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / voice_engine / BUILD.gn
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
9 import("../build/webrtc.gni")
10
11 source_set("voice_engine") {
12
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   configs += [ "..:common_config" ]
88   public_configs = [ "..:common_inherited_config" ]
89
90   if (is_clang) {
91     # Suppress warnings from Chrome's Clang plugins.
92     # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
93     configs -= [ "//build/config/clang:find_bad_constructs" ]
94   }
95
96   deps = [
97     "../common_audio",
98     "../modules/audio_coding",
99     "../modules/audio_conference_mixer",
100     "../modules/audio_device",
101     "../modules/audio_processing",
102     "../modules/bitrate_controller",
103     "../modules/media_file",
104     "../modules/rtp_rtcp",
105     "../modules/utility",
106     "../system_wrappers",
107   ]
108 }