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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_audio/BUILD.gn
diff --git a/webrtc/common_audio/BUILD.gn b/webrtc/common_audio/BUILD.gn
index 6162793a6d38b54711e976dc1b2c968fa55ab5d1..4367a0b242a1e91b557440e165b82181d969ca55 100644
--- a/webrtc/common_audio/BUILD.gn
+++ b/webrtc/common_audio/BUILD.gn
@@ -116,7 +116,6 @@ rtc_source_set("common_audio_c") {
"signal_processing/copy_set_operations.c",
"signal_processing/cross_correlation.c",
"signal_processing/division_operations.c",
- "signal_processing/dot_product_with_scale.c",
"signal_processing/downsample_fast.c",
"signal_processing/energy.c",
"signal_processing/filter_ar.c",
@@ -203,6 +202,22 @@ rtc_source_set("common_audio_c") {
public_configs = [ ":common_audio_config" ]
deps = [
+ ":common_audio_cc",
+ "..:webrtc_common",
+ "../base:rtc_base_approved",
+ "../system_wrappers:system_wrappers",
+ ]
+}
+
+rtc_source_set("common_audio_cc") {
+ visibility = [ ":*" ] # Only targets in this file can depend on this.
+ sources = [
+ "signal_processing/dot_product_with_scale.cc",
+ "signal_processing/dot_product_with_scale.h",
+ ]
+
+ public_configs = [ ":common_audio_config" ]
+ deps = [
"..:webrtc_common",
"../base:rtc_base_approved",
"../system_wrappers:system_wrappers",
« 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