Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5502e61f5335c96bcff17b40c1e87ab918477692
      
https://github.com/WebKit/WebKit/commit/5502e61f5335c96bcff17b40c1e87ab918477692
  Author: Zak Ridouh <[email protected]>
  Date:   2026-05-19 (Tue, 19 May 2026)

  Changed paths:
    M Source/WebKit/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Restore WebKit_DerivedHeadersForSwift dependency wiring
https://bugs.webkit.org/show_bug.cgi?id=315129
rdar://177470839

Reviewed by Pascoe.

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 313434@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.

* Source/WebKit/CMakeLists.txt:

Canonical link: https://commits.webkit.org/313526@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to