Title: [252165] trunk/Tools
Revision
252165
Author
[email protected]
Date
2019-11-06 18:04:31 -0800 (Wed, 06 Nov 2019)

Log Message

[Win] DumpRenderTree.exe and WebKitTestRunner.exe shouldn't link with WebCoreTestSupport
https://bugs.webkit.org/show_bug.cgi?id=203879

Reviewed by Ross Kirsling.

After r252086, WinCairo DumpRenderTree.exe and
WebKitTestRunner.exe can't start because they are linked with
WinCairoRequirements DLLs unexpectedly.

DumpRenderTree.exe and WebKitTestRunner.exe are just wrapper
programs. They shouldn't link with WinCairoRequirements libs.

* DumpRenderTree/PlatformWin.cmake: Set DumpRenderTree_LIBRARIES only shlwapi.
* WebKitTestRunner/PlatformWin.cmake: Set WebKitTestRunner_LIBRARIES only shlwapi.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (252164 => 252165)


--- trunk/Tools/ChangeLog	2019-11-07 01:55:07 UTC (rev 252164)
+++ trunk/Tools/ChangeLog	2019-11-07 02:04:31 UTC (rev 252165)
@@ -1,3 +1,20 @@
+2019-11-06  Fujii Hironori  <[email protected]>
+
+        [Win] DumpRenderTree.exe and WebKitTestRunner.exe shouldn't link with WebCoreTestSupport
+        https://bugs.webkit.org/show_bug.cgi?id=203879
+
+        Reviewed by Ross Kirsling.
+
+        After r252086, WinCairo DumpRenderTree.exe and
+        WebKitTestRunner.exe can't start because they are linked with
+        WinCairoRequirements DLLs unexpectedly.
+
+        DumpRenderTree.exe and WebKitTestRunner.exe are just wrapper
+        programs. They shouldn't link with WinCairoRequirements libs.
+
+        * DumpRenderTree/PlatformWin.cmake: Set DumpRenderTree_LIBRARIES only shlwapi.
+        * WebKitTestRunner/PlatformWin.cmake: Set WebKitTestRunner_LIBRARIES only shlwapi.
+
 2019-11-06  Kate Cheney  <[email protected]>
 
         Update entry in contributors.json to fix commit privileges.

Modified: trunk/Tools/DumpRenderTree/PlatformWin.cmake (252164 => 252165)


--- trunk/Tools/DumpRenderTree/PlatformWin.cmake	2019-11-07 01:55:07 UTC (rev 252164)
+++ trunk/Tools/DumpRenderTree/PlatformWin.cmake	2019-11-07 02:04:31 UTC (rev 252165)
@@ -68,18 +68,18 @@
     TestNetscapePlugIn/Tests/win
 )
 
-list(APPEND DumpRenderTree_LIBRARIES
-    WebKitLegacy
-    shlwapi
-)
-
 set(DumpRenderTreeLib_LIBRARIES
     ${DumpRenderTree_LIBRARIES}
     Comsuppw
     Oleacc
+    WebKitLegacy
     WebKitLegacyGUID
 )
 
+set(DumpRenderTree_LIBRARIES
+    shlwapi
+)
+
 if (${WTF_PLATFORM_WIN_CAIRO})
     list(APPEND DumpRenderTree_INCLUDE_DIRECTORIES
         cairo

Modified: trunk/Tools/WebKitTestRunner/PlatformWin.cmake (252164 => 252165)


--- trunk/Tools/WebKitTestRunner/PlatformWin.cmake	2019-11-07 01:55:07 UTC (rev 252164)
+++ trunk/Tools/WebKitTestRunner/PlatformWin.cmake	2019-11-07 02:04:31 UTC (rev 252165)
@@ -35,8 +35,8 @@
     Oleacc
 )
 
-list(APPEND WebKitTestRunner_LIBRARIES
-    WebKit
+set(WebKitTestRunner_LIBRARIES
+    shlwapi
 )
 
 set(WebKitTestRunnerInjectedBundle_LIBRARIES
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to