Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 41480e464ef080571260c7d0a7b13ccb5839facd
https://github.com/WebKit/WebKit/commit/41480e464ef080571260c7d0a7b13ccb5839facd
Author: Pascoe <[email protected]>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M Source/ThirdParty/libwebrtc/CMakeLists.txt
M Source/WebCore/CMakeLists.txt
M Source/WebCore/Info.plist
A Source/WebCore/PlatformCocoa.cmake
A Source/WebCore/PlatformIOS.cmake
M Source/WebCore/PlatformMac.cmake
M Source/WebCore/editing/cocoa/HTMLConverter.h
M Source/WebCore/platform/LocalizedStrings.h
M Source/WebCore/platform/SerializedPlatformDataCueValue.h
M Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm
M Source/WebCore/platform/audio/ios/SpatialAudioPlaybackHelperIOS.mm
M Source/WebCore/platform/cocoa/SystemBattery.mm
M
Source/WebCore/platform/graphics/ca/cocoa/GraphicsLayerAsyncContentsDisplayDelegateCocoa.h
M Source/WebCore/platform/graphics/cocoa/WebMAudioUtilitiesCocoa.h
M Source/WebCore/platform/network/cocoa/RangeResponseGenerator.h
M Source/WebCore/platform/video-codecs/cocoa/WebRTCVideoDecoderVTBAV1.h
M Source/WebCore/platform/video-codecs/cocoa/WebRTCVideoDecoderVTBAV1.mm
M Source/WebCore/platform/video-codecs/cocoa/WebRTCVideoDecoderVTBVP9.h
M Source/WebCore/platform/video-codecs/cocoa/WebRTCVideoDecoderVTBVP9.mm
M Source/WebCore/testing/MockContentFilterManager.cpp
M Source/WebCore/testing/MockContentFilterManager.h
M Source/WebGPU/WGSL/CMakeLists.txt
M Source/WebGPU/WebGPU/CMakeLists.txt
Log Message:
-----------
[CMake] Fix iOS CMake build for WebCore
https://bugs.webkit.org/show_bug.cgi?id=312915
<rdar://problem/175263611>
Reviewed by BJ Burg.
Add PlatformIOS.cmake with comprehensive iOS build configuration. The new
file sets up the WebCore.framework structure with PrivateHeaders and Modules
directories, configures iOS-specific compile options and warnings, and links
required system frameworks including AudioToolbox, CoreMedia, Metal, UIKit,
and VideoToolbox.
Condition libwebrtc audio device implementations on the platform type. On
macOS (Darwin), compile create_audio_device_module.cc, audio_device_impl.cc,
and the platform-specific audio_device_mac.cc implementation. On iOS, define
WEBRTC_IOS to enable iOS-specific audio paths while excluding the Mac audio
device. This ensures proper audio device module instantiation across platforms.
Fix WebCore framework header inclusion by adding missing include guards and
forward declarations to cocoa and iOS headers. Add DumpRenderTree as an
allowable framework client in WebCore's linker options. Update WebGPU module
CMakeLists.txt to properly configure for iOS target requirements.
* Source/ThirdParty/libwebrtc/CMakeLists.txt:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/PlatformIOS.cmake: Added.
* Source/WebCore/editing/cocoa/HTMLConverter.h:
* Source/WebCore/platform/LocalizedStrings.h:
* Source/WebCore/platform/SerializedPlatformDataCueValue.h:
* Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm:
* Source/WebCore/platform/audio/ios/SpatialAudioPlaybackHelperIOS.mm:
* Source/WebCore/platform/cocoa/SystemBattery.mm:
*
Source/WebCore/platform/graphics/ca/cocoa/GraphicsLayerAsyncContentsDisplayDelegateCocoa.h:
* Source/WebCore/platform/graphics/cocoa/WebMAudioUtilitiesCocoa.h:
* Source/WebCore/platform/network/cocoa/RangeResponseGenerator.h:
* Source/WebCore/platform/video-codecs/cocoa/WebRTCVideoDecoderVTBAV1.h:
* Source/WebCore/platform/video-codecs/cocoa/WebRTCVideoDecoderVTBVP9.h:
* Source/WebCore/testing/MockContentFilterManager.cpp:
* Source/WebCore/testing/MockContentFilterManager.h:
* Source/WebGPU/WGSL/CMakeLists.txt:
* Source/WebGPU/WebGPU/CMakeLists.txt:
Canonical link: https://commits.webkit.org/312575@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications