Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b42d59d5e73d63bf2e20847353f6d93f40df03fa
https://github.com/WebKit/WebKit/commit/b42d59d5e73d63bf2e20847353f6d93f40df03fa
Author: Elliott Williams <[email protected]>
Date: 2026-06-26 (Fri, 26 Jun 2026)
Changed paths:
M Source/WebKit/CMakeLists.txt
M Source/WebKit/PlatformMac.cmake
M Source/WebKitLegacy/PlatformMac.cmake
M Tools/MiniBrowser/mac/CMakeLists.txt
M Tools/TestWebKitAPI/CMakeLists.txt
M Tools/WebKitTestRunner/CMakeLists.txt
Log Message:
-----------
[CMake] Fix WebKitLegacy linkage and use a headermap for forwarded headers
https://bugs.webkit.org/show_bug.cgi?id=317892
Reviewed by Richard Robinson and Pascoe.
Use a headermap to expose "forwarded" headers from WebKitLegacy to
WebKit (i.e. headers which are part of public WebKit API, but originate
from WKL's API). This works towards reorganizing headers into actual
framework bundles.
The headermap is exposes as an INTERFACE include path, so targets which
link against WebKitLegacy get it automatically added. Fix up WebKit and
the tools projects to accurately list WebKitLegacy linkage.
WebKit in particular contained a bad assumption that it was not possible
to re-export WKL without bypassing the normal framework macros. It is,
via a LINK_LIBRARY_OVERRIDE_<x> property.
Also, clean up an old listing of the forwarded headers, which afaict is
not used anywhere.
* Source/WebKit/CMakeLists.txt:
* Source/WebKit/PlatformMac.cmake:
* Source/WebKitLegacy/PlatformMac.cmake:
* Tools/MiniBrowser/mac/CMakeLists.txt:
* Tools/TestWebKitAPI/CMakeLists.txt:
* Tools/WebKitTestRunner/CMakeLists.txt:
Canonical link: https://commits.webkit.org/315931@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications