[CMake][Win] Forwarding headers of WTF and PAL are copied twice in Visual Studio...
authordon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Mar 2018 03:19:21 +0000 (03:19 +0000)
committerdon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Mar 2018 03:19:21 +0000 (03:19 +0000)
https://bugs.webkit.org/show_bug.cgi?id=183240

Reviewed by Alex Christensen.

Source/WebCore/PAL:

* pal/CMakeLists.txt:
* pal/PlatformAppleWin.cmake:
* pal/PlatformGTK.cmake:
* pal/PlatformMac.cmake:
* pal/PlatformWPE.cmake:
* pal/PlatformWinCairo.cmake:

Source/WTF:

* wtf/CMakeLists.txt:
* wtf/PlatformGTK.cmake:
* wtf/PlatformJSCOnly.cmake:
* wtf/PlatformMac.cmake:
* wtf/PlatformWPE.cmake:
* wtf/PlatformWin.cmake:

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

14 files changed:
Source/WTF/ChangeLog
Source/WTF/wtf/CMakeLists.txt
Source/WTF/wtf/PlatformGTK.cmake
Source/WTF/wtf/PlatformJSCOnly.cmake
Source/WTF/wtf/PlatformMac.cmake
Source/WTF/wtf/PlatformWPE.cmake
Source/WTF/wtf/PlatformWin.cmake
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/CMakeLists.txt
Source/WebCore/PAL/pal/PlatformAppleWin.cmake
Source/WebCore/PAL/pal/PlatformGTK.cmake
Source/WebCore/PAL/pal/PlatformMac.cmake
Source/WebCore/PAL/pal/PlatformWPE.cmake
Source/WebCore/PAL/pal/PlatformWinCairo.cmake

index bfcf6b3..6efb6f5 100644 (file)
@@ -1,3 +1,17 @@
+2018-03-12  Don Olmstead  <don.olmstead@sony.com>
+
+        [CMake][Win] Forwarding headers of WTF and PAL are copied twice in Visual Studio builds
+        https://bugs.webkit.org/show_bug.cgi?id=183240
+
+        Reviewed by Alex Christensen.
+
+        * wtf/CMakeLists.txt:
+        * wtf/PlatformGTK.cmake:
+        * wtf/PlatformJSCOnly.cmake:
+        * wtf/PlatformMac.cmake:
+        * wtf/PlatformWPE.cmake:
+        * wtf/PlatformWin.cmake:
+
 2018-03-12  Yusuke Suzuki  <utatane.tea@gmail.com>
 
         Unreviewed, include time.h
