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", |