Bug 314445

Summary: Use stamp for Swift generated header
Product: WebKit Reporter: adrian_taylor
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, webkit-bug-importer
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

adrian_taylor
Reported 2026-05-08 17:07:04 PDT
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 changes in the generated header file. This change adjusts the cmake rules to use a stamp file, such that if the header file is identical to the previous header file, it won't cause a rebuild of the C++ steps.
Attachments
adrian_taylor
Comment 1 2026-05-08 17:10:36 PDT
EWS
Comment 2 2026-05-12 11:47:36 PDT
Committed 313098@main (f51587c8b4d1): <https://commits.webkit.org/313098@main> Reviewed commits have been landed. Closing PR #64585 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.