[webkit-changes] [WebKit/WebKit] fdabe4: Build a specific version of webpushd for the WK_RE...

Brady Eidson noreply at github.com
Tue Sep 5 10:29:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fdabe492fd9a0ce66358c9b2821ef83f1a493011
      https://github.com/WebKit/WebKit/commit/fdabe492fd9a0ce66358c9b2821ef83f1a493011
  Author: Brady Eidson <beidson at apple.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M Source/WebKit/Configurations/BaseTarget.xcconfig
    M Source/WebKit/Configurations/WebKit.xcconfig
    M Source/WebKit/Configurations/webpushd.xcconfig
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources-output.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/webpushd/WebPushDaemonMain.mm
    A Source/WebKit/webpushd/com.apple.webkit.webpushd.relocatable.mac.plist
    A Source/WebKit/webpushd/mac/com.apple.WebKit.webpushd.relocatable.mac.sb.in

  Log Message:
  -----------
  Build a specific version of webpushd for the WK_RELOCATABLE_FRAMEWORKS build to an override directory
https://bugs.webkit.org/show_bug.cgi?id=261010
rdar://114801730

Reviewed by Elliott Williams and Alex Christensen.

This patch does two buckets of things for the WK_RELOCATABLE_FRAMEWORKS build to an override directory:
1 - WebPushDaemonMain listens on a different service name, connects to apsd with a different service name, and creates a seperate push database.
2 - webpushd has a different product name, install location, different sandbox profile, and different launchd plist

* Source/WebKit/Configurations/BaseTarget.xcconfig:
* Source/WebKit/Configurations/WebKit.xcconfig:
* Source/WebKit/Configurations/webpushd.xcconfig:
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources-output.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKit/webpushd/WebPushDaemonMain.mm:
(WebKit::applySandbox):
(WebKit::WebPushDaemonMain):
* Source/WebKit/webpushd/com.apple.webkit.webpushd.relocatable.mac.plist: Added.
* Source/WebKit/webpushd/mac/com.apple.WebKit.webpushd.relocatable.mac.sb.in: Added.

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




More information about the webkit-changes mailing list