Title: [194434] trunk/Source/WebCore
- Revision
- 194434
- Author
- [email protected]
- Date
- 2015-12-28 21:15:56 -0800 (Mon, 28 Dec 2015)
Log Message
Fix Windows build, ostensibly after r194424.
* CMakeLists.txt:
* PlatformWin.cmake:
ml.exe was given too many unneeded parameters (/Idir1 /Idir2 etc.), and it was failing sometimes with long directories.
Instead of compiling makesafeseh.asm as a normal source file, we now put only the parameters that are needed to assemble
the object file, then link with the object file.
Modified Paths
Diff
Modified: trunk/Source/WebCore/CMakeLists.txt (194433 => 194434)
--- trunk/Source/WebCore/CMakeLists.txt 2015-12-29 00:50:48 UTC (rev 194433)
+++ trunk/Source/WebCore/CMakeLists.txt 2015-12-29 05:15:56 UTC (rev 194434)
@@ -3730,10 +3730,6 @@
if (MSVC)
ADD_PRECOMPILED_HEADER("WebCorePrefix.h" "WebCorePrefix.cpp" WebCore_SOURCES)
- if (CMAKE_SIZEOF_VOID_P EQUAL 4)
- list(APPEND WebCore_SOURCES platform/win/makesafeseh.asm)
- set_source_files_properties(platform/win/makesafeseh.asm PROPERTIES COMPILE_FLAGS "/safeseh")
- endif ()
endif ()
add_library(WebCore ${WebCore_LIBRARY_TYPE} ${WebCore_SOURCES})
Modified: trunk/Source/WebCore/ChangeLog (194433 => 194434)
--- trunk/Source/WebCore/ChangeLog 2015-12-29 00:50:48 UTC (rev 194433)
+++ trunk/Source/WebCore/ChangeLog 2015-12-29 05:15:56 UTC (rev 194434)
@@ -1,3 +1,13 @@
+2015-12-28 Alex Christensen <[email protected]>
+
+ Fix Windows build, ostensibly after r194424.
+
+ * CMakeLists.txt:
+ * PlatformWin.cmake:
+ ml.exe was given too many unneeded parameters (/Idir1 /Idir2 etc.), and it was failing sometimes with long directories.
+ Instead of compiling makesafeseh.asm as a normal source file, we now put only the parameters that are needed to assemble
+ the object file, then link with the object file.
+
2015-12-28 Brady Eidson <[email protected]>
Modern IDB: Rename IDBServerOperation to ServerOpenDBRequest.
Modified: trunk/Source/WebCore/PlatformWin.cmake (194433 => 194434)
--- trunk/Source/WebCore/PlatformWin.cmake 2015-12-29 00:50:48 UTC (rev 194433)
+++ trunk/Source/WebCore/PlatformWin.cmake 2015-12-29 05:15:56 UTC (rev 194434)
@@ -40,7 +40,6 @@
"${THIRDPARTY_DIR}/ANGLE/include/egl"
)
-enable_language(ASM_MASM)
list(APPEND WebCore_SOURCES
accessibility/win/AXObjectCacheWin.cpp
accessibility/win/AccessibilityObjectWin.cpp
@@ -246,6 +245,15 @@
svg/graphics/filters
)
+if (CMAKE_SIZEOF_VOID_P EQUAL 4)
+ list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/makesafeseh.obj)
+ add_custom_command(
+ OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/makesafeseh.obj
+ DEPENDS ${WEBCORE_DIR}/platform/win/makesafeseh.asm
+ COMMAND ml /safeseh /c /Fo ${DERIVED_SOURCES_WEBCORE_DIR}/makesafeseh.obj ${WEBCORE_DIR}/platform/win/makesafeseh.asm
+ VERBATIM)
+endif ()
+
if (${WTF_PLATFORM_WIN_CAIRO})
include(PlatformWinCairo.cmake)
else ()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes