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

Unified Diff: webrtc/modules/BUILD.gn

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/BUILD.gn
diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn
index c04f00c49bb3df6c179410ec902c4e42706bda0f..955ef5ef75fd51a1fcb0a3615c1edc9e1f6cbb1e 100644
--- a/webrtc/modules/BUILD.gn
+++ b/webrtc/modules/BUILD.gn
@@ -199,8 +199,6 @@ if (rtc_include_tests) {
"audio_processing/beamformer/mock_nonlinear_beamformer.h",
"audio_processing/beamformer/nonlinear_beamformer_unittest.cc",
"audio_processing/echo_cancellation_impl_unittest.cc",
- "audio_processing/intelligibility/intelligibility_enhancer_unittest.cc",
- "audio_processing/intelligibility/intelligibility_utils_unittest.cc",
"audio_processing/splitting_filter_unittest.cc",
"audio_processing/transient/dyadic_decimator_unittest.cc",
"audio_processing/transient/file_utils.cc",
@@ -348,6 +346,16 @@ if (rtc_include_tests) {
"video_processing/test/video_processing_unittest.h",
]
+ if (intelligibility_enhancer) {
+ defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
+ sources += [
+ "audio_processing/intelligibility/intelligibility_enhancer_unittest.cc",
+ "audio_processing/intelligibility/intelligibility_utils_unittest.cc",
+ ]
+ } else {
+ defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
+ }
+
if (rtc_libvpx_build_vp9) {
sources +=
[ "video_coding/codecs/vp9/vp9_screenshare_layers_unittest.cc" ]

Powered by Google App Engine
This is Rietveld 408576698