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