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") |
| 10 |
9 config("audio_conference_mixer_config") { | 11 config("audio_conference_mixer_config") { |
10 include_dirs = [ "../../modules/include" ] | 12 include_dirs = [ "../../modules/include" ] |
11 } | 13 } |
12 | 14 |
13 source_set("audio_mixer") { | 15 rtc_source_set("audio_mixer") { |
14 sources = [ | 16 sources = [ |
15 "audio_frame_manipulator.cc", | 17 "audio_frame_manipulator.cc", |
16 "audio_frame_manipulator.h", | 18 "audio_frame_manipulator.h", |
17 "audio_mixer.h", | 19 "audio_mixer.h", |
18 "audio_mixer_defines.h", | 20 "audio_mixer_defines.h", |
19 "audio_mixer_impl.cc", | 21 "audio_mixer_impl.cc", |
20 "audio_mixer_impl.h", | 22 "audio_mixer_impl.h", |
21 ] | 23 ] |
22 | 24 |
23 public = [ | 25 public = [ |
24 "audio_mixer_defines.h", | 26 "audio_mixer_defines.h", |
25 "audio_mixer.h", | 27 "audio_mixer.h", |
26 ] | 28 ] |
27 | 29 |
28 configs += [ "../..:common_config" ] | 30 configs += [ "../..:common_config" ] |
29 | 31 |
30 public_configs = [ | 32 public_configs = [ |
31 "../..:common_inherited_config", | 33 "../..:common_inherited_config", |
32 ":audio_conference_mixer_config", | 34 ":audio_conference_mixer_config", |
33 ] | 35 ] |
34 | 36 |
35 if (is_clang) { | 37 if (is_clang) { |
36 # Suppress warnings from Chrome's Clang plugins. | 38 # Suppress warnings from Chrome's Clang plugins. |
37 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 39 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
38 configs -= [ "//build/config/clang:find_bad_constructs" ] | 40 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
39 } | 41 } |
40 | 42 |
41 deps = [ | 43 deps = [ |
42 "../..:webrtc_common", | 44 "../..:webrtc_common", |
43 "../../base:rtc_base_approved", | 45 "../../base:rtc_base_approved", |
44 "../../modules/audio_processing", | 46 "../../modules/audio_processing", |
45 "../../modules/utility", | 47 "../../modules/utility", |
46 "../../system_wrappers", | 48 "../../system_wrappers", |
47 "../../voice_engine:level_indicator", | 49 "../../voice_engine:level_indicator", |
48 ] | 50 ] |
49 } | 51 } |
OLD | NEW |