Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b87df79901bf7227381364392ff322c237acccf1
      
https://github.com/WebKit/WebKit/commit/b87df79901bf7227381364392ff322c237acccf1
  Author: Elliott Williams <[email protected]>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M Source/WebKit/PlatformMac.cmake
    M Source/WebKit/mac/replace-webkit-additions-includes.py
    M Source/cmake/WebKitCommon.cmake

  Log Message:
  -----------
  [CMake] Call replace-webkit-additions-includes for WebKit headers
https://bugs.webkit.org/show_bug.cgi?id=319141
rdar://181957548

Reviewed by Richard Robinson.

WebKitAdditions has a CMake module which defines
WEBKITADDITIONS_DEFINITIONS_FOR_HEADER_REPLACEMENT. Load it, then use
replace-webkit-additions-includes.py as a custom command for public
headers which contain WKA stubs.

Rewrite the script to have fewer Xcode-isms, so it's easy to share
between Xcode and CMake.

* Source/WebKit/PlatformMac.cmake:
* Source/WebKit/mac/replace-webkit-additions-includes.py:
(read_content_from_webkit_additions):
(main):
* Source/cmake/WebKitCommon.cmake:

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



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

Reply via email to