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
Notes: sideshowbarker 2024-07-16 23:34:49 +09:00
4 changed files with 37 additions and 1 deletions

View file

@ -4,7 +4,7 @@ group("default") {
deps = [
"//Meta/Lagom/Tools/CodeGenerators/IPCCompiler",
"//Tests",
"//Userland/Libraries/LibJS",
"//Userland/Utilities:js",
]
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",
]
}