1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:07:46 +00:00

Ladybird: Remove Qt dependency from RequestServer

This requires two parts: Core::System::current_executable_path(), and
passing the serenity-resource-root as an argument to the process.
This commit is contained in:
Andrew Kaster 2023-08-02 17:21:17 -06:00 committed by Andreas Kling
parent bb831a27dd
commit a1e5a6ac40
6 changed files with 17 additions and 29 deletions

View file

@ -1,14 +1,5 @@
import("//Ladybird/link_qt.gni")
link_qt("RequestServer_qt") {
qt_components = [ "Core" ]
}
executable("RequestServer") {
configs += [
"//Ladybird:ladybird_config",
":RequestServer_qt",
]
configs += [ "//Ladybird:ladybird_config" ]
include_dirs = [
"//Userland/Libraries",
"//Userland/Services",
@ -26,7 +17,6 @@ executable("RequestServer") {
"//Userland/Libraries/LibTLS",
]
sources = [
"../Utilities.cpp",
"//Userland/Services/RequestServer/ConnectionCache.cpp",
"//Userland/Services/RequestServer/ConnectionFromClient.cpp",
"//Userland/Services/RequestServer/GeminiProtocol.cpp",