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