Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0afa13f286c25b05ab19cc01d4017b3d296d6918
https://github.com/WebKit/WebKit/commit/0afa13f286c25b05ab19cc01d4017b3d296d6918
Author: Elliott Williams <[email protected]>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M Source/WebKit/PlatformCocoa.cmake
M Source/WebKitLegacy/PlatformCocoa.cmake
M Source/cmake/OptionsCocoa.cmake
Log Message:
-----------
[CMake] Match Xcode preprocessor definitions on Mac
https://bugs.webkit.org/show_bug.cgi?id=325718
Reviewed by Richard Robinson.
Fix discrepancies found by comparing each project's predefined macros
with Xcode's:
- ENABLE_CONJECTURE_ASSERT, which Xcode defines in Debug and sanitizer builds.
- HAVE_CORE_PREDICTION, which WebKit defined only for the iOS family, so the
macOS resource load statistics classifier never used CorePrediction. Define
it for all Cocoa platforms, and on macOS also weak-link CorePrediction and
install its model, as Xcode does.
- ENABLE_WEBKIT_UNSET_DYLD_FRAMEWORK_PATH, which WebKitLegacy defines in every
configuration except Production.
* Source/WebKit/PlatformCocoa.cmake:
* Source/WebKitLegacy/PlatformCocoa.cmake:
* Source/cmake/OptionsCocoa.cmake:
Canonical link: https://commits.webkit.org/322542@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications