1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 14:57:35 +00:00
serenity/Meta/gn/secondary/Ladybird/WebDriver/BUILD.gn
Andrew Kaster ea59bfaae7 Ladybird: Move helper processes to CMAKE_INSTALL_LIBEXECDIR
It aligns better with the Filesystem Heirarchy Standard[1] to put our
program-specific helper programs that are not intended to be executed by
the user of the application in $prefix/libexec or in whatever the
packager sets as the CMake equivalent. Namely, on Debian systems this
should be /usr/lib/Ladybird or similar.

[1] https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrlibexec
2024-02-26 13:16:27 -07:00

31 lines
935 B
Text

import("//Ladybird/link_qt.gni")
executable("WebDriver") {
configs += [ "//Ladybird:ladybird_config" ]
include_dirs = [
"//Userland/Services",
"//Ladybird",
]
data_deps = [ "//Ladybird:headless-browser" ]
deps = [
"//AK",
"//Userland/Libraries/LibCore",
"//Userland/Libraries/LibFileSystem",
"//Userland/Libraries/LibGfx",
"//Userland/Libraries/LibIPC",
"//Userland/Libraries/LibJS",
"//Userland/Libraries/LibMain",
"//Userland/Libraries/LibWeb",
"//Userland/Libraries/LibWebSocket",
"//Userland/Libraries/LibWebView:WebDriverClientEndpoint",
"//Userland/Libraries/LibWebView:WebDriverServerEndpoint",
]
sources = [
"//Ladybird/Utilities.cpp",
"//Userland/Services/WebDriver/Client.cpp",
"//Userland/Services/WebDriver/Session.cpp",
"//Userland/Services/WebDriver/WebContentConnection.cpp",
"main.cpp",
]
output_dir = "$root_out_dir/libexec"
}