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

Unified Diff: webrtc/modules/audio_processing/BUILD.gn

Issue 2834643002: audioproc_f with simulated mic analog gain (Closed)
Patch Set: FakeRecordingDevice: API simplified, UTs adapted Created 3 years, 7 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
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",

Powered by Google App Engine
This is Rietveld 408576698