mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 08:29:58 +00:00
7bc009d80f
This template app from Android Studio should hopefully be more fun to work on than the Qt wrapped application we were using before. :^) It currently builds the native code using gradle rules, and has a stub WebViewImplementationNative class that will wrap a c++ class of the same name that inhertis from WebView::ViewImplementation. Spawning helper processes and creating proper views in Kotlin is next on the list.
19 lines
772 B
CMake
19 lines
772 B
CMake
set(WEBDRIVER_SOURCE_DIR ${SERENITY_SOURCE_DIR}/Userland/Services/WebDriver)
|
|
|
|
set(SOURCES
|
|
${WEBDRIVER_SOURCE_DIR}/Client.cpp
|
|
${WEBDRIVER_SOURCE_DIR}/Session.cpp
|
|
${WEBDRIVER_SOURCE_DIR}/WebContentConnection.cpp
|
|
../Utilities.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 ${SERENITY_SOURCE_DIR}/Userland)
|
|
target_include_directories(WebDriver PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services)
|
|
target_link_libraries(WebDriver PRIVATE LibCore LibFileSystem LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket)
|
|
add_dependencies(WebDriver headless-browser)
|