aleloi | 77ad394 | 2016-07-04 06:33:02 -0700 | [diff] [blame] | 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 | |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame^] | 9 | import("../../build/webrtc.gni") |
| 10 | |
aleloi | 77ad394 | 2016-07-04 06:33:02 -0700 | [diff] [blame] | 11 | config("audio_conference_mixer_config") { |
aleloi | 5d167d6 | 2016-08-24 02:20:54 -0700 | [diff] [blame] | 12 | include_dirs = [ "../../modules/include" ] |
aleloi | 77ad394 | 2016-07-04 06:33:02 -0700 | [diff] [blame] | 13 | } |
| 14 | |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame^] | 15 | rtc_source_set("audio_mixer") { |
aleloi | 77ad394 | 2016-07-04 06:33:02 -0700 | [diff] [blame] | 16 | sources = [ |
aleloi | 5bcc00e | 2016-08-15 03:01:31 -0700 | [diff] [blame] | 17 | "audio_frame_manipulator.cc", |
| 18 | "audio_frame_manipulator.h", |
aleloi | 5d167d6 | 2016-08-24 02:20:54 -0700 | [diff] [blame] | 19 | "audio_mixer.h", |
aleloi | 5bcc00e | 2016-08-15 03:01:31 -0700 | [diff] [blame] | 20 | "audio_mixer_defines.h", |
aleloi | 5d167d6 | 2016-08-24 02:20:54 -0700 | [diff] [blame] | 21 | "audio_mixer_impl.cc", |
| 22 | "audio_mixer_impl.h", |
aleloi | 77ad394 | 2016-07-04 06:33:02 -0700 | [diff] [blame] | 23 | ] |
| 24 | |
aleloi | 4496809 | 2016-08-08 10:18:58 -0700 | [diff] [blame] | 25 | public = [ |
aleloi | 5bcc00e | 2016-08-15 03:01:31 -0700 | [diff] [blame] | 26 | "audio_mixer_defines.h", |
aleloi | 5d167d6 | 2016-08-24 02:20:54 -0700 | [diff] [blame] | 27 | "audio_mixer.h", |
aleloi | 4496809 | 2016-08-08 10:18:58 -0700 | [diff] [blame] | 28 | ] |
| 29 | |
aleloi | 77ad394 | 2016-07-04 06:33:02 -0700 | [diff] [blame] | 30 | 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. |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame^] | 40 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
aleloi | 77ad394 | 2016-07-04 06:33:02 -0700 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | deps = [ |
aleloi | 70f866c | 2016-08-16 02:15:49 -0700 | [diff] [blame] | 44 | "../..:webrtc_common", |
aleloi | 8b2233f | 2016-07-28 06:24:14 -0700 | [diff] [blame] | 45 | "../../base:rtc_base_approved", |
aleloi | 77ad394 | 2016-07-04 06:33:02 -0700 | [diff] [blame] | 46 | "../../modules/audio_processing", |
| 47 | "../../modules/utility", |
| 48 | "../../system_wrappers", |
aleloi | 616df1e | 2016-08-24 01:17:12 -0700 | [diff] [blame] | 49 | "../../voice_engine:level_indicator", |
aleloi | 77ad394 | 2016-07-04 06:33:02 -0700 | [diff] [blame] | 50 | ] |
| 51 | } |