mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +00:00
Meta: Add dependencies for the JS repl to the gn build
This commit is contained in:
parent
165a67b115
commit
bf02069a89
Notes:
sideshowbarker
2024-07-16 23:34:49 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/bf02069a89 Pull-request: https://github.com/SerenityOS/serenity/pull/18663 Reviewed-by: https://github.com/BenWiederhake Reviewed-by: https://github.com/BertalanD Reviewed-by: https://github.com/nico
4 changed files with 37 additions and 1 deletions
|
@ -4,7 +4,7 @@ group("default") {
|
|||
deps = [
|
||||
"//Meta/Lagom/Tools/CodeGenerators/IPCCompiler",
|
||||
"//Tests",
|
||||
"//Userland/Libraries/LibJS",
|
||||
"//Userland/Utilities:js",
|
||||
]
|
||||
testonly = true
|
||||
}
|
||||
|
|
15
Meta/gn/secondary/Userland/Libraries/LibLine/BUILD.gn
Normal file
15
Meta/gn/secondary/Userland/Libraries/LibLine/BUILD.gn
Normal file
|
@ -0,0 +1,15 @@
|
|||
shared_library("LibLine") {
|
||||
output_name = "line"
|
||||
include_dirs = [ "//Userland/Libraries" ]
|
||||
deps = [
|
||||
"//AK",
|
||||
"//Userland/Libraries/LibCore",
|
||||
]
|
||||
sources = [
|
||||
"Editor.cpp",
|
||||
"InternalFunctions.cpp",
|
||||
"KeyCallbackMachine.cpp",
|
||||
"SuggestionManager.cpp",
|
||||
"XtermSuggestionDisplay.cpp",
|
||||
]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
shared_library("LibTextCodec") {
|
||||
output_name = "textcodec"
|
||||
include_dirs = [ "//Userland/Libraries" ]
|
||||
deps = [
|
||||
"//AK",
|
||||
"//Userland/Libraries/LibUnicode",
|
||||
]
|
||||
sources = [ "Decoder.cpp" ]
|
||||
}
|
12
Meta/gn/secondary/Userland/Utilities/BUILD.gn
Normal file
12
Meta/gn/secondary/Userland/Utilities/BUILD.gn
Normal file
|
@ -0,0 +1,12 @@
|
|||
executable("js") {
|
||||
sources = [ "js.cpp" ]
|
||||
include_dirs = [ "//Userland/Libraries" ]
|
||||
deps = [
|
||||
"//AK",
|
||||
"//Userland/Libraries/LibCore",
|
||||
"//Userland/Libraries/LibJS",
|
||||
"//Userland/Libraries/LibLine",
|
||||
"//Userland/Libraries/LibMain",
|
||||
"//Userland/Libraries/LibTextCodec",
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue