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 public_configs = [ | 30 public_configs = [ ":audio_conference_mixer_config" ] |
31 "../..:common_inherited_config", | |
32 ":audio_conference_mixer_config", | |
33 ] | |
34 | 31 |
35 if (is_clang) { | 32 if (is_clang) { |
36 # Suppress warnings from Chrome's Clang plugins. | 33 # Suppress warnings from Chrome's Clang plugins. |
37 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 34 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
38 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 35 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
39 } | 36 } |
40 | 37 |
41 deps = [ | 38 deps = [ |
42 "../..:webrtc_common", | 39 "../..:webrtc_common", |
43 "../../base:rtc_base_approved", | 40 "../../base:rtc_base_approved", |
44 "../../modules/audio_processing", | 41 "../../modules/audio_processing", |
45 "../../modules/utility", | 42 "../../modules/utility", |
46 "../../system_wrappers", | 43 "../../system_wrappers", |
47 "../../voice_engine:level_indicator", | 44 "../../voice_engine:level_indicator", |
48 ] | 45 ] |
49 } | 46 } |
OLD | NEW |