OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 | 10 |
11 config("audio_conference_mixer_config") { | 11 config("audio_conference_mixer_config") { |
12 include_dirs = [ "../../modules/include" ] | 12 include_dirs = [ "../../modules/include" ] |
13 } | 13 } |
14 | 14 |
15 rtc_source_set("audio_mixer") { | 15 rtc_source_set("audio_mixer") { |
16 sources = [ | 16 sources = [ |
17 "audio_frame_manipulator.cc", | 17 "audio_frame_manipulator.cc", |
18 "audio_frame_manipulator.h", | 18 "audio_frame_manipulator.h", |
19 "audio_mixer.h", | 19 "audio_mixer.h", |
20 "audio_mixer_defines.h", | 20 "audio_mixer_defines.h", |
21 "audio_mixer_impl.cc", | 21 "audio_mixer_impl.cc", |
22 "audio_mixer_impl.h", | 22 "audio_mixer_impl.h", |
23 ] | 23 ] |
24 | 24 |
25 public = [ | 25 public = [ |
26 "audio_mixer_defines.h", | 26 "audio_mixer_defines.h", |
27 "audio_mixer.h", | 27 "audio_mixer.h", |
28 ] | 28 ] |
29 | 29 |
30 configs += [ "../..:common_config" ] | |
31 | |
32 public_configs = [ | 30 public_configs = [ |
33 "../..:common_inherited_config", | 31 "../..:common_inherited_config", |
34 ":audio_conference_mixer_config", | 32 ":audio_conference_mixer_config", |
35 ] | 33 ] |
36 | 34 |
37 if (is_clang) { | 35 if (is_clang) { |
38 # Suppress warnings from Chrome's Clang plugins. | 36 # Suppress warnings from Chrome's Clang plugins. |
39 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 37 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
40 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 38 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
41 } | 39 } |
42 | 40 |
43 deps = [ | 41 deps = [ |
44 "../..:webrtc_common", | 42 "../..:webrtc_common", |
45 "../../base:rtc_base_approved", | 43 "../../base:rtc_base_approved", |
46 "../../modules/audio_processing", | 44 "../../modules/audio_processing", |
47 "../../modules/utility", | 45 "../../modules/utility", |
48 "../../system_wrappers", | 46 "../../system_wrappers", |
49 "../../voice_engine:level_indicator", | 47 "../../voice_engine:level_indicator", |
50 ] | 48 ] |
51 } | 49 } |
OLD | NEW |