1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:27:45 +00:00

Meta: Add dependencies for the JS repl to the gn build

This commit is contained in:
Andrew Kaster 2023-04-08 13:49:36 -06:00 committed by Andrew Kaster
parent 165a67b115
commit bf02069a89
4 changed files with 37 additions and 1 deletions

View file

@ -4,7 +4,7 @@ group("default") {
deps = [ deps = [
"//Meta/Lagom/Tools/CodeGenerators/IPCCompiler", "//Meta/Lagom/Tools/CodeGenerators/IPCCompiler",
"//Tests", "//Tests",
"//Userland/Libraries/LibJS", "//Userland/Utilities:js",
] ]
testonly = true testonly = true
} }

View 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",
]
}

View file

@ -0,0 +1,9 @@
shared_library("LibTextCodec") {
output_name = "textcodec"
include_dirs = [ "//Userland/Libraries" ]
deps = [
"//AK",
"//Userland/Libraries/LibUnicode",
]
sources = [ "Decoder.cpp" ]
}

View 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",
]
}