mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09: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: 19fb790dc6
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
|
include(CTest) # for BUILD_TESTING option, default ON
|
||||||
|
|
||||||
if (ENABLE_GUI_TARGETS)
|
if (ENABLE_GUI_TARGETS)
|
||||||
|
add_subdirectory(Userland/Services)
|
||||||
add_subdirectory(Ladybird)
|
add_subdirectory(Ladybird)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -135,7 +135,6 @@ add_subdirectory(Headless)
|
||||||
add_subdirectory(ImageDecoder)
|
add_subdirectory(ImageDecoder)
|
||||||
add_subdirectory(RequestServer)
|
add_subdirectory(RequestServer)
|
||||||
add_subdirectory(WebContent)
|
add_subdirectory(WebContent)
|
||||||
add_subdirectory(WebDriver)
|
|
||||||
add_subdirectory(WebWorker)
|
add_subdirectory(WebWorker)
|
||||||
|
|
||||||
set(ladybird_helper_processes ImageDecoder RequestServer WebContent 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
|
set(SOURCES
|
||||||
${WEBDRIVER_SOURCE_DIR}/Client.cpp
|
${LADYBIRD_SOURCE_DIR}/Ladybird/Utilities.cpp
|
||||||
${WEBDRIVER_SOURCE_DIR}/Session.cpp
|
Client.cpp
|
||||||
${WEBDRIVER_SOURCE_DIR}/WebContentConnection.cpp
|
Session.cpp
|
||||||
../Utilities.cpp
|
WebContentConnection.cpp
|
||||||
main.cpp
|
main.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(WebDriver ${SOURCES})
|
add_executable(WebDriver ${SOURCES})
|
||||||
|
|
||||||
target_include_directories(WebDriver PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/..)
|
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_BINARY_DIR}/../..)
|
||||||
target_include_directories(WebDriver PRIVATE ${LADYBIRD_SOURCE_DIR}/Userland)
|
target_include_directories(WebDriver PRIVATE ${LADYBIRD_SOURCE_DIR}/Userland)
|
||||||
target_include_directories(WebDriver PRIVATE ${LADYBIRD_SOURCE_DIR}/Userland/Services)
|
target_include_directories(WebDriver PRIVATE ${LADYBIRD_SOURCE_DIR}/Userland/Services)
|
||||||
|
|
||||||
target_link_libraries(WebDriver PRIVATE LibCore LibFileSystem LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket LibWebView)
|
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
|
* SPDX-License-Identifier: BSD-2-Clause
|
||||||
*/
|
*/
|
Loading…
Add table
Add a link
Reference in a new issue