Prefix HAVE_SCTP macro with WEBRTC_.

Generated automatically with:

  git grep -l "\bHAVE_SCTP\b" | xargs \
    sed -i '' 's/HAVE_SCTP/WEBRTC_HAVE_SCTP/g'

Bug: webrtc:11142
Change-Id: I30e16a40ca7a7e388940191df22b705265b42cb4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/202251
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33042}
This commit is contained in:
Mirko Bonadei
2021-01-18 13:24:40 +01:00
committed by Commit Bot
parent 6dcbcead3d
commit 5eb43b4777
11 changed files with 26 additions and 26 deletions

View File

@ -2255,7 +2255,7 @@ TEST_P(PeerConnectionInterfaceTest, TestRejectRtpDataChannelInAnswer) {
EXPECT_EQ(DataChannelInterface::kClosed, offer_channel->state());
}
#ifdef HAVE_SCTP
#ifdef WEBRTC_HAVE_SCTP
// This tests that SCTP data channels can be rejected in an answer.
TEST_P(PeerConnectionInterfaceTest, TestRejectSctpDataChannelInAnswer)
#else
@ -2310,7 +2310,7 @@ TEST_P(PeerConnectionInterfaceTest, ReceiveFireFoxOffer) {
cricket::GetFirstVideoContent(pc_->local_description()->description());
ASSERT_TRUE(content != NULL);
EXPECT_FALSE(content->rejected);
#ifdef HAVE_SCTP
#ifdef WEBRTC_HAVE_SCTP
content =
cricket::GetFirstDataContent(pc_->local_description()->description());
ASSERT_TRUE(content != NULL);
@ -3593,12 +3593,12 @@ TEST_F(PeerConnectionInterfaceTestPlanB,
// Test that negotiation can succeed with a data channel only, and with the max
// bundle policy. Previously there was a bug that prevented this.
#ifdef HAVE_SCTP
#ifdef WEBRTC_HAVE_SCTP
TEST_P(PeerConnectionInterfaceTest, DataChannelOnlyOfferWithMaxBundlePolicy) {
#else
TEST_P(PeerConnectionInterfaceTest,
DISABLED_DataChannelOnlyOfferWithMaxBundlePolicy) {
#endif // HAVE_SCTP
#endif // WEBRTC_HAVE_SCTP
PeerConnectionInterface::RTCConfiguration config;
config.bundle_policy = PeerConnectionInterface::kBundlePolicyMaxBundle;
CreatePeerConnection(config);