Meta: Update non-LibWeb libraries in gn build

This commit is contained in:
Andrew Kaster 2024-09-25 14:36:02 -06:00 committed by Andrew Kaster
parent e53ad772f3
commit 9bcdf8eafe
Notes: github-actions[bot] 2024-09-27 16:16:18 +00:00
8 changed files with 21 additions and 19 deletions

View file

@ -1,6 +1,7 @@
shared_library("LibDiff") {
include_dirs = [ "//Userland/Libraries" ]
sources = [
"Applier.cpp",
"Format.cpp",
"Generator.cpp",
"Hunks.cpp",

View file

@ -4,8 +4,6 @@ shared_library("LibHTTP") {
sources = [
"HttpRequest.cpp",
"HttpResponse.cpp",
"HttpsJob.cpp",
"Job.cpp",
]
deps = [
"//AK",

View file

@ -7,7 +7,7 @@ shared_library("LibIDL") {
]
deps = [
"//AK",
"//Userland/Libraries/LibCore",
"//Userland/Libraries/LibCore:minimal",
"//Userland/Libraries/LibFileSystem",
]
}

View file

@ -1,11 +1,6 @@
shared_library("LibJS") {
output_name = "js"
include_dirs = [
"//Userland/Libraries",
# FIXME: Why does LibSyntax need to depend on WindowServer headers?
"//Userland",
]
include_dirs = [ "//Userland/Libraries" ]
cflags_cc = [ "-fno-omit-frame-pointer" ]
deps = [
"//AK",
@ -88,6 +83,7 @@ shared_library("LibJS") {
"Runtime/BoundFunction.cpp",
"Runtime/Completion.cpp",
"Runtime/ConsoleObject.cpp",
"Runtime/ConsoleObjectPrototype.cpp",
"Runtime/DataView.cpp",
"Runtime/DataViewConstructor.cpp",
"Runtime/DataViewPrototype.cpp",
@ -167,6 +163,7 @@ shared_library("LibJS") {
"Runtime/IteratorPrototype.cpp",
"Runtime/JSONObject.cpp",
"Runtime/JobCallback.cpp",
"Runtime/KeyedCollections.cpp",
"Runtime/Map.cpp",
"Runtime/MapConstructor.cpp",
"Runtime/MapIterator.cpp",
@ -266,6 +263,7 @@ shared_library("LibJS") {
"Runtime/TypedArray.cpp",
"Runtime/TypedArrayConstructor.cpp",
"Runtime/TypedArrayPrototype.cpp",
"Runtime/Uint8Array.cpp",
"Runtime/Utf16String.cpp",
"Runtime/VM.cpp",
"Runtime/Value.cpp",

View file

@ -1,17 +1,10 @@
shared_library("LibSyntax") {
output_name = "syntax"
include_dirs = [
"//Userland/Libraries",
# FIXME: Why does this library need to depend on WindowServer headers?
"//Userland",
]
include_dirs = [ "//Userland/Libraries" ]
sources = [
"Document.cpp",
"Highlighter.cpp",
"Language.cpp",
]
deps = [
"//AK",
"//Userland/Libraries/LibUnicode",
]
deps = [ "//AK" ]
}

View file

@ -5,6 +5,12 @@ shared_library("LibTest") {
"CrashTest.cpp",
"CrashTest.h",
"Macros.h",
"Randomized/Chunk.h",
"Randomized/Generator.h",
"Randomized/RandomRun.h",
"Randomized/RandomnessSource.h",
"Randomized/Shrink.h",
"Randomized/ShrinkCommand.h",
"Results.h",
"TestCase.h",
"TestRunner.h",

View file

@ -18,6 +18,7 @@ shared_library("LibWasm") {
"AbstractMachine/Validator.cpp",
"Parser/Parser.cpp",
"Printer/Printer.cpp",
"WASI/Wasi.cpp",
]
deps = [
"//AK",

View file

@ -130,21 +130,26 @@ shared_library("LibWebView") {
":WebDriverServerEndpoint",
":generate_native_stylesheet_source",
"//AK",
"//Meta/gn/build/libs/sqlite3",
"//Userland/Libraries/LibCore",
"//Userland/Libraries/LibFileSystem",
"//Userland/Libraries/LibGfx",
"//Userland/Libraries/LibIPC",
"//Userland/Libraries/LibImageDecoderClient",
"//Userland/Libraries/LibJS",
"//Userland/Libraries/LibRequests",
"//Userland/Libraries/LibURL",
"//Userland/Libraries/LibUnicode",
"//Userland/Libraries/LibWeb",
]
sources = [
"Application.cpp",
"Attribute.cpp",
"ChromeProcess.cpp",
"CookieJar.cpp",
"Database.cpp",
"InspectorClient.cpp",
"Process.cpp",
"ProcessHandle.cpp",
"ProcessManager.cpp",
"RequestServerAdapter.cpp",