WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
319352
[CMake] Fix build against recent internal SDKs
https://bugs.webkit.org/show_bug.cgi?id=319352
Summary
[CMake] Fix build against recent internal SDKs
zak ridouh
Reported
2026-07-13 22:11:05 PDT
Four independent build breaks surface when building the Mac CMake port against the internal macOS 27 SDK, where WebKitAdditions turns on feature flags that the CMake build wasn't fully wired up for: - OptionsCocoa.cmake: the empty AppleFeatures.h stub was placed on -isystem for internal-SDK builds too, shadowing the SDK's real header and tripping #warning-as-error in MediaExperience's MXFeatureFlags.h. Guard the stub with NOT USE_APPLE_INTERNAL_SDK, matching the sibling availability-overlay block. - Headers.cmake: add GPUProcess/graphics/Model/ModelTypes.h to WebKit_PROJECT_HEADERS so <WebKit/ModelTypes.h> resolves via the header map, alongside its already-listed siblings Float3.h and Float4x4.h. - CMakeLists.txt: expose TextGranularity.h through the WebCore_Private Swift module map so WKTextSelectionController.swift can name WebCore.TextGranularity. - PlatformMac.cmake: add the companion Swift files of the AppKit-gestures unit (WebPageProxy.swift, Logger+Extras.swift, WKAppKitGestureController.swift, IntRectCG.swift, FloatRectCG.swift). WKTextSelectionController.swift was added without them, so the WebKit.swiftmodule emit-module failed on missing members.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-07-13 22:11:11 PDT
<
rdar://problem/182164452
>
zak ridouh
Comment 2
2026-07-13 22:14:52 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/69346
EWS
Comment 3
2026-07-13 23:34:46 PDT
Committed
317128@main
(4bcd765a466a): <
https://commits.webkit.org/317128@main
> Reviewed commits have been landed. Closing PR #69346 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug