Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1335013d40be7daa006d2c064f695128e93fa666
https://github.com/WebKit/WebKit/commit/1335013d40be7daa006d2c064f695128e93fa666
Author: Geoffrey Garen <[email protected]>
Date: 2026-05-10 (Sun, 10 May 2026)
Changed paths:
M Source/JavaScriptCore/CMakeLists.txt
M Source/JavaScriptCore/JavaScriptCorePrefix.h
M Source/WebCore/CMakeLists.txt
A Source/WebCore/WebCoreAVFoundationPrefix.h
A Source/WebCore/WebCoreDOMAndRenderingPrefix.h
A Source/WebCore/WebCoreInspectorPrefix.h
M Source/WebCore/WebCoreJSBindingsPrefix.h
M Source/WebCore/WebCorePrefix.h
M Source/WebKit/CMakeLists.txt
A Source/WebKit/WebKitMessageReceiversPrefix.h
A Source/WebKit/WebKitUIProcessPrefix.h
A Source/WebKit/WebKitWebProcessPrefix.h
M Source/WebKitLegacy/PlatformCocoa.cmake
M Source/cmake/WebKitMacros.cmake
Log Message:
-----------
[CMake] Use specialized prefix headers in WebCore and WebKit
https://bugs.webkit.org/show_bug.cgi?id=314492
rdar://176704695
Reviewed by Jer Noble.
This reduces clean build time by ~1m.
* Source/JavaScriptCore/CMakeLists.txt: Renamed WEBKIT_DEFINE_SUBTARGET =>
WEBKIT_DEFINE_SUBTARGET_WITH_PREFIX to distinguish the WEBKIT_DEFINE_SUBTARGET
ARC case, which does not add a custom prefix header.
* Source/JavaScriptCore/JavaScriptCorePrefix.h: Expanded the base
prefix header based on >75% usage analysis.
* Source/WebCore/CMakeLists.txt: New sub-targets for DOMAndRendering,
Inspector, AVFoundation.
* Source/WebCore/WebCoreAVFoundationPrefix.h: Added.
* Source/WebCore/WebCoreDOMAndRenderingPrefix.h: Added.
* Source/WebCore/WebCoreInspectorPrefix.h: Added.
* Source/WebCore/WebCoreJSBindingsPrefix.h:
* Source/WebCore/WebCorePrefix.h: Moved some things from JS
bindings to base prefix header based on >75% usage analysis.
* Source/WebKit/CMakeLists.txt: New sub-targets for UIProcess,
WebProcess, MessageReceivers.
* Source/WebKit/WebKitMessageReceiversPrefix.h: Added.
* Source/WebKit/WebKitUIProcessPrefix.h: Added.
* Source/WebKit/WebKitWebProcessPrefix.h: Added.
* Source/WebKitLegacy/PlatformCocoa.cmake: Re-enabled WebKitLegacy prefix
header.
* Source/cmake/WebKitMacros.cmake: Updated WEBKIT_DEFINE_SUBTARGET_WITH_PREFIX
to support more than just C++ as the target language since our new sub-targets
use ObjC++.
Canonical link: https://commits.webkit.org/312969@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications