mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
WebDriver: Move all WebDriver configuration to Services
This commit is contained in:
parent
d5c2d11ac7
commit
19fb790dc6
Notes:
github-actions[bot]
2024-11-09 16:56:41 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/19fb790dc62 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2251
5 changed files with 10 additions and 11 deletions
|
@ -89,6 +89,7 @@ endif()
|
|||
include(CTest) # for BUILD_TESTING option, default ON
|
||||
|
||||
if (ENABLE_GUI_TARGETS)
|
||||
add_subdirectory(Userland/Services)
|
||||
add_subdirectory(Ladybird)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -135,7 +135,6 @@ add_subdirectory(Headless)
|
|||
add_subdirectory(ImageDecoder)
|
||||
add_subdirectory(RequestServer)
|
||||
add_subdirectory(WebContent)
|
||||
add_subdirectory(WebDriver)
|
||||
add_subdirectory(WebWorker)
|
||||
|
||||
set(ladybird_helper_processes ImageDecoder RequestServer WebContent WebWorker)
|
||||
|
|
1
Userland/Services/CMakeLists.txt
Normal file
1
Userland/Services/CMakeLists.txt
Normal file
|
@ -0,0 +1 @@
|
|||
add_subdirectory(WebDriver)
|
|
@ -1,18 +1,16 @@
|
|||
set(WEBDRIVER_SOURCE_DIR ${LADYBIRD_SOURCE_DIR}/Userland/Services/WebDriver)
|
||||
|
||||
set(SOURCES
|
||||
${WEBDRIVER_SOURCE_DIR}/Client.cpp
|
||||
${WEBDRIVER_SOURCE_DIR}/Session.cpp
|
||||
${WEBDRIVER_SOURCE_DIR}/WebContentConnection.cpp
|
||||
../Utilities.cpp
|
||||
${LADYBIRD_SOURCE_DIR}/Ladybird/Utilities.cpp
|
||||
Client.cpp
|
||||
Session.cpp
|
||||
WebContentConnection.cpp
|
||||
main.cpp
|
||||
)
|
||||
|
||||
add_executable(WebDriver ${SOURCES})
|
||||
|
||||
target_include_directories(WebDriver PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/..)
|
||||
target_include_directories(WebDriver PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
|
||||
target_include_directories(WebDriver PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../..)
|
||||
target_include_directories(WebDriver PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/../..)
|
||||
target_include_directories(WebDriver PRIVATE ${LADYBIRD_SOURCE_DIR}/Userland)
|
||||
target_include_directories(WebDriver PRIVATE ${LADYBIRD_SOURCE_DIR}/Userland/Services)
|
||||
|
||||
target_link_libraries(WebDriver PRIVATE LibCore LibFileSystem LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket LibWebView)
|
||||
add_dependencies(WebDriver headless-browser)
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Tim Flynn <trflynn89@serenityos.org>
|
||||
* Copyright (c) 2022-2024, Tim Flynn <trflynn89@laybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
Loading…
Reference in a new issue