Index: webrtc/modules/audio_processing/BUILD.gn |
diff --git a/webrtc/modules/audio_processing/BUILD.gn b/webrtc/modules/audio_processing/BUILD.gn |
index 5686dc66908dced9a188cb2929b8cf2ee035667d..c37198e1b185735a58f65fa2971b0cad2ce7e319 100644 |
--- a/webrtc/modules/audio_processing/BUILD.gn |
+++ b/webrtc/modules/audio_processing/BUILD.gn |
@@ -500,6 +500,7 @@ if (rtc_include_tests) { |
"config_unittest.cc", |
"echo_cancellation_impl_unittest.cc", |
"splitting_filter_unittest.cc", |
+ "test/fake_recording_device_unittest.cc", |
"transient/dyadic_decimator_unittest.cc", |
"transient/file_utils.cc", |
"transient/file_utils.h", |
@@ -522,6 +523,7 @@ if (rtc_include_tests) { |
] |
deps = [ |
+ ":analog_mic_simulation", |
":audio_processing", |
":audioproc_test_utils", |
"../..:webrtc_common", |
@@ -670,6 +672,20 @@ if (rtc_include_tests) { |
} |
} |
+ rtc_source_set("analog_mic_simulation") { |
+ sources = [ |
+ "test/fake_rec_device_identity.cc", |
+ "test/fake_rec_device_identity.h", |
+ "test/fake_rec_device_linear.cc", |
+ "test/fake_rec_device_linear.h", |
+ "test/fake_recording_device.cc", |
+ "test/fake_recording_device.h", |
+ ] |
+ deps = [ |
+ "../../base:rtc_base_approved", |
+ ] |
+ } |
+ |
if (rtc_enable_protobuf) { |
rtc_executable("unpack_aecdump") { |
testonly = true |
@@ -704,6 +720,7 @@ if (rtc_include_tests) { |
] |
deps = [ |
+ ":analog_mic_simulation", |
":audio_processing", |
":audioproc_debug_proto", |
":audioproc_protobuf_utils", |