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/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("../webrtc.gni") | 10 import("../webrtc.gni") |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 if (!build_with_chromium && is_clang) { | 97 if (!build_with_chromium && is_clang) { |
98 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 98 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
99 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 99 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
100 } | 100 } |
101 | 101 |
102 if (current_cpu == "x86" || current_cpu == "x64") { | 102 if (current_cpu == "x86" || current_cpu == "x64") { |
103 deps += [ ":common_audio_sse2" ] | 103 deps += [ ":common_audio_sse2" ] |
104 } | 104 } |
105 } | 105 } |
106 | 106 |
| 107 rtc_source_set("mock_common_audio") { |
| 108 testonly = true |
| 109 sources = [ |
| 110 "mocks/mock_smoothing_filter.h", |
| 111 "vad/mock/mock_vad.h", |
| 112 ] |
| 113 deps = [ |
| 114 ":common_audio", |
| 115 "../test:test_support", |
| 116 ] |
| 117 } |
| 118 |
107 rtc_source_set("common_audio_c_arm_asm") { | 119 rtc_source_set("common_audio_c_arm_asm") { |
108 visibility = [ ":*" ] # Only targets in this file can depend on this. | 120 visibility = [ ":*" ] # Only targets in this file can depend on this. |
109 sources = [] | 121 sources = [] |
110 if (current_cpu == "arm") { | 122 if (current_cpu == "arm") { |
111 sources += [ | 123 sources += [ |
112 "signal_processing/complex_bit_reverse_arm.S", | 124 "signal_processing/complex_bit_reverse_arm.S", |
113 "signal_processing/spl_sqrt_floor_arm.S", | 125 "signal_processing/spl_sqrt_floor_arm.S", |
114 ] | 126 ] |
115 | 127 |
116 if (arm_version >= 7) { | 128 if (arm_version >= 7) { |
(...skipping 20 matching lines...) Expand all Loading... |
137 "signal_processing/downsample_fast.c", | 149 "signal_processing/downsample_fast.c", |
138 "signal_processing/energy.c", | 150 "signal_processing/energy.c", |
139 "signal_processing/filter_ar.c", | 151 "signal_processing/filter_ar.c", |
140 "signal_processing/filter_ma_fast_q12.c", | 152 "signal_processing/filter_ma_fast_q12.c", |
141 "signal_processing/get_hanning_window.c", | 153 "signal_processing/get_hanning_window.c", |
142 "signal_processing/get_scaling_square.c", | 154 "signal_processing/get_scaling_square.c", |
143 "signal_processing/ilbc_specific_functions.c", | 155 "signal_processing/ilbc_specific_functions.c", |
144 "signal_processing/include/real_fft.h", | 156 "signal_processing/include/real_fft.h", |
145 "signal_processing/include/signal_processing_library.h", | 157 "signal_processing/include/signal_processing_library.h", |
146 "signal_processing/include/spl_inl.h", | 158 "signal_processing/include/spl_inl.h", |
| 159 "signal_processing/include/spl_inl_armv7.h", |
147 "signal_processing/levinson_durbin.c", | 160 "signal_processing/levinson_durbin.c", |
148 "signal_processing/lpc_to_refl_coef.c", | 161 "signal_processing/lpc_to_refl_coef.c", |
149 "signal_processing/min_max_operations.c", | 162 "signal_processing/min_max_operations.c", |
150 "signal_processing/randomization_functions.c", | 163 "signal_processing/randomization_functions.c", |
151 "signal_processing/real_fft.c", | 164 "signal_processing/real_fft.c", |
152 "signal_processing/refl_coef_to_lpc.c", | 165 "signal_processing/refl_coef_to_lpc.c", |
153 "signal_processing/resample.c", | 166 "signal_processing/resample.c", |
154 "signal_processing/resample_48khz.c", | 167 "signal_processing/resample_48khz.c", |
155 "signal_processing/resample_by_2.c", | 168 "signal_processing/resample_by_2.c", |
156 "signal_processing/resample_by_2_internal.c", | 169 "signal_processing/resample_by_2_internal.c", |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 "//testing/gtest", | 423 "//testing/gtest", |
411 ] | 424 ] |
412 | 425 |
413 if (is_android) { | 426 if (is_android) { |
414 deps += [ "//testing/android/native_test:native_test_support" ] | 427 deps += [ "//testing/android/native_test:native_test_support" ] |
415 | 428 |
416 shard_timeout = 900 | 429 shard_timeout = 900 |
417 } | 430 } |
418 } | 431 } |
419 } | 432 } |
OLD | NEW |