[LibWebRTC] ifdef cleanups
commitd3ddddbbb6dbbfaf8954c4a884b526f5391b2080
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Jan 2022 14:43:57 +0000 (29 14:43 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Jan 2022 14:43:57 +0000 (29 14:43 +0000)
tree76e101b5059fe6574b4059644371a1c955147034
parent5e85cc92bf8ae84e7698cb1991162bcc265d0ffc
[LibWebRTC] ifdef cleanups
https://bugs.webkit.org/show_bug.cgi?id=235858

Patch by Philippe Normand <pnormand@igalia.com> on 2022-01-29
Reviewed by Youenn Fablet.

ENABLE(WEB_RTC) does not necessarily imply USE(LIBWEBRTC), so guard libwebrtc-specific files
with explicit USE(LIBWEBRTC) ifdefs.

* Modules/mediastream/STUNMessageParsing.cpp:
* Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.h:
* Modules/mediastream/libwebrtc/LibWebRTCIceTransportBackend.h:
* Modules/mediastream/libwebrtc/LibWebRTCSctpTransportBackend.h:
* platform/mediastream/libwebrtc/LibWebRTCDTMFSenderBackend.cpp:
* platform/mediastream/libwebrtc/LibWebRTCDTMFSenderBackend.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@288790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediastream/STUNMessageParsing.cpp
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.h
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCIceTransportBackend.h
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCSctpTransportBackend.h
Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCDTMFSenderBackend.cpp
Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCDTMFSenderBackend.h