Title: [220113] trunk/Source/WebCore/PAL
Revision
220113
Author
[email protected]
Date
2017-08-01 15:33:18 -0700 (Tue, 01 Aug 2017)

Log Message

[PAL][Win] Copy forwarding headers
https://bugs.webkit.org/show_bug.cgi?id=175012

Patch by Yoshiaki Jitsukawa <[email protected]> on 2017-08-01
Reviewed by Myles C. Maxfield.

* pal/PlatformAppleWin.cmake: Added.
* pal/PlatformWin.cmake:
* pal/PlatformWinCairo.cmake: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (220112 => 220113)


--- trunk/Source/WebCore/PAL/ChangeLog	2017-08-01 21:42:28 UTC (rev 220112)
+++ trunk/Source/WebCore/PAL/ChangeLog	2017-08-01 22:33:18 UTC (rev 220113)
@@ -1,3 +1,14 @@
+2017-08-01  Yoshiaki Jitsukawa  <[email protected]>
+
+        [PAL][Win] Copy forwarding headers
+        https://bugs.webkit.org/show_bug.cgi?id=175012
+
+        Reviewed by Myles C. Maxfield.
+
+        * pal/PlatformAppleWin.cmake: Added.
+        * pal/PlatformWin.cmake:
+        * pal/PlatformWinCairo.cmake: Added.
+
 2017-07-26  Brian Burg  <[email protected]>
 
         Remove WEB_TIMING feature flag

Added: trunk/Source/WebCore/PAL/pal/PlatformAppleWin.cmake (0 => 220113)


--- trunk/Source/WebCore/PAL/pal/PlatformAppleWin.cmake	                        (rev 0)
+++ trunk/Source/WebCore/PAL/pal/PlatformAppleWin.cmake	2017-08-01 22:33:18 UTC (rev 220113)
@@ -0,0 +1,8 @@
+list(APPEND PAL_FORWARDING_HEADERS_DIRECTORIES
+)
+
+if (${USE_DIRECT2D})
+else ()
+    list(APPEND PAL_FORWARDING_HEADERS_DIRECTORIES
+    )
+endif ()

Modified: trunk/Source/WebCore/PAL/pal/PlatformWin.cmake (220112 => 220113)


--- trunk/Source/WebCore/PAL/pal/PlatformWin.cmake	2017-08-01 21:42:28 UTC (rev 220112)
+++ trunk/Source/WebCore/PAL/pal/PlatformWin.cmake	2017-08-01 22:33:18 UTC (rev 220113)
@@ -11,10 +11,21 @@
     "${CMAKE_BINARY_DIR}/../include/private"
 )
 
+list(APPEND PAL_FORWARDING_HEADERS_DIRECTORIES .)
+
+if (${WTF_PLATFORM_WIN_CAIRO})
+    include(PlatformWinCairo.cmake)
+else ()
+    include(PlatformAppleWin.cmake)
+endif ()
+
 set(PAL_OUTPUT_NAME PAL${DEBUG_SUFFIX})
 
 file(MAKE_DIRECTORY ${FORWARDING_HEADERS_DIR}/WebCore/pal)
-file(GLOB _files_PAL "${PAL_DIR}/pal/*.h")
-foreach (_file ${_files_PAL})
-    file(COPY ${_file} DESTINATION ${FORWARDING_HEADERS_DIR}/WebCore/pal/)
+foreach (_directory ${PAL_FORWARDING_HEADERS_DIRECTORIES})
+    file(MAKE_DIRECTORY ${FORWARDING_HEADERS_DIR}/WebCore/pal/${_directory})
+    file(GLOB _files "${PAL_DIR}/pal/${_directory}/*.h")
+    foreach (_file ${_files})
+        file(COPY ${_file} DESTINATION ${FORWARDING_HEADERS_DIR}/WebCore/pal/${_directory})
+    endforeach ()
 endforeach ()

Added: trunk/Source/WebCore/PAL/pal/PlatformWinCairo.cmake (0 => 220113)


--- trunk/Source/WebCore/PAL/pal/PlatformWinCairo.cmake	                        (rev 0)
+++ trunk/Source/WebCore/PAL/pal/PlatformWinCairo.cmake	2017-08-01 22:33:18 UTC (rev 220113)
@@ -0,0 +1,2 @@
+list(APPEND PAL_FORWARDING_HEADERS_DIRECTORIES
+)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to