[Webkit-unassigned] [Bug 235744] [XCBuild] WTF's headers are copied via a script and are invisible to the build system

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 1 14:07:35 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235744

Elliott Williams <emw at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #450566|                            |review?
              Flags|                            |

--- Comment #10 from Elliott Williams <emw at apple.com> ---
Created attachment 450566

  --> https://bugs.webkit.org/attachment.cgi?id=450566&action=review

Generate xcfilelists for rsync

Here's an alternative approach ("alternative 2" in my comment above) which scripts the creation of xcfilelists based on what rsync transfers. The idea is that we run rsync with `-ii` to generate itemized logs, and pipe the output to `generate-rsync-xcfilelists`. Xcode uses these xcfilelists to figure out when to run rsync (if at all).

The xcfilelists themselves are descriptive enough to get Xcode to re-run rsync when a file is added, so adding/removing headers to WTF will trigger it without project file changes.

I think this *might* be the preferred approach because we have other targets which use rsync, and while it may be viable to move away from rsync in this particular case, I'm not sure about the others. They are:

    JavaScriptCore - testapi
    PAL - Copy PAL Headers
    libwebrtc - Copy webrtc headers

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220201/b84eebf0/attachment.htm>


More information about the webkit-unassigned mailing list