Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: webrtc/common_audio/BUILD.gn

Issue 2717123004: Avoid overflow in WebRtcSpl_DotProductWithScale (Closed)
Patch Set: Remove wd4334 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/common_audio/signal_processing/dot_product_with_scale.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 "fft4g.c", 109 "fft4g.c",
110 "fft4g.h", 110 "fft4g.h",
111 "ring_buffer.c", 111 "ring_buffer.c",
112 "ring_buffer.h", 112 "ring_buffer.h",
113 "signal_processing/auto_corr_to_refl_coef.c", 113 "signal_processing/auto_corr_to_refl_coef.c",
114 "signal_processing/auto_correlation.c", 114 "signal_processing/auto_correlation.c",
115 "signal_processing/complex_fft_tables.h", 115 "signal_processing/complex_fft_tables.h",
116 "signal_processing/copy_set_operations.c", 116 "signal_processing/copy_set_operations.c",
117 "signal_processing/cross_correlation.c", 117 "signal_processing/cross_correlation.c",
118 "signal_processing/division_operations.c", 118 "signal_processing/division_operations.c",
119 "signal_processing/dot_product_with_scale.c",
120 "signal_processing/downsample_fast.c", 119 "signal_processing/downsample_fast.c",
121 "signal_processing/energy.c", 120 "signal_processing/energy.c",
122 "signal_processing/filter_ar.c", 121 "signal_processing/filter_ar.c",
123 "signal_processing/filter_ma_fast_q12.c", 122 "signal_processing/filter_ma_fast_q12.c",
124 "signal_processing/get_hanning_window.c", 123 "signal_processing/get_hanning_window.c",
125 "signal_processing/get_scaling_square.c", 124 "signal_processing/get_scaling_square.c",
126 "signal_processing/ilbc_specific_functions.c", 125 "signal_processing/ilbc_specific_functions.c",
127 "signal_processing/include/real_fft.h", 126 "signal_processing/include/real_fft.h",
128 "signal_processing/include/signal_processing_library.h", 127 "signal_processing/include/signal_processing_library.h",
129 "signal_processing/include/spl_inl.h", 128 "signal_processing/include/spl_inl.h",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 "signal_processing/spl_sqrt_floor.c", 195 "signal_processing/spl_sqrt_floor.c",
197 ] 196 ]
198 } 197 }
199 198
200 if (is_win) { 199 if (is_win) {
201 cflags = [ "/wd4334" ] # Ignore warning on shift operator promotion. 200 cflags = [ "/wd4334" ] # Ignore warning on shift operator promotion.
202 } 201 }
203 202
204 public_configs = [ ":common_audio_config" ] 203 public_configs = [ ":common_audio_config" ]
205 deps = [ 204 deps = [
205 ":common_audio_cc",
206 "..:webrtc_common",
207 "../base:rtc_base_approved",
208 "../system_wrappers:system_wrappers",
209 ]
210 }
211
212 rtc_source_set("common_audio_cc") {
213 visibility = [ ":*" ] # Only targets in this file can depend on this.
214 sources = [
215 "signal_processing/dot_product_with_scale.cc",
216 "signal_processing/dot_product_with_scale.h",
217 ]
218
219 public_configs = [ ":common_audio_config" ]
220 deps = [
206 "..:webrtc_common", 221 "..:webrtc_common",
207 "../base:rtc_base_approved", 222 "../base:rtc_base_approved",
208 "../system_wrappers:system_wrappers", 223 "../system_wrappers:system_wrappers",
209 ] 224 ]
210 } 225 }
211 226
212 rtc_source_set("sinc_resampler") { 227 rtc_source_set("sinc_resampler") {
213 sources = [ 228 sources = [
214 "resampler/sinc_resampler.h", 229 "resampler/sinc_resampler.h",
215 ] 230 ]
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 "//testing/gtest", 402 "//testing/gtest",
388 ] 403 ]
389 404
390 if (is_android) { 405 if (is_android) {
391 deps += [ "//testing/android/native_test:native_test_support" ] 406 deps += [ "//testing/android/native_test:native_test_support" ]
392 407
393 shard_timeout = 900 408 shard_timeout = 900
394 } 409 }
395 } 410 }
396 } 411 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/common_audio/signal_processing/dot_product_with_scale.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698