Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53297d97056f4fe7e05f5c3bccf744da567fb530
      
https://github.com/WebKit/WebKit/commit/53297d97056f4fe7e05f5c3bccf744da567fb530
  Author: Simon Lewis <[email protected]>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:
    M Source/WebGPU/WebGPU/CMakeLists.txt
    M Source/WebKitLegacy/CMakeLists.txt
    M Tools/TestWebKitAPI/PlatformMac.cmake

  Log Message:
  -----------
  [CMake][Mac] Unreviewed build fix after 315816@main, 315823@main and 
315833@main
https://bugs.webkit.org/show_bug.cgi?id=317870

Unreviewed build fix.

315833@main (7581588fd861) made WebGPU's Swift interop functions internal +
@_expose(Cxx) and added -emit-clang-header-min-access internal /
-clang-header-expose-decls=has-expose-attr-or-stdlib to WebGPU.xcconfig only.
The CMake build still requested min-access public and lacked the expose-decls
flag, so WebGPUSwift-Generated.h came out empty and Buffer.mm / Queue.mm /
CommandEncoder.mm failed with undeclared identifiers.

315823@main (adf29ea7ecf4) added PRUNE_STALE to WebKitLegacy_CopyHeaders. On
macOS WebKitLegacy_PUBLIC_FRAMEWORK_HEADERS is empty and the destination is
populated by PlatformMac.cmake's file(WRITE) forwarding-header loop, so the
prune step deleted every staged WebKitLegacy header at configure time, breaking
all <WebKit/DOM.h>, <WebKit/WebFeature.h>, <WebKitLegacy/WebArchive.h> etc.
includes.

315816@main (d0b94cb5b4a4) moved EditingRange::clampedFirstLineRange into
Platform/EditingRangeClamping.cpp so it lands in libWebKitPlatform.a for
Xcode's TestIPC. The CMake TestIPC target compiles a hand-picked source list
instead, which was missing the new file and failed to link.

* Source/WebGPU/WebGPU/CMakeLists.txt:
* Source/WebKitLegacy/CMakeLists.txt:
* Tools/TestWebKitAPI/PlatformMac.cmake:

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



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

Reply via email to