WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
315129
[CMake] Restore WebKit_DerivedHeadersForSwift dependency wiring
https://bugs.webkit.org/show_bug.cgi?id=315129
Summary
[CMake] Restore WebKit_DerivedHeadersForSwift dependency wiring
zak ridouh
Reported
2026-05-19 15:25:37 PDT
WebKit_SwiftCxxHeader is now created via cmake_language(DEFER CALL ...) in WEBKIT_SETUP_SWIFT_AND_GENERATE_SWIFT_CPP_INTEROP_HEADER, so the if(TARGET ...) guard added in
313189@main
no longer matched and the add_dependencies call was silently skipped. The swift typecheck step then raced the preferences generator and failed with 'SharedPreferencesForWebProcess.h' file not found. Drop the guard and defer the add_dependencies call so it runs after WebKit_SwiftCxxHeader exists.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-05-19 15:25:43 PDT
<
rdar://problem/177470839
>
zak ridouh
Comment 2
2026-05-19 15:26:42 PDT
Wrong commit identifier in the bug description. The guard was added in
https://commits.webkit.org/313434@main
zak ridouh
Comment 3
2026-05-19 15:28:21 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/65226
EWS
Comment 4
2026-05-19 15:43:57 PDT
Committed
313526@main
(5502e61f5335): <
https://commits.webkit.org/313526@main
> Reviewed commits have been landed. Closing PR #65226 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug