| 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 config("audio_conference_mixer_config") { | 9 config("audio_conference_mixer_config") { |
| 10 visibility = [ ":*" ] # Only targets in this file can depend on this. | 10 include_dirs = [ "../../modules/include" ] |
| 11 include_dirs = [ | |
| 12 "include", | |
| 13 "../../modules/include", | |
| 14 ] | |
| 15 } | 11 } |
| 16 | 12 |
| 17 source_set("audio_mixer") { | 13 source_set("audio_mixer") { |
| 18 sources = [ | 14 sources = [ |
| 19 "audio_mixer.cc", | |
| 20 "audio_mixer.h", | |
| 21 ] | |
| 22 deps = [ | |
| 23 ":audio_conference_mixer", | |
| 24 "../../voice_engine:voice_engine", | |
| 25 ] | |
| 26 | |
| 27 if (is_win) { | |
| 28 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ] | |
| 29 | |
| 30 cflags = [ | |
| 31 # TODO(kjellander): Bug 261: fix this warning. | |
| 32 "/wd4373", # virtual function override. | |
| 33 ] | |
| 34 } | |
| 35 | |
| 36 configs += [ "../..:common_config" ] | |
| 37 public_configs = [ "../..:common_inherited_config" ] | |
| 38 | |
| 39 if (is_clang) { | |
| 40 # Suppress warnings from Chrome's Clang plugins. | |
| 41 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
| 42 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
| 43 } | |
| 44 } | |
| 45 | |
| 46 source_set("audio_conference_mixer") { | |
| 47 sources = [ | |
| 48 "audio_frame_manipulator.cc", | 15 "audio_frame_manipulator.cc", |
| 49 "audio_frame_manipulator.h", | 16 "audio_frame_manipulator.h", |
| 17 "audio_mixer.h", |
| 50 "audio_mixer_defines.h", | 18 "audio_mixer_defines.h", |
| 51 "new_audio_conference_mixer.h", | 19 "audio_mixer_impl.cc", |
| 52 "new_audio_conference_mixer_impl.cc", | 20 "audio_mixer_impl.h", |
| 53 "new_audio_conference_mixer_impl.h", | |
| 54 ] | 21 ] |
| 55 | 22 |
| 56 public = [ | 23 public = [ |
| 57 "audio_mixer_defines.h", | 24 "audio_mixer_defines.h", |
| 58 "new_audio_conference_mixer.h", | 25 "audio_mixer.h", |
| 59 ] | 26 ] |
| 60 | 27 |
| 61 configs += [ "../..:common_config" ] | 28 configs += [ "../..:common_config" ] |
| 62 | 29 |
| 63 public_configs = [ | 30 public_configs = [ |
| 64 "../..:common_inherited_config", | 31 "../..:common_inherited_config", |
| 65 ":audio_conference_mixer_config", | 32 ":audio_conference_mixer_config", |
| 66 ] | 33 ] |
| 67 | 34 |
| 68 if (is_clang) { | 35 if (is_clang) { |
| 69 # Suppress warnings from Chrome's Clang plugins. | 36 # Suppress warnings from Chrome's Clang plugins. |
| 70 # 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. |
| 71 configs -= [ "//build/config/clang:find_bad_constructs" ] | 38 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 72 } | 39 } |
| 73 | 40 |
| 74 deps = [ | 41 deps = [ |
| 75 "../..:webrtc_common", | 42 "../..:webrtc_common", |
| 76 "../../base:rtc_base_approved", | 43 "../../base:rtc_base_approved", |
| 77 "../../modules/audio_processing", | 44 "../../modules/audio_processing", |
| 78 "../../modules/utility", | 45 "../../modules/utility", |
| 79 "../../system_wrappers", | 46 "../../system_wrappers", |
| 80 "../../voice_engine:level_indicator", | 47 "../../voice_engine:level_indicator", |
| 81 ] | 48 ] |
| 82 } | 49 } |
| OLD | NEW |