[CMake] Decouple generating bindings of WebCore and WebCoreTestSupport
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Sep 2016 22:06:32 +0000 (22:06 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Sep 2016 22:06:32 +0000 (22:06 +0000)
commitc5be612a431bf8de2a9308bb26c790da70d01a1f
tree60f5bd2114a54b947c455f04f89bb13b93f552f7
parentf272943eabf1b0e43db9e5d7e3db3433e07e31f2
[CMake] Decouple generating bindings of WebCore and WebCoreTestSupport
https://bugs.webkit.org/show_bug.cgi?id=161474

Generating bindings of WebCore and WebCoreTestSupport shares a
single supplementalDependencyFile.  But, nothing supplements any
IDL of WebCoreTestSupport.  This introduces unnecessary
dependencies.

Patch by Fujii Hironori <Hironori.Fujii@sony.com> on 2016-09-06
Reviewed by Alex Christensen.

.:

* Source/cmake/WebKitMacros.cmake:
(GENERATE_BINDINGS): Clear uninitialized variables before
use. This causes a problem in the second time of calling
GENERATE_BINDINGS.

Source/WebCore:

* CMakeLists.txt: Do not input any IDL of WebCoreTestSupport to
preprocess-idls.pl.  Do not use supplementalDependencyFile to
generate bindings of WebCoreTestSupport.  Add SettingsMacros.h as
a source file of WebCoreDerivedSources to ensure make_settings.pl
is finished before compiling WebCoreDerivedSources.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/cmake/WebKitMacros.cmake