mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
Meta: Port ec8330b647
to gn build
This commit is contained in:
parent
ac43d3f6db
commit
95e2039abb
Notes:
sideshowbarker
2024-07-17 18:38:54 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/95e2039abb
2 changed files with 19 additions and 0 deletions
|
@ -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",
|
||||
|
|
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
Reference in a new issue