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
8 changed files with 21 additions and 19 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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