mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-18 00:32:03 +03:00
e64f66685a
Official WebKit no longer supports Mac 10.14. However, since this system is still very much in use, we want to be able to keep it running for a while. This patch adds a new browser that we would compile and maintain specifically for Mac 10.14: `deprecated-webkit-mac-10.14`. This browser is a clone of Webkit r1443 that is the last known revision to compile on Mac 10.14. As we move on, we're free to modify this browser however we want, backporting important patches. References #5833
42 lines
938 B
CMake
42 lines
938 B
CMake
set(Playwright_PRIVATE_INCLUDE_DIRECTORIES
|
|
${CMAKE_BINARY_DIR}
|
|
${WebCore_PRIVATE_FRAMEWORK_HEADERS_DIR}
|
|
)
|
|
|
|
set(Playwright_SOURCES
|
|
Common.cpp
|
|
MainWindow.cpp
|
|
PlaywrightLib.rc
|
|
WebKitBrowserWindow.cpp
|
|
WinMain.cpp
|
|
stdafx.cpp
|
|
)
|
|
|
|
set(Playwright_PRIVATE_DEFINITIONS _UNICODE)
|
|
set(Playwright_PRIVATE_LIBRARIES
|
|
WebKit::WTF
|
|
comctl32
|
|
shlwapi
|
|
user32
|
|
)
|
|
|
|
list(APPEND Playwright_PRIVATE_DEFINITIONS ENABLE_WEBKIT)
|
|
list(APPEND Playwright_SOURCES
|
|
WebKitBrowserWindow.cpp
|
|
)
|
|
list(APPEND Playwright_PRIVATE_LIBRARIES
|
|
WebKit::WebKit
|
|
)
|
|
|
|
WEBKIT_EXECUTABLE_DECLARE(Playwright)
|
|
WEBKIT_WRAP_EXECUTABLE(Playwright
|
|
SOURCES ${TOOLS_DIR}/win/DLLLauncher/DLLLauncherMain.cpp Playwright.rc
|
|
LIBRARIES shlwapi
|
|
)
|
|
WEBKIT_EXECUTABLE(Playwright)
|
|
|
|
set_target_properties(Playwright PROPERTIES WIN32_EXECUTABLE ON)
|
|
if (${WTF_PLATFORM_WIN_CAIRO})
|
|
target_compile_definitions(Playwright PRIVATE WIN_CAIRO)
|
|
endif ()
|