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

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

Issue 1877713002: Replaced the data logging functionality in the AEC with a generic logging functionality (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase with latest master Created 4 years, 8 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
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/aec/aec_core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/BUILD.gn
diff --git a/webrtc/modules/audio_processing/BUILD.gn b/webrtc/modules/audio_processing/BUILD.gn
index a3434836d84d9068b739d4c089d90051a80f493a..c18c1d80cfe054063253707ad24d3dede9b647bd 100644
--- a/webrtc/modules/audio_processing/BUILD.gn
+++ b/webrtc/modules/audio_processing/BUILD.gn
@@ -81,9 +81,8 @@ source_set("audio_processing") {
"intelligibility/intelligibility_utils.h",
"level_estimator_impl.cc",
"level_estimator_impl.h",
- "logging/aec_logging.h",
- "logging/aec_logging_file_handling.cc",
- "logging/aec_logging_file_handling.h",
+ "logging/apm_data_dumper.cc",
+ "logging/apm_data_dumper.h",
"noise_suppression_impl.cc",
"noise_suppression_impl.h",
"render_queue_item_verifier.h",
@@ -149,7 +148,9 @@ source_set("audio_processing") {
]
if (aec_debug_dump) {
- defines += [ "WEBRTC_AEC_DEBUG_DUMP" ]
+ defines += [ "WEBRTC_AEC_DEBUG_DUMP=1" ]
+ } else {
+ defines += [ "WEBRTC_AEC_DEBUG_DUMP=0" ]
}
if (aec_untrusted_delay_for_testing) {
@@ -250,6 +251,12 @@ if (current_cpu == "x86" || current_cpu == "x64") {
configs += [ "../..:common_config" ]
public_configs = [ "../..:common_inherited_config" ]
+
+ if (aec_debug_dump) {
+ defines = [ "WEBRTC_AEC_DEBUG_DUMP=1" ]
+ } else {
+ defines = [ "WEBRTC_AEC_DEBUG_DUMP=0" ]
+ }
}
}
@@ -285,5 +292,11 @@ if (rtc_build_with_neon) {
deps = [
"../../common_audio",
]
+
+ if (aec_debug_dump) {
+ defines = [ "WEBRTC_AEC_DEBUG_DUMP=1" ]
+ } else {
+ defines = [ "WEBRTC_AEC_DEBUG_DUMP=0" ]
+ }
}
}
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/aec/aec_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698