Update generate-{derived,unified}-sources scripts to support generating .xcfilelist...
authorkrollin@apple.com <krollin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Nov 2018 22:09:52 +0000 (22:09 +0000)
committerkrollin@apple.com <krollin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Nov 2018 22:09:52 +0000 (22:09 +0000)
commit9a3bbabc85de0b1f10366a10692d64358fc5747b
treed111f2f3b6ae830b993e6bab25962fc7a64caa38
parentfcb4cef3aa2e6bde760e768a3c7cf4f614da73df
Update generate-{derived,unified}-sources scripts to support generating .xcfilelist files
https://bugs.webkit.org/show_bug.cgi?id=192031
<rdar://problem/46286816>

Reviewed by Alex Christensen.

The Generate Derived Sources and Generate Unified Sources build phases
in Xcode need to have their inputs and outputs specified. This
specification will come in the form of .xcfilelist files that will be
attached to these build phases. There is one .xcfilelist file that
lists the input file and one that lists the output files. As part of
this work, the various generate-{derived,unified}-sources scripts that
are executed in these Generate build phases are modified to help in
the creation of these .xcfilelist files. In particular, they can now
be invoked with command-line parameters. These parameters are then
used to alter the normal execution of these scripts, causing them to
produce the .xcfilelist files as opposed to actually generating the
files that are listed in those files.

Source/JavaScriptCore:

* Scripts/generate-derived-sources.sh:
* Scripts/generate-unified-sources.sh:

Source/WebCore:

No new tests -- no changed functionality.

* Scripts/generate-derived-sources.sh:
* Scripts/generate-unified-sources.sh:

Source/WebKit:

* Scripts/generate-derived-sources.sh:
* Scripts/generate-unified-sources.sh:

Tools:

* DumpRenderTree/Scripts/generate-derived-sources.sh:
* WebKitTestRunner/Scripts/generate-derived-sources.sh:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Scripts/generate-derived-sources.sh
Source/JavaScriptCore/Scripts/generate-unified-sources.sh
Source/WebCore/ChangeLog
Source/WebCore/Scripts/generate-derived-sources.sh
Source/WebCore/Scripts/generate-unified-sources.sh
Source/WebKit/ChangeLog
Source/WebKit/Scripts/generate-derived-sources.sh
Source/WebKit/Scripts/generate-unified-sources.sh
Tools/ChangeLog
Tools/DumpRenderTree/Scripts/generate-derived-sources.sh
Tools/WebKitTestRunner/Scripts/generate-derived-sources.sh