Title: [196589] trunk
Revision
196589
Author
[email protected]
Date
2016-02-15 12:30:52 -0800 (Mon, 15 Feb 2016)

Log Message

Fix internal Windows build of projects built after WebKit
https://bugs.webkit.org/show_bug.cgi?id=154249
rdar://problem/24644805

Reviewed by Chris Dumez.

Source/WebKit:

* PlatformWin.cmake:
Copy all generated headers to ForwardingHeaders/WebKit, not just WebKit.h.
This should fix problems related to not finding headers from other projects, such as AccessibleApplication.h.
WebKit.h, WebKitCOMAPI.h, and CFDictionaryPropertyBag.h were copied correctly, so this should copy the rest
of the needed headers.

Tools:

* DumpRenderTree/PlatformWin.cmake:
* MiniBrowser/win/CMakeLists.txt:
Don't include DerivedSources/WebKit/Interfaces to make MiniBrowser and DumpRenderTree
more like projects built internally after WebKit.  They should only need to use what
is in ForwardingHeaders/WebKit.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (196588 => 196589)


--- trunk/Source/WebKit/ChangeLog	2016-02-15 20:09:54 UTC (rev 196588)
+++ trunk/Source/WebKit/ChangeLog	2016-02-15 20:30:52 UTC (rev 196589)
@@ -1,3 +1,17 @@
+2016-02-15  Alex Christensen  <[email protected]>
+
+        Fix internal Windows build of projects built after WebKit
+        https://bugs.webkit.org/show_bug.cgi?id=154249
+        rdar://problem/24644805
+
+        Reviewed by Chris Dumez.
+
+        * PlatformWin.cmake:
+        Copy all generated headers to ForwardingHeaders/WebKit, not just WebKit.h.
+        This should fix problems related to not finding headers from other projects, such as AccessibleApplication.h.
+        WebKit.h, WebKitCOMAPI.h, and CFDictionaryPropertyBag.h were copied correctly, so this should copy the rest
+        of the needed headers.
+
 2016-02-12  Alex Christensen  <[email protected]>
 
         Fix internal Windows WebKit debug build.

Modified: trunk/Source/WebKit/PlatformWin.cmake (196588 => 196589)


--- trunk/Source/WebKit/PlatformWin.cmake	2016-02-15 20:09:54 UTC (rev 196588)
+++ trunk/Source/WebKit/PlatformWin.cmake	2016-02-15 20:30:52 UTC (rev 196589)
@@ -469,7 +469,7 @@
 add_custom_command(TARGET WebKitGUID PRE_BUILD COMMAND ${WebKitGUID_PRE_BUILD_COMMAND} VERBATIM)
 
 set(WebKitGUID_POST_BUILD_COMMAND "${CMAKE_BINARY_DIR}/DerivedSources/WebKit/postBuild.cmd")
-file(WRITE "${WebKitGUID_POST_BUILD_COMMAND}" "@xcopy /y /d /f \"${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/WebKit.h\" \"${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKit\" >nul 2>nul")
+file(WRITE "${WebKitGUID_POST_BUILD_COMMAND}" "@xcopy /y /d /f \"${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/*.h\" \"${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKit\" >nul 2>nul")
 add_custom_command(TARGET WebKitGUID POST_BUILD COMMAND ${WebKitGUID_POST_BUILD_COMMAND} VERBATIM)
 
 set(WebKit_OUTPUT_NAME

Modified: trunk/Tools/ChangeLog (196588 => 196589)


--- trunk/Tools/ChangeLog	2016-02-15 20:09:54 UTC (rev 196588)
+++ trunk/Tools/ChangeLog	2016-02-15 20:30:52 UTC (rev 196589)
@@ -1,3 +1,17 @@
+2016-02-15  Alex Christensen  <[email protected]>
+
+        Fix internal Windows build of projects built after WebKit
+        https://bugs.webkit.org/show_bug.cgi?id=154249
+        rdar://problem/24644805
+
+        Reviewed by Chris Dumez.
+
+        * DumpRenderTree/PlatformWin.cmake:
+        * MiniBrowser/win/CMakeLists.txt:
+        Don't include DerivedSources/WebKit/Interfaces to make MiniBrowser and DumpRenderTree
+        more like projects built internally after WebKit.  They should only need to use what
+        is in ForwardingHeaders/WebKit.
+
 2016-02-12  Nan Wang  <[email protected]>
 
         AX: Implement paragraph related text marker functions using TextIterator

Modified: trunk/Tools/DumpRenderTree/PlatformWin.cmake (196588 => 196589)


--- trunk/Tools/DumpRenderTree/PlatformWin.cmake	2016-02-15 20:09:54 UTC (rev 196588)
+++ trunk/Tools/DumpRenderTree/PlatformWin.cmake	2016-02-15 20:30:52 UTC (rev 196589)
@@ -71,7 +71,6 @@
     TestNetscapePlugin/Tests
     TestNetscapePlugin/win
     TestNetscapePlugin/Tests/win
-    ${DERIVED_SOURCES_DIR}/WebKit/Interfaces
 )
 
 list(APPEND DumpRenderTree_LIBRARIES

Modified: trunk/Tools/MiniBrowser/win/CMakeLists.txt (196588 => 196589)


--- trunk/Tools/MiniBrowser/win/CMakeLists.txt	2016-02-15 20:09:54 UTC (rev 196588)
+++ trunk/Tools/MiniBrowser/win/CMakeLists.txt	2016-02-15 20:30:52 UTC (rev 196589)
@@ -2,8 +2,6 @@
     ../MiniBrowser.vcxproj
     "${DERIVED_SOURCES_DIR}/ForwardingHeaders"
     "${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKit"
-    "${DERIVED_SOURCES_DIR}"
-    "${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces"
     "${WTF_DIR}"
     "${CMAKE_SOURCE_DIR}"
     "${CMAKE_SOURCE_DIR}/Source"
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to