blob: 471156ff36c58172d3d52219e20922eda46ba248 [file] [log] [blame]
aleloi77ad3942016-07-04 06:33:02 -07001# 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
9config("audio_conference_mixer_config") {
10 visibility = [ ":*" ] # Only targets in this file can depend on this.
11 include_dirs = [
12 "include",
13 "../../modules/include",
14 ]
15}
16
17source_set("audio_mixer") {
18 sources = [
19 "audio_mixer.cc",
20 "audio_mixer.h",
21 ]
22 deps = [
23 ":audio_conference_mixer",
24 "../../voice_engine:voice_engine",
25 ]
26
27 if (is_win) {
28 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ]
29
30 cflags = [
31 # TODO(kjellander): Bug 261: fix this warning.
32 "/wd4373", # virtual function override.
33 ]
34 }
35
36 configs += [ "../..:common_config" ]
37 public_configs = [ "../..:common_inherited_config" ]
38
39 if (is_clang) {
40 # Suppress warnings from Chrome's Clang plugins.
41 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
42 configs -= [ "//build/config/clang:find_bad_constructs" ]
43 }
44}
45
46source_set("audio_conference_mixer") {
47 sources = [
48 "include/audio_mixer_defines.h",
49 "include/new_audio_conference_mixer.h",
50 "source/new_audio_conference_mixer_impl.cc",
51 "source/new_audio_conference_mixer_impl.h",
52 ]
53
aleloi44968092016-08-08 10:18:58 -070054 public = [
55 "include/audio_mixer_defines.h",
56 "include/new_audio_conference_mixer.h",
57 ]
58
aleloi77ad3942016-07-04 06:33:02 -070059 configs += [ "../..:common_config" ]
60
61 public_configs = [
62 "../..:common_inherited_config",
63 ":audio_conference_mixer_config",
64 ]
65
66 if (is_clang) {
67 # Suppress warnings from Chrome's Clang plugins.
68 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
69 configs -= [ "//build/config/clang:find_bad_constructs" ]
70 }
71
72 deps = [
aleloi8b2233f2016-07-28 06:24:14 -070073 "../../base:rtc_base_approved",
aleloi77ad3942016-07-04 06:33:02 -070074 "../../modules/audio_processing",
75 "../../modules/utility",
76 "../../system_wrappers",
77 ]
78}