Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 723db2e10e023f979bc52d815f358866ec4fb983
https://github.com/WebKit/WebKit/commit/723db2e10e023f979bc52d815f358866ec4fb983
Author: Geoffrey Garen <[email protected]>
Date: 2026-04-27 (Mon, 27 Apr 2026)
Changed paths:
M Source/WTF/WTFPrefix.h
M Source/WTF/wtf/PlatformMac.cmake
M Source/WebGPU/WGSL/CMakeLists.txt
M Source/WebGPU/WebGPU/CMakeLists.txt
M Source/bmalloc/PlatformMac.cmake
M Source/cmake/OptionsMac.cmake
Log Message:
-----------
[CMake] Match the Xcode build's approach to bmalloc/WTF/JSC
https://bugs.webkit.org/show_bug.cgi?id=313477
rdar://175703628
Reviewed by Yusuke Suzuki.
Make WTF a .o target rather than a .dylib. Then JavaScriptCore.dylib exports WTF
symbols to client frameworks.
This enables turning on PAS_BMALLOC_HIDDEN, which saves duplicate compilation
of bmalloc.
Also adopt the WTF prefix header.
Total build speedup is about 2s in clean or touch-one-file build.
* Source/WTF/WTFPrefix.h: Just CMake things.
* Source/WTF/wtf/PlatformMac.cmake:
* Source/WebGPU/WGSL/CMakeLists.txt: Link JavaScriptCore like we do in the
Xcode build.
* Source/WebGPU/WebGPU/CMakeLists.txt: Ditto
* Source/bmalloc/PlatformMac.cmake: Adopt PAS_BMALLOC_HIDDEN.
* Source/cmake/OptionsMac.cmake: WTF can be a .o target now, which is faster.
Canonical link: https://commits.webkit.org/312155@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications