Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b2850d33c968e6fa213baee757d43f83608bdf7a
https://github.com/WebKit/WebKit/commit/b2850d33c968e6fa213baee757d43f83608bdf7a
Author: Jean-Yves Avenard <[email protected]>
Date: 2026-09-16 (Wed, 16 Sep 2026)
Changed paths:
M Tools/PlatformCocoa.cmake
M Tools/Scripts/build-webkit
A Tools/SwiftBrowser/CMakeLists.txt
M Tools/SwiftBrowser/Resources/mac/Info.plist
Log Message:
-----------
[cmake] build-webkit should be building SwiftBrowser by default
https://bugs.webkit.org/show_bug.cgi?id=322810
rdar://186060752
Reviewed by Elliott Williams.
SwiftBrowser was only buildable from its own Xcode project, so a CMake
WebKit had no SwiftBrowser to run against it.
Add an ENABLE_SWIFTBROWSER option, on by default, that builds the app from
the main CMake build the way ENABLE_MINIBROWSER builds MiniBrowser, and a
--[no-]swiftbrowser flag to build-webkit that sets it. It is a plain option
rather than a WEBKIT_OPTION so that it stays out of cmakeconfig.h, which
every translation unit includes and where a change of value would rebuild
the world. The target needs the macOS 26 SDK, which is the gate
Configurations/Base.xcconfig applies through WK_MACOS_2600, and says which
way it went at configure time. Resources/mac/Info.plist now spells its
substitutions ${NAME}, a form both configure_file() and Xcode expand.
* Tools/PlatformCocoa.cmake:
* Tools/Scripts/build-webkit:
* Tools/SwiftBrowser/CMakeLists.txt: Added.
* Tools/SwiftBrowser/Resources/mac/Info.plist:
Canonical link: https://commits.webkit.org/321299@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications