blob: 51fd785ee0d3d116d37607dd2b541dc593fe1ce7 [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
aleloi77ad3942016-07-04 06:33:02 -070030 configs += [ "../..:common_config" ]
31
32 public_configs = [
33 "../..:common_inherited_config",
34 ":audio_conference_mixer_config",
35 ]
36
37 if (is_clang) {
38 # Suppress warnings from Chrome's Clang plugins.
39 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -070040 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
aleloi77ad3942016-07-04 06:33:02 -070041 }
42
43 deps = [
aleloi70f866c2016-08-16 02:15:49 -070044 "../..:webrtc_common",
aleloi8b2233f2016-07-28 06:24:14 -070045 "../../base:rtc_base_approved",
aleloi77ad3942016-07-04 06:33:02 -070046 "../../modules/audio_processing",
47 "../../modules/utility",
48 "../../system_wrappers",
aleloi616df1e2016-08-24 01:17:12 -070049 "../../voice_engine:level_indicator",
aleloi77ad3942016-07-04 06:33:02 -070050 ]
51}