[webkit-changes] [WebKit/WebKit] 341055: Guard USE(LIBWEBRTC) includes

Don Olmstead noreply at github.com
Mon Nov 14 11:59:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 34105586b430eb81aebf6af3d4708c9b504a521c
      https://github.com/WebKit/WebKit/commit/34105586b430eb81aebf6af3d4708c9b504a521c
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp
    M Source/WebCore/Modules/mediastream/PeerConnectionBackend.h
    M Source/WebCore/Modules/mediastream/RTCIceCandidate.h
    M Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
    M Source/WebCore/Modules/mediastream/RTCStatsReport.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCCertificateGenerator.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCCertificateGenerator.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCIceTransportBackend.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCObservers.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.h
    M Source/WebCore/editing/markup.cpp
    M Source/WebCore/loader/EmptyClients.cpp
    M Source/WebCore/platform/mediastream/AudioTrackPrivateMediaStream.cpp
    M Source/WebCore/platform/mediastream/libwebrtc/gstreamer/LibWebRTCProviderGStreamer.h
    M Source/WebCore/svg/graphics/SVGImage.cpp
    M Source/WebCore/testing/Internals.cpp

  Log Message:
  -----------
  Guard USE(LIBWEBRTC) includes
https://bugs.webkit.org/show_bug.cgi?id=247833

Reviewed by Eric Carlson.

Only add `libwebrtc` include directories if `USE_LIBWEBRTC` is `ON`.
Guard includes and sources with `USE(LIBWEBRTC)`. Remove includes that
aren't necessary.

* Source/WebCore/CMakeLists.txt:
* Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp:
* Source/WebCore/Modules/mediastream/PeerConnectionBackend.h:
* Source/WebCore/Modules/mediastream/RTCIceCandidate.h:
* Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:
* Source/WebCore/Modules/mediastream/RTCStatsReport.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCCertificateGenerator.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCCertificateGenerator.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCIceTransportBackend.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCObservers.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.h:
* Source/WebCore/editing/markup.cpp:
* Source/WebCore/loader/EmptyClients.cpp:
* Source/WebCore/platform/mediastream/AudioTrackPrivateMediaStream.cpp:
* Source/WebCore/platform/mediastream/libwebrtc/gstreamer/LibWebRTCProviderGStreamer.h:
* Source/WebCore/svg/graphics/SVGImage.cpp:
* Source/WebCore/testing/Internals.cpp:

Canonical link: https://commits.webkit.org/256664@main




More information about the webkit-changes mailing list