Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4bcd765a466aeee9a3830da26916479348d26fb4
      
https://github.com/WebKit/WebKit/commit/4bcd765a466aeee9a3830da26916479348d26fb4
  Author: Zak Ridouh <[email protected]>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M Source/WebKit/CMakeLists.txt
    M Source/WebKit/Headers.cmake
    M Source/WebKit/PlatformMac.cmake
    M Source/cmake/OptionsCocoa.cmake

  Log Message:
  -----------
  [CMake] Fix build against recent internal SDKs
https://bugs.webkit.org/show_bug.cgi?id=319352
rdar://182164452

Reviewed by Elliott Williams.

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.

* Source/WebKit/CMakeLists.txt:
* Source/WebKit/Headers.cmake:
* Source/WebKit/PlatformMac.cmake:
* Source/cmake/OptionsCocoa.cmake:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to