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 visibility = [ ":*" ] # Only targets in this file can depend on this. | 12 visibility = [ ":*" ] # Only targets in this file can depend on this. |
11 include_dirs = [ | 13 include_dirs = [ |
12 "include", | 14 "include", |
13 "../include", | 15 "../include", |
14 ] | 16 ] |
15 } | 17 } |
16 | 18 |
17 source_set("audio_conference_mixer") { | 19 rtc_source_set("audio_conference_mixer") { |
18 sources = [ | 20 sources = [ |
19 "include/audio_conference_mixer.h", | 21 "include/audio_conference_mixer.h", |
20 "include/audio_conference_mixer_defines.h", | 22 "include/audio_conference_mixer_defines.h", |
21 "source/audio_conference_mixer_impl.cc", | 23 "source/audio_conference_mixer_impl.cc", |
22 "source/audio_conference_mixer_impl.h", | 24 "source/audio_conference_mixer_impl.h", |
23 "source/audio_frame_manipulator.cc", | 25 "source/audio_frame_manipulator.cc", |
24 "source/audio_frame_manipulator.h", | 26 "source/audio_frame_manipulator.h", |
25 "source/memory_pool.h", | 27 "source/memory_pool.h", |
26 "source/memory_pool_posix.h", | 28 "source/memory_pool_posix.h", |
27 "source/memory_pool_win.h", | 29 "source/memory_pool_win.h", |
28 "source/time_scheduler.cc", | 30 "source/time_scheduler.cc", |
29 "source/time_scheduler.h", | 31 "source/time_scheduler.h", |
30 ] | 32 ] |
31 | 33 |
32 configs += [ "../..:common_config" ] | 34 configs += [ "../..:common_config" ] |
33 | 35 |
34 public_configs = [ | 36 public_configs = [ |
35 "../..:common_inherited_config", | 37 "../..:common_inherited_config", |
36 ":audio_conference_mixer_config", | 38 ":audio_conference_mixer_config", |
37 ] | 39 ] |
38 | 40 |
39 if (is_clang) { | 41 if (is_clang) { |
40 # Suppress warnings from Chrome's Clang plugins. | 42 # Suppress warnings from Chrome's Clang plugins. |
41 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 43 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
42 configs -= [ "//build/config/clang:find_bad_constructs" ] | 44 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
43 } | 45 } |
44 | 46 |
45 deps = [ | 47 deps = [ |
46 "../../system_wrappers", | 48 "../../system_wrappers", |
47 "../audio_processing", | 49 "../audio_processing", |
48 "../utility", | 50 "../utility", |
49 ] | 51 ] |
50 } | 52 } |
OLD | NEW |