[CMake] WEBKIT_COMPUTE_SOURCES should use the target's derived sources directory
authordon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Apr 2019 01:28:33 +0000 (01:28 +0000)
committerdon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Apr 2019 01:28:33 +0000 (01:28 +0000)
commit69ae88656ec0088c9133f01f122adf8f28aeb212
tree19397873e663e27ce88f494c716f469c885397a9
parentb08aef2c5f912bde8d6b141e83a83354cccf4f00
[CMake] WEBKIT_COMPUTE_SOURCES should use the target's derived sources directory
https://bugs.webkit.org/show_bug.cgi?id=196741

Reviewed by Michael Catanzaro.

WEBKIT_COMPUTE_SOURCES is using ${DERIVED_SOURCES_DIR} directly. Instead it should
rely on the directory specified by the target.

* Source/cmake/WebKitFS.cmake:
Add variables that can be expanded within CMake to the derived sources directory for
a target.

* Source/cmake/WebKitMacros.cmake:
Use variable expansion rather than ${DERIVED_SOURCES_DIR} to determine the target's
derived sources directory.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/cmake/WebKitFS.cmake
Source/cmake/WebKitMacros.cmake