[webkit-dev] Reducing / removing use of Makefile based DerivedSources.make

Andy Estes aestes at apple.com
Tue Oct 20 10:51:30 PDT 2020


Hi Sam,

> On Oct 18, 2020, at 11:01, Sam Weinig <weinig at apple.com> wrote:
> 
> One direct benefit of moving away from DerivedSources.make would likely be (I say likely, as the details of how it works out are far from certain in my mind) removing at least one place that a IDL file needs to be listed as we would not need to explicitly the list the IDL file in DerivedSources.make, and would only need to ensure it was in some *input.xcfilelist.

The way I imagine this working is that the existing .idl file references in the (e.g., WebCore) project would become members in a target with a custom build rule for “*.idl”. Target membership is itself another list inside the .xcodeproj file, just one you manage through checkboxes in Xcode (and can be done reasonably quickly as part of adding a new file reference).

Whether or not this actually creates one fewer “place a IDL file needs to be listed” (which I think is a worthwhile goal), I think you should still remove the Makefile build phases from Xcode for the reasons you originally cited.

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20201020/e1cda160/attachment.htm>


More information about the webkit-dev mailing list