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

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

Issue 2834643002: audioproc_f with simulated mic analog gain (Closed)
Patch Set: FakeRecordingDevice interface simplified, UTs fixes, logs verbosity-- 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..c1aee93b9b4daa7045f697c7172b58258e576108 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",
@@ -524,6 +525,7 @@ if (rtc_include_tests) {
deps = [
":audio_processing",
":audioproc_test_utils",
+ ":fake_recording_device",
"../..:webrtc_common",
"../../base:gtest_prod",
"../../base:protobuf_utils",
@@ -670,6 +672,16 @@ if (rtc_include_tests) {
}
}
+ rtc_source_set("fake_recording_device") {
peah-webrtc 2017/05/05 20:25:21 Is it really worthwhile having a separate build ta
aleloi 2017/05/08 09:46:49 I don't agree with 3) in this case. Having a modul
aleloi 2017/05/08 10:15:23 Additional arguments for modular targets: * GN wil
peah-webrtc 2017/05/08 11:41:33 You definitely have a great point in that it is go
aleloi 2017/05/08 12:40:49 Ok, I'm halfway convinced by your arguments :) Las
peah-webrtc 2017/05/08 13:06:37 In that case definitely modelarity would make even
AleBzk 2017/05/16 08:53:02 Thanks for the discussion :) Let's leave as it is,
peah-webrtc 2017/05/16 12:19:35 I'm not convinced with that usecase:-). Could you
+ 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
@@ -708,6 +720,7 @@ if (rtc_include_tests) {
":audioproc_debug_proto",
":audioproc_protobuf_utils",
":audioproc_test_utils",
+ ":fake_recording_device",
"../../base:protobuf_utils",
"../../base:rtc_base_approved",
"../../common_audio:common_audio",

Powered by Google App Engine
This is Rietveld 408576698