[CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into WEBKIT_COPY_FILES
authordon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 May 2019 20:37:41 +0000 (20:37 +0000)
committerdon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 May 2019 20:37:41 +0000 (20:37 +0000)
commit38b53a1c2eb5d3a62fab082406b7b28519997ed1
tree29cf8f4eefa33c7b7a3b57d601e8f41f36262961
parentd7ebf36490730b3f5a50d05f9e65402f9bdc7941
[CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into WEBKIT_COPY_FILES
https://bugs.webkit.org/show_bug.cgi?id=197174

Reviewed by Alex Christensen.

.:

Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES which is a general
purpose macro that copies files to a destination. WEBKIT_COPY_FILES removes the
requirement of a target being passed in so there is no longer any implicit dependency
between the target and the copying. Instead the dependencies need to be explicit.

This opens the macro up for use by third party libraries and for copying other files
to a destination.

* Source/cmake/WebKitMacros.cmake:

Source/JavaScriptCore:

Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES and make dependencies
for framework headers explicit.

* CMakeLists.txt:

Source/WebCore:

Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES and make dependencies
for framework headers explicit.

* CMakeLists.txt:

Source/WebCore/PAL:

Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES.

* pal/CMakeLists.txt:

Source/WebKit:

Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES and make dependencies
for framework headers explicit.

* CMakeLists.txt:
* PlatformWin.cmake:

Source/WebKitLegacy:

Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES and make dependencies
for framework headers explicit.

* PlatformWin.cmake:

Source/WTF:

Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES.

* wtf/CMakeLists.txt:

Tools:

Make TestJSC dependent on JavaScriptCorePrivateFrameworkHeaders.

* TestWebKitAPI/PlatformGTK.cmake:
* TestWebKitAPI/PlatformWPE.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
ChangeLog
Source/JavaScriptCore/CMakeLists.txt
Source/JavaScriptCore/ChangeLog
Source/WTF/ChangeLog
Source/WTF/wtf/CMakeLists.txt
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/CMakeLists.txt
Source/WebKit/CMakeLists.txt
Source/WebKit/ChangeLog
Source/WebKit/PlatformWin.cmake
Source/WebKitLegacy/ChangeLog
Source/WebKitLegacy/PlatformWin.cmake
Source/cmake/WebKitMacros.cmake
Tools/ChangeLog
Tools/TestWebKitAPI/PlatformGTK.cmake
Tools/TestWebKitAPI/PlatformWPE.cmake