Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 353d66cc039840a45238dda43630f2e928dd8564
      
https://github.com/WebKit/WebKit/commit/353d66cc039840a45238dda43630f2e928dd8564
  Author: Elliott Williams <[email protected]>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M Source/WTF/wtf/spi/darwin/XPCSPI.h
    M Source/WebKit/webpushd/webpushtool/WebPushToolMain.mm
    M Tools/TestWebKitAPI/cocoa/DaemonTestUtilities.mm

  Log Message:
  -----------
  [Modules] Move <AppServerSupport/OSLaunchdJob.h> out of WTF headers
https://bugs.webkit.org/show_bug.cgi?id=293272

Reviewed by Alexey Proskuryakov, Ben Nham, and Brady Eidson.

We use this header for webpushd, but expose it through WTF. When WTF is
imported as a module (i.e. when compiling swift), the entire
AppServerSupport module is imported, and it fails the build with an
error indicating that the framework is only supposed to be used by XPC
servers.

Fix by moving the OSLaunchdJob.h import out of XPCSPI.h and into the two
places where it's actually used. This will become a problem again if
webpushd starts building with modules enabled.

* Source/WTF/wtf/spi/darwin/XPCSPI.h:
* Source/WebKit/webpushd/webpushtool/WebPushToolMain.mm:
* Tools/TestWebKitAPI/cocoa/DaemonTestUtilities.mm:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to