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

Unified Diff: webrtc/modules/audio_processing/audio_processing_tests.gypi

Issue 2272423003: Deactivated the intelligibility enhancement functionality by default (Closed)
Patch Set: Put conditional building on the intelligibility_proc executable Created 4 years, 4 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/audio_processing_tests.gypi
diff --git a/webrtc/modules/audio_processing/audio_processing_tests.gypi b/webrtc/modules/audio_processing/audio_processing_tests.gypi
index 87598edeef45fbec8aa99264433d6c6dc973b2e8..e5b4c02ef02478b963663694d5e334b7d98bedca 100644
--- a/webrtc/modules/audio_processing/audio_processing_tests.gypi
+++ b/webrtc/modules/audio_processing/audio_processing_tests.gypi
@@ -61,22 +61,29 @@
'beamformer/nonlinear_beamformer_test.cc',
],
}, # nonlinear_beamformer_test
- {
- 'target_name': 'intelligibility_proc',
- 'type': 'executable',
- 'dependencies': [
- 'audioproc_test_utils',
- '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
- '<(DEPTH)/testing/gtest.gyp:gtest',
- '<(webrtc_root)/modules/modules.gyp:audio_processing',
- '<(webrtc_root)/test/test.gyp:test_support',
- ],
- 'sources': [
- 'intelligibility/test/intelligibility_proc.cc',
- ],
- }, # intelligibility_proc
],
'conditions': [
+ ['intelligibility_enhancer==1', {
+ 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=1',],
+ 'targets': [
+ {
+ 'target_name': 'intelligibility_proc',
+ 'type': 'executable',
+ 'dependencies': [
+ 'audioproc_test_utils',
+ '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
+ '<(DEPTH)/testing/gtest.gyp:gtest',
+ '<(webrtc_root)/modules/modules.gyp:audio_processing',
+ '<(webrtc_root)/test/test.gyp:test_support',
+ ],
+ 'sources': [
+ 'intelligibility/test/intelligibility_proc.cc',
+ ],
+ },
+ ],
+ }, {
+ 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=0',],
+ }],
['enable_protobuf==1', {
'targets': [
{

Powered by Google App Engine
This is Rietveld 408576698