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

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

Issue 2834643002: audioproc_f with simulated mic analog gain (Closed)
Patch Set: fake rec device boilerplate reduced, aec dump simulated analog gain logic moved Created 3 years, 6 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 f24abbbc8b5d5bfcb743ebda5275445cf9aee74b..1e8cfbabe3167c5f0894861d78dd1c1289f946a4 100644
--- a/webrtc/modules/audio_processing/BUILD.gn
+++ b/webrtc/modules/audio_processing/BUILD.gn
@@ -525,6 +525,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",
@@ -547,6 +548,7 @@ if (rtc_include_tests) {
]
deps = [
+ ":analog_mic_simulation",
":audio_processing",
":audioproc_test_utils",
"..:module_api",
@@ -705,6 +707,16 @@ if (rtc_include_tests) {
}
}
+ rtc_source_set("analog_mic_simulation") {
+ sources = [
+ "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
@@ -739,6 +751,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