[webkit-changes] [WebKit/WebKit] cdc9a1: [Xcode] Track output files for symlinks created by...

Elliott Williams noreply at github.com
Thu Sep 7 13:53:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cdc9a148a8b419a6012fd4dd7327e97b4e28813e
      https://github.com/WebKit/WebKit/commit/cdc9a148a8b419a6012fd4dd7327e97b4e28813e
  Author: Elliott Williams <emw at apple.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  [Xcode] Track output files for symlinks created by WebKit script phases
https://bugs.webkit.org/show_bug.cgi?id=261247
rdar://115085679

Reviewed by Alexey Proskuryakov.

Symlinks to daemons and XPC services do not need to get recreated when
their targets are rebuilt. So, it's fine to have the script phases which
create them declare them as outputs with no inputs.

Merge the "Add XPCServices symlink" and "Create symlinks to XPC
services" build phases. On Mac, the former creates
WebKit.framework/XPCServices and the latter creates symlinks in
WebKit.framework/Versions/A/XPCServices. But on other platforms, they
indicate that they *both* create WebKit.framework/XPCServices. Since
nothing in the build actually depends on the top-level XPCServices
symlink (iirc, it's for dyld), just create it as a side effect of the
"Create symlinks to XPC services" phase on Mac.

* Source/WebKit/WebKit.xcodeproj/project.pbxproj:

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




More information about the webkit-changes mailing list