In order to ensure that the same code is run in the tests as is otherwise
run it is important that the same build flags are used in the code being tested. For the debugging functionality inside APM, that was not the case and this is corrected in this CL. This CL is chained to the CL https://codereview.webrtc.org/2300813004/ BUG=webrtc:5298 Review-Url: https://codereview.webrtc.org/2307563002 Cr-Commit-Position: refs/heads/master@{#14031}
This commit is contained in:
@ -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 += [
|
||||
|
||||
@ -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': [
|
||||
|
||||
Reference in New Issue
Block a user