index 87803de..1a2c4f6 100644 (file)
@@ -1,4 +1,4 @@
-set(WTF_HEADERS
+set(WTF_PUBLIC_HEADERS
     ASCIICType.h
     Algorithms.h
     Assertions.h
@@ -447,7 +447,7 @@ set(WTF_LIBRARIES
 )
 
 if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
-    list(APPEND WTF_HEADERS
+    list(APPEND WTF_PUBLIC_HEADERS
         spi/darwin/CommonCryptoSPI.h
     )
 list(APPEND WTF_PRIVATE_INCLUDE_DIRECTORIES
@@ -497,7 +497,7 @@ WEBKIT_FRAMEWORK(WTF)
 
 WEBKIT_MAKE_FORWARDING_HEADERS(WTF
     DESTINATION ${FORWARDING_HEADERS_DIR}/wtf
-    FILES ${WTF_HEADERS}
+    FILES ${WTF_PUBLIC_HEADERS}
 )
 
 if (MSVC)
index 6ea6f89..46903c3 100644 (file)
@@ -1,6 +1,6 @@
 set(WTF_OUTPUT_NAME WTFGTK)
 
-list(APPEND WTF_HEADERS
+list(APPEND WTF_PUBLIC_HEADERS
     glib/GLibUtilities.h
     glib/GMutexLocker.h
     glib/GRefPtr.h
index e560803..f610c6e 100644 (file)
@@ -10,7 +10,7 @@ if (WIN32)
         win/CPUTimeWin.cpp
         win/LanguageWin.cpp
     )
-    list(APPEND WTF_HEADERS
+    list(APPEND WTF_PUBLIC_HEADERS
         text/win/WCharStringExtras.h
     )
 else ()
index 418fd32..4548390 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND WTF_LIBRARIES
     ${READLINE_LIBRARY}
 )
 
-list(APPEND WTF_HEADERS
+list(APPEND WTF_PUBLIC_HEADERS
     cf/TypeCastsCF.h
 
     cocoa/SoftLinking.h
index 1c224f8..752b599 100644 (file)
@@ -1,4 +1,4 @@
-list(APPEND WTF_HEADERS
+list(APPEND WTF_PUBLIC_HEADERS
     glib/GLibUtilities.h
     glib/GMutexLocker.h
     glib/GRefPtr.h
index 20d6b17..014d739 100644 (file)
@@ -1,4 +1,4 @@
-list(APPEND WTF_HEADERS
+list(APPEND WTF_PUBLIC_HEADERS
     text/win/WCharStringExtras.h
 
     win/GDIObject.h
@@ -21,7 +21,7 @@ list(APPEND WTF_SOURCES
 )
 
 if (USE_CF)
-    list(APPEND WTF_HEADERS
+    list(APPEND WTF_PUBLIC_HEADERS
         cf/TypeCastsCF.h
 
         text/cf/TextBreakIteratorCF.h
index d8cd3a1..ec9b9f5 100644 (file)
@@ -1,3 +1,17 @@
+2018-03-12  Don Olmstead  <don.olmstead@sony.com>
+
+        [CMake][Win] Forwarding headers of WTF and PAL are copied twice in Visual Studio builds
+        https://bugs.webkit.org/show_bug.cgi?id=183240
+
+        Reviewed by Alex Christensen.
+
+        * pal/CMakeLists.txt:
+        * pal/PlatformAppleWin.cmake:
+        * pal/PlatformGTK.cmake:
+        * pal/PlatformMac.cmake:
+        * pal/PlatformWPE.cmake:
+        * pal/PlatformWinCairo.cmake:
+
 2018-03-12  Tim Horton  <timothy_horton@apple.com>
 
         Stop using SDK conditionals to control feature definitions
index 82684f4..aebe481 100644 (file)
@@ -1,4 +1,4 @@
-set(PAL_HEADERS
+set(PAL_PUBLIC_HEADERS
     ExportMacros.h
     FileSizeFormatter.h
     HysteresisActivity.h
@@ -52,5 +52,5 @@ WEBKIT_FRAMEWORK(PAL)
 
 WEBKIT_MAKE_FORWARDING_HEADERS(PAL
     DESTINATION ${FORWARDING_HEADERS_DIR}/pal
-    FILES ${PAL_HEADERS}
+    FILES ${PAL_PUBLIC_HEADERS}
 )
index c92de5b..3521652 100644 (file)
@@ -1,4 +1,4 @@
-list(APPEND PAL_HEADERS
+list(APPEND PAL_PUBLIC_HEADERS
     avfoundation/MediaTimeAVFoundation.h
 
     cf/CoreMediaSoftLink.h
@@ -15,7 +15,7 @@ list(APPEND PAL_HEADERS
 
 if (${USE_DIRECT2D})
 else ()
-    list(APPEND PAL_HEADERS
+    list(APPEND PAL_PUBLIC_HEADERS
         spi/cg/CoreGraphicsSPI.h
         spi/cg/ImageIOSPI.h
     )
index e6a03c2..ad4142b 100644 (file)
@@ -1,4 +1,4 @@
-list(APPEND PAL_HEADERS
+list(APPEND PAL_PUBLIC_HEADERS
     crypto/gcrypt/Handle.h
     crypto/gcrypt/Initialization.h
     crypto/gcrypt/Utilities.h
@@ -21,7 +21,7 @@ list(APPEND PAL_SOURCES
 )
 
 if (ENABLE_SUBTLE_CRYPTO)
-    list(APPEND PAL_HEADERS
+    list(APPEND PAL_PUBLIC_HEADERS
         crypto/tasn1/Utilities.h
     )
 
index 46e9ae3..3900574 100644 (file)
@@ -1,4 +1,4 @@
-list(APPEND PAL_HEADERS
+list(APPEND PAL_PUBLIC_HEADERS
     avfoundation/MediaTimeAVFoundation.h
 
     cf/CoreMediaSoftLink.h
index d0df9cf..c014099 100644 (file)
@@ -1,4 +1,4 @@
-list(APPEND PAL_HEADERS
+list(APPEND PAL_PUBLIC_HEADERS
     crypto/gcrypt/Handle.h
     crypto/gcrypt/Initialization.h
     crypto/gcrypt/Utilities.h
@@ -20,7 +20,7 @@ list(APPEND PAL_SOURCES
 )
 
 if (ENABLE_SUBTLE_CRYPTO)
-    list(APPEND PAL_HEADERS
+    list(APPEND PAL_PUBLIC_HEADERS
         crypto/tasn1/Utilities.h
     )