Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f51587c8b4d15b381347fdfb9733e64a55001e71
https://github.com/WebKit/WebKit/commit/f51587c8b4d15b381347fdfb9733e64a55001e71
Author: Adrian Taylor <[email protected]>
Date: 2026-05-12 (Tue, 12 May 2026)
Changed paths:
M Source/cmake/WebKitMacros.cmake
Log Message:
-----------
[Swift GTK] Use stamp for Swift generated header
https://bugs.webkit.org/show_bug.cgi?id=314445
Reviewed by Adrian Perez de Castro.
WebKit cmake builds will soon include a build step which outputs a header file
containing bindings to all WebKit's internal Swift APIs. This header file will
be frequently regenerated when any Swift file changes. As it will be included
in a fair number of C++ files, this will cause a fair number of extra C++ build
steps to occur. Yet frequently Swift changes won't cause differences in the
generated header file. This change adjusts the cmake rules to use a stamp file,
such that if the newly generated header file is identical to the previously
generated header file, it won't cause a rebuild of the C++ steps.
This change introduces a stamp file which is used for dependency tracking,
while not actually changing the generated header file timestamp if it's
unchanged.
Canonical link: https://commits.webkit.org/313098@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications