Index: webrtc/modules/audio_processing/audio_processing.gypi |
diff --git a/webrtc/modules/audio_processing/audio_processing.gypi b/webrtc/modules/audio_processing/audio_processing.gypi |
index 3cfc727020bbd4796135f13a5d15c204030f14bb..8dc67a3f6d47c9fa7b1a03e914b00c0c92cc3622 100644 |
--- a/webrtc/modules/audio_processing/audio_processing.gypi |
+++ b/webrtc/modules/audio_processing/audio_processing.gypi |
@@ -85,10 +85,6 @@ |
'high_pass_filter_impl.cc', |
'high_pass_filter_impl.h', |
'include/audio_processing.h', |
- 'intelligibility/intelligibility_enhancer.cc', |
- 'intelligibility/intelligibility_enhancer.h', |
- 'intelligibility/intelligibility_utils.cc', |
- 'intelligibility/intelligibility_utils.h', |
'level_controller/biquad_filter.cc', |
'level_controller/biquad_filter.h', |
'level_controller/down_sampler.cc', |
@@ -184,6 +180,17 @@ |
'dependencies': ['audioproc_debug_proto'], |
'defines': ['WEBRTC_AUDIOPROC_DEBUG_DUMP'], |
}], |
+ ['intelligibility_enhancer==1', { |
+ 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=1',], |
+ 'sources': [ |
+ 'intelligibility/intelligibility_enhancer.cc', |
+ 'intelligibility/intelligibility_enhancer.h', |
+ 'intelligibility/intelligibility_utils.cc', |
+ 'intelligibility/intelligibility_utils.h', |
+ ], |
+ }, { |
+ 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=0',], |
+ }], |
['prefer_fixed_point==1', { |
'defines': ['WEBRTC_NS_FIXED'], |
'sources': [ |