blob: a266ae43fc3caa278ac7391d5616321acadd2530 [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
ehmaldonado38a21322016-09-02 04:10:34 -07009import("../../build/webrtc.gni")
10
aleloi77ad3942016-07-04 06:33:02 -070011config("audio_conference_mixer_config") {
aleloi5d167d62016-08-24 02:20:54 -070012 include_dirs = [ "../../modules/include" ]
aleloi77ad3942016-07-04 06:33:02 -070013}
14
ehmaldonado38a21322016-09-02 04:10:34 -070015rtc_source_set("audio_mixer") {
aleloi77ad3942016-07-04 06:33:02 -070016 sources = [
aleloi5bcc00e2016-08-15 03:01:31 -070017 "audio_frame_manipulator.cc",
18 "audio_frame_manipulator.h",
aleloi5d167d62016-08-24 02:20:54 -070019 "audio_mixer.h",
aleloi5bcc00e2016-08-15 03:01:31 -070020 "audio_mixer_defines.h",
aleloi5d167d62016-08-24 02:20:54 -070021 "audio_mixer_impl.cc",
22 "audio_mixer_impl.h",
aleloi77ad3942016-07-04 06:33:02 -070023 ]
24
aleloi44968092016-08-08 10:18:58 -070025 public = [
aleloi5bcc00e2016-08-15 03:01:31 -070026 "audio_mixer_defines.h",
aleloi5d167d62016-08-24 02:20:54 -070027 "audio_mixer.h",
aleloi44968092016-08-08 10:18:58 -070028 ]
29
ehmaldonadoe9cc6862016-09-05 06:10:18 -070030 public_configs = [ ":audio_conference_mixer_config" ]
aleloi77ad3942016-07-04 06:33:02 -070031
32 if (is_clang) {
33 # Suppress warnings from Chrome's Clang plugins.
34 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -070035 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
aleloi77ad3942016-07-04 06:33:02 -070036 }
37
38 deps = [
aleloi70f866c2016-08-16 02:15:49 -070039 "../..:webrtc_common",
aleloi8b2233f2016-07-28 06:24:14 -070040 "../../base:rtc_base_approved",
aleloi77ad3942016-07-04 06:33:02 -070041 "../../modules/audio_processing",
42 "../../modules/utility",
43 "../../system_wrappers",
aleloi616df1e2016-08-24 01:17:12 -070044 "../../voice_engine:level_indicator",
aleloi77ad3942016-07-04 06:33:02 -070045 ]
46}