Meta: Port ec8330b647 to gn build

This commit is contained in:
Andrew Kaster 2023-10-29 16:03:43 -06:00
parent ac43d3f6db
commit 95e2039abb
2 changed files with 19 additions and 0 deletions

View file

@ -17,6 +17,9 @@ shared_library("LibJS") {
"//Userland/Libraries/LibSyntax",
"//Userland/Libraries/LibUnicode",
]
if (current_cpu == "x86" || current_cpu == "x64") {
deps += [ "//Userland/Libraries/LibX86" ]
}
sources = [
"AST.cpp",
"Bytecode/ASTCodegen.cpp",

View file

@ -0,0 +1,16 @@
shared_library("LibX86") {
output_name = "x86"
include_dirs = [ "//Userland/Libraries" ]
deps = [
"//AK",
"//Userland/Libraries/LibCore",
]
sources = [
"Disassembler.h",
"ELFSymbolProvider.h",
"Instruction.cpp",
"Instruction.h",
"Interpreter.h",
]
}