[Win] Compile error, PALHeaderDetection.h not found.
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Sep 2017 23:06:07 +0000 (23:06 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Sep 2017 23:06:07 +0000 (23:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=177309

Reviewed by Brent Fulgham.

Copy PAL header files to WebCore forwarding headers folder.

* PlatformWin.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222360 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/PlatformWin.cmake

index 13deb21..3280782 100644 (file)
@@ -1,3 +1,14 @@
+2017-09-21  Per Arne Vollan  <pvollan@apple.com>
+
+        [Win] Compile error, PALHeaderDetection.h not found.
+        https://bugs.webkit.org/show_bug.cgi?id=177309
+
+        Reviewed by Brent Fulgham.
+
+        Copy PAL header files to WebCore forwarding headers folder.
+
+        * PlatformWin.cmake:
+
 2017-09-21  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: Remove support for CSS Regions
index 250b890..e46a3e4 100644 (file)
@@ -156,6 +156,7 @@ set(WebCore_FORWARDING_HEADERS_DIRECTORIES
     inspector
     loader
     page
+    pal
     platform
     plugins
     rendering
@@ -316,6 +317,7 @@ endforeach ()
 
 set(WebCore_POST_BUILD_COMMAND "${CMAKE_BINARY_DIR}/DerivedSources/WebCore/postBuild.cmd")
 file(WRITE "${WebCore_POST_BUILD_COMMAND}" "@xcopy /y /s /d /f \"${DERIVED_SOURCES_WEBCORE_DIR}/*.h\" \"${FORWARDING_HEADERS_DIR}/WebCore\" >nul 2>nul\n")
+file(APPEND "${WebCore_POST_BUILD_COMMAND}" "@xcopy /y /s /d /f \"${DERIVED_SOURCES_PAL_DIR}/*.h\" \"${FORWARDING_HEADERS_DIR}/WebCore\" >nul 2>nul\n")
 
 set(WebCore_OUTPUT_NAME
     WebCore${DEBUG_SUFFIX}