[Webkit-unassigned] [Bug 236683] [XCBuild] Use native build phases to copy PAL's headers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 17 12:32:45 PST 2022


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

--- Comment #9 from Elliott Williams <emw at apple.com> ---
(In reply to Alexey Proskuryakov from comment #8)
> Comment on attachment 452285 [details]
> Native PAL Headers via build rules + a legacy-only script phase, v2
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=452285&action=review
> 
> > Source/WebCore/PAL/Configurations/PAL.xcconfig:51
> > +PRIVATE_HEADERS_FOLDER_PATH_legacy = /usr/local/include/pal_flattened;
> 
> This is a temporary directory, correct? I feel like there must be a more
> appropriate place for intermediate files.

I'll try again to find a way to put this in TARGET_TEMP_DIR, but the problem seems to be that Headers phases are Special, and Xcode insists on copying them into BUILT_PRODUCTS_DIR or DSTROOT (for non-install or install builds respectively).

This is why it isn't trying to copy them into the system's `/usr/local` directory even though that's what PRIVATE_HEADERS_FOLDER_PATH specifies.

-- 
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/20220217/7a6c054e/attachment.htm>


More information about the webkit-unassigned mailing list