diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn index 92284a1da6..fb7b2c7254 100644 --- a/webrtc/modules/BUILD.gn +++ b/webrtc/modules/BUILD.gn @@ -477,6 +477,12 @@ if (rtc_include_tests) { "video_processing/test/video_processing_unittest.h", ] + if (apm_debug_dump) { + defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ] + } else { + defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ] + } + if (rtc_enable_intelligibility_enhancer) { defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] sources += [ diff --git a/webrtc/modules/modules.gyp b/webrtc/modules/modules.gyp index 16fb8188c2..3c36d5751b 100644 --- a/webrtc/modules/modules.gyp +++ b/webrtc/modules/modules.gyp @@ -396,6 +396,11 @@ 'video_processing/test/video_processing_unittest.h', ], 'conditions': [ + ['apm_debug_dump==1', { + 'defines': ['WEBRTC_APM_DEBUG_DUMP=1',], + }, { + 'defines': ['WEBRTC_APM_DEBUG_DUMP=0',], + }], ['enable_intelligibility_enhancer==1', { 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=1',], 'sources': [