mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:27:45 +00:00
Meta: Port ec8330b647
to gn build
This commit is contained in:
parent
ac43d3f6db
commit
95e2039abb
2 changed files with 19 additions and 0 deletions
|
@ -17,6 +17,9 @@ shared_library("LibJS") {
|
||||||
"//Userland/Libraries/LibSyntax",
|
"//Userland/Libraries/LibSyntax",
|
||||||
"//Userland/Libraries/LibUnicode",
|
"//Userland/Libraries/LibUnicode",
|
||||||
]
|
]
|
||||||
|
if (current_cpu == "x86" || current_cpu == "x64") {
|
||||||
|
deps += [ "//Userland/Libraries/LibX86" ]
|
||||||
|
}
|
||||||
sources = [
|
sources = [
|
||||||
"AST.cpp",
|
"AST.cpp",
|
||||||
"Bytecode/ASTCodegen.cpp",
|
"Bytecode/ASTCodegen.cpp",
|
||||||
|
|
16
Meta/gn/secondary/Userland/Libraries/LibX86/BUILD.gn
Normal file
16
Meta/gn/secondary/Userland/Libraries/LibX86/BUILD.gn
Normal 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",
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue