mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	This leaves our firefox diff to gecko instrumentation changes only. Drive-by: rename webkit "src" folder into "embedder".
		
			
				
	
	
		
			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 ()
 |