Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 46919b8aa6e4c1f94ac782ac9cf89813fedfe750
      
https://github.com/WebKit/WebKit/commit/46919b8aa6e4c1f94ac782ac9cf89813fedfe750
  Author: Pascoe <[email protected]>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M Source/WTF/wtf/CMakeLists.txt
    M Source/WTF/wtf/PlatformGTK.cmake
    M Source/WTF/wtf/PlatformMac.cmake
    M Source/WTF/wtf/PlatformPlayStation.cmake
    M Source/WTF/wtf/PlatformWPE.cmake
    M Source/WTF/wtf/PlatformWin.cmake

  Log Message:
  -----------
  [CMake] Fix Mac CMake build for WTF
https://bugs.webkit.org/show_bug.cgi?id=312020
rdar://problem/174561925

Reviewed by Adrian Perez de Castro.

Add Mac-specific WTF public headers and platform sources for CMake.

Based on a base patch by Simon Lewis. Move PlatformEnable*.h headers
from CMakeLists.txt to per-platform files, based on Ian Grunert's
approach (PR #62543).

* Source/WTF/wtf/CMakeLists.txt: Remove PlatformEnable*.h from shared
public headers. Add darwin/TypeCastsOSObject.h to Apple headers.
* Source/WTF/wtf/PlatformGTK.cmake: Add PlatformEnableGlib.h.
* Source/WTF/wtf/PlatformMac.cmake: Add Mac-specific sources
(ObjCRuntimeExtras.mm, AuditToken.mm, SpanCocoa.mm, UUIDCocoa.mm),
headers, and PlatformEnableCocoa.h. Fix RuntimeApplicationChecksCocoa
extension (.cpp -> .mm).
* Source/WTF/wtf/PlatformPlayStation.cmake: Add PlatformEnablePlayStation.h.
* Source/WTF/wtf/PlatformWPE.cmake: Add PlatformEnableGlib.h.
* Source/WTF/wtf/PlatformWin.cmake: Add PlatformEnableWin.h.

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



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

Reply via email to