Changeset 264786 in webkit


Ignore:
Timestamp:
Jul 23, 2020 1:27:43 PM (4 years ago)
Author:
Fujii Hironori
Message:

[CMake][Win] Build StructuredExceptionHandlerSuppressor.cpp and makesafeseh.asm only for AppleWin
https://bugs.webkit.org/show_bug.cgi?id=214671

Reviewed by Per Arne Vollan.

StructuredExceptionHandlerSuppressor is used only by AppleWin port
in platform/graphics/ca/win/LayerChangesFlusher.cpp.
makesafeseh.asm causes a building problem for 32bit WinCairo
because it is using OBJECT library type for WebCore.

  • PlatformAppleWin.cmake: Added build rules for them.
  • PlatformWin.cmake: Removed build rules for them.
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r264784 r264786  
     12020-07-23  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [CMake][Win] Build StructuredExceptionHandlerSuppressor.cpp and makesafeseh.asm only for AppleWin
     4        https://bugs.webkit.org/show_bug.cgi?id=214671
     5
     6        Reviewed by Per Arne Vollan.
     7
     8        StructuredExceptionHandlerSuppressor is used only by AppleWin port
     9        in platform/graphics/ca/win/LayerChangesFlusher.cpp.
     10        makesafeseh.asm causes a building problem for 32bit WinCairo
     11        because it is using OBJECT library type for WebCore.
     12
     13        * PlatformAppleWin.cmake: Added build rules for them.
     14        * PlatformWin.cmake: Removed build rules for them.
     15
    1162020-07-23  Andres Gonzalez  <andresg_22@apple.com>
    217
  • trunk/Source/WebCore/PlatformAppleWin.cmake

    r256892 r264786  
    5454
    5555    platform/text/LocaleNone.cpp
     56
     57    platform/win/StructuredExceptionHandlerSuppressor.cpp
    5658)
    5759
     
    185187    )
    186188endif ()
     189
     190if (CMAKE_SIZEOF_VOID_P EQUAL 4)
     191    list(APPEND WebCore_SOURCES ${WebCore_DERIVED_SOURCES_DIR}/makesafeseh.obj)
     192    add_custom_command(
     193        OUTPUT ${WebCore_DERIVED_SOURCES_DIR}/makesafeseh.obj
     194        DEPENDS ${WEBCORE_DIR}/platform/win/makesafeseh.asm
     195        COMMAND ml /safeseh /c /Fo ${WebCore_DERIVED_SOURCES_DIR}/makesafeseh.obj ${WEBCORE_DIR}/platform/win/makesafeseh.asm
     196        VERBATIM)
     197endif ()
  • trunk/Source/WebCore/PlatformWin.cmake

    r261264 r264786  
    9898    platform/win/SearchPopupMenuWin.cpp
    9999    platform/win/SharedBufferWin.cpp
    100     platform/win/StructuredExceptionHandlerSuppressor.cpp
    101100    platform/win/SystemInfo.cpp
    102101    platform/win/UserAgentWin.cpp
     
    203202endif ()
    204203
    205 if (CMAKE_SIZEOF_VOID_P EQUAL 4)
    206     list(APPEND WebCore_SOURCES ${WebCore_DERIVED_SOURCES_DIR}/makesafeseh.obj)
    207     add_custom_command(
    208         OUTPUT ${WebCore_DERIVED_SOURCES_DIR}/makesafeseh.obj
    209         DEPENDS ${WEBCORE_DIR}/platform/win/makesafeseh.asm
    210         COMMAND ml /safeseh /c /Fo ${WebCore_DERIVED_SOURCES_DIR}/makesafeseh.obj ${WEBCORE_DIR}/platform/win/makesafeseh.asm
    211         VERBATIM)
    212 endif ()
    213 
    214204if (${WTF_PLATFORM_WIN_CAIRO})
    215205    include(PlatformWinCairo.cmake)
Note: See TracChangeset for help on using the changeset viewer.