Remove HAVE_WEBRTC_VOICE.

Appears not used anymore.

Bug: none
Change-Id: Ic2238e6ad3d9917208bdb4a101f1ce254b1272ac
Reviewed-on: https://webrtc-review.googlesource.com/c/120963
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26578}
This commit is contained in:
Fredrik Solenberg 2019-02-05 12:43:03 +01:00 committed by Commit Bot
parent e7b9e6b17d
commit e1dcce24e6
3 changed files with 1 additions and 9 deletions

View File

@ -249,7 +249,6 @@ config("common_config") {
# TODO(kjellander): Cleanup unused ones and move defines closer to the # TODO(kjellander): Cleanup unused ones and move defines closer to the
# source when webrtc:4256 is completed. # source when webrtc:4256 is completed.
"HAVE_WEBRTC_VIDEO", "HAVE_WEBRTC_VIDEO",
"HAVE_WEBRTC_VOICE",
"LOGGING_INSIDE_WEBRTC", "LOGGING_INSIDE_WEBRTC",
] ]
} else { } else {

View File

@ -20,10 +20,7 @@ group("media") {
} }
config("rtc_media_defines_config") { config("rtc_media_defines_config") {
defines = [ defines = [ "HAVE_WEBRTC_VIDEO" ]
"HAVE_WEBRTC_VIDEO",
"HAVE_WEBRTC_VOICE",
]
} }
rtc_source_set("rtc_h264_profile_id") { rtc_source_set("rtc_h264_profile_id") {

View File

@ -8,8 +8,6 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#ifdef HAVE_WEBRTC_VOICE
#include "media/engine/webrtc_voice_engine.h" #include "media/engine/webrtc_voice_engine.h"
#include <algorithm> #include <algorithm>
@ -2286,5 +2284,3 @@ bool WebRtcVoiceMediaChannel::MaybeDeregisterUnsignaledRecvStream(
return false; return false;
} }
} // namespace cricket } // namespace cricket
#endif // HAVE_WEBRTC_VOICE