| 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("../../webrtc.gni") | 9 import("../../webrtc.gni") |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 "default_output_rate_calculator.h", # For creating a mixer with limiter dis
abled. | 31 "default_output_rate_calculator.h", # For creating a mixer with limiter dis
abled. |
| 32 "frame_combiner.h", | 32 "frame_combiner.h", |
| 33 ] | 33 ] |
| 34 | 34 |
| 35 public_deps = [ | 35 public_deps = [ |
| 36 "../../api:audio_mixer_api", | 36 "../../api:audio_mixer_api", |
| 37 ] | 37 ] |
| 38 | 38 |
| 39 deps = [ | 39 deps = [ |
| 40 ":audio_frame_manipulator", | 40 ":audio_frame_manipulator", |
| 41 "..:module_api", | |
| 42 "../..:webrtc_common", | 41 "../..:webrtc_common", |
| 43 "../../audio/utility:audio_frame_operations", | 42 "../../audio/utility:audio_frame_operations", |
| 44 "../../base:rtc_base_approved", | 43 "../../base:rtc_base_approved", |
| 45 "../../system_wrappers", | 44 "../../system_wrappers", |
| 46 "../audio_processing", | 45 "../audio_processing", |
| 47 ] | 46 ] |
| 48 } | 47 } |
| 49 | 48 |
| 50 rtc_static_library("audio_frame_manipulator") { | 49 rtc_static_library("audio_frame_manipulator") { |
| 51 visibility = [ | 50 visibility = [ |
| 52 ":*", | 51 ":*", |
| 53 "../../modules:*", | 52 "../../modules:*", |
| 54 ] | 53 ] |
| 55 | 54 |
| 56 sources = [ | 55 sources = [ |
| 57 "audio_frame_manipulator.cc", | 56 "audio_frame_manipulator.cc", |
| 58 "audio_frame_manipulator.h", | 57 "audio_frame_manipulator.h", |
| 59 ] | 58 ] |
| 60 | 59 |
| 61 deps = [ | 60 deps = [ |
| 62 "..:module_api", | |
| 63 "../../audio/utility", | 61 "../../audio/utility", |
| 64 "../../base:rtc_base_approved", | 62 "../../base:rtc_base_approved", |
| 65 ] | 63 ] |
| 66 } | 64 } |
| 67 | 65 |
| 68 if (rtc_include_tests) { | 66 if (rtc_include_tests) { |
| 69 rtc_source_set("audio_mixer_unittests") { | 67 rtc_source_set("audio_mixer_unittests") { |
| 70 testonly = true | 68 testonly = true |
| 71 | 69 |
| 72 # Skip restricting visibility on mobile platforms since the tests on those | 70 # Skip restricting visibility on mobile platforms since the tests on those |
| 73 # gets additional generated targets which would require many lines here to | 71 # gets additional generated targets which would require many lines here to |
| 74 # cover (which would be confusing to read and hard to maintain). | 72 # cover (which would be confusing to read and hard to maintain). |
| 75 if (!is_android && !is_ios) { | 73 if (!is_android && !is_ios) { |
| 76 visibility = [ "//webrtc/modules:modules_unittests" ] | 74 visibility = [ "//webrtc/modules:modules_unittests" ] |
| 77 } | 75 } |
| 78 sources = [ | 76 sources = [ |
| 79 "audio_frame_manipulator_unittest.cc", | 77 "audio_frame_manipulator_unittest.cc", |
| 80 "audio_mixer_impl_unittest.cc", | 78 "audio_mixer_impl_unittest.cc", |
| 81 "frame_combiner_unittest.cc", | 79 "frame_combiner_unittest.cc", |
| 82 "gain_change_calculator.cc", | 80 "gain_change_calculator.cc", |
| 83 "gain_change_calculator.h", | 81 "gain_change_calculator.h", |
| 84 "sine_wave_generator.cc", | 82 "sine_wave_generator.cc", |
| 85 "sine_wave_generator.h", | 83 "sine_wave_generator.h", |
| 86 ] | 84 ] |
| 87 deps = [ | 85 deps = [ |
| 88 ":audio_frame_manipulator", | 86 ":audio_frame_manipulator", |
| 89 ":audio_mixer_impl", | 87 ":audio_mixer_impl", |
| 90 "..:module_api", | |
| 91 "../../api:audio_mixer_api", | 88 "../../api:audio_mixer_api", |
| 92 "../../audio/utility:audio_frame_operations", | 89 "../../audio/utility:audio_frame_operations", |
| 93 "../../base:rtc_base", | 90 "../../base:rtc_base", |
| 94 "../../base:rtc_base_approved", | 91 "../../base:rtc_base_approved", |
| 95 "../../test:test_support", | 92 "../../test:test_support", |
| 96 "//testing/gmock", | 93 "//testing/gmock", |
| 97 ] | 94 ] |
| 98 } | 95 } |
| 99 } | 96 } |
| OLD | NEW |