Change the build flow of AppleWebKit to use the [Supplemental] IDL
authorharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Dec 2011 11:24:58 +0000 (11:24 +0000)
committerharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Dec 2011 11:24:58 +0000 (11:24 +0000)
commita7e4764382689bf7b2ab99aea70c2d95b426c23c
tree6e375fc1c7fe7d3c4e0d80f2e616ba3a7ac7b1df
parentd54c4a2ad8bb7b981aec13fa8d933029513fc0ad
Change the build flow of AppleWebKit to use the [Supplemental] IDL
https://bugs.webkit.org/show_bug.cgi?id=74900

Reviewed by Adam Barth.

This is the final step for bug 74599. This patch changes the build flow
of DerivedSources.make as follows, and thus enable the [Supplemental] IDL.

- Previous build flow:
    foreach $idl (all IDL files) {
        generate-bindings.pl depends on $idl;
        generate-bindings.pl reads $idl;
        generate-bindings.pl generates .h and .cpp files for $idl;
    }

- New build flow (See the discussions in bug 72138 for more details):
    resolve-supplemental.pl depends on all IDL files;
    resolve-supplemental.pl reads all IDL files;
    resolve-supplemental.pl resolves the dependency of [Supplemental=XXXX];
    resolve-supplemental.pl outputs supplemental_dependency.tmp;
    foreach $idl (all IDL files) {
        generate-bindings.pl depends on $idl and supplemental_dependency.tmp;
        generate-bindings.pl reads $idl;
        generate-bindings.pl reads supplemental_dependency.tmp;
        generate-bindings.pl generates .h and .cpp files for $idl,
            including all attributes in the IDL files that are implementing $idl;
    }

Tests: Confirm that build succeeds.
       http/tests/websocket/tests/*

* DerivedSources.make: Described the build flow as described above.
Added a list of IDL files. Instead, removed a list of JS*.h and JS*.cpp
which are generated by the IDL files.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@103519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make