mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 19:47:46 +00:00
Meta: Add gn rules for dependencies of LibWeb
There's a lot of them, and LibWeb is a massive set of files to build as well, so let's add these first :^).
This commit is contained in:
parent
13a5606cdc
commit
7b3d0fb002
15 changed files with 427 additions and 0 deletions
27
Meta/gn/secondary/Userland/Libraries/LibWasm/BUILD.gn
Normal file
27
Meta/gn/secondary/Userland/Libraries/LibWasm/BUILD.gn
Normal file
|
@ -0,0 +1,27 @@
|
|||
declare_args() {
|
||||
# If true, download wasm spec tests from github.
|
||||
# Tests will be used by test-wasm to verify spec compliance
|
||||
include_wasm_spec_tests = false
|
||||
}
|
||||
|
||||
if (include_wasm_spec_tests) {
|
||||
# FIXME: Port wasm_spec_tests.cmake
|
||||
}
|
||||
|
||||
shared_library("LibWasm") {
|
||||
output_name = "wasm"
|
||||
include_dirs = [ "//Userland/Libraries" ]
|
||||
sources = [
|
||||
"AbstractMachine/AbstractMachine.cpp",
|
||||
"AbstractMachine/BytecodeInterpreter.cpp",
|
||||
"AbstractMachine/Configuration.cpp",
|
||||
"AbstractMachine/Validator.cpp",
|
||||
"Parser/Parser.cpp",
|
||||
"Printer/Printer.cpp",
|
||||
]
|
||||
deps = [
|
||||
"//AK",
|
||||
"//Userland/Libraries/LibCore",
|
||||
"//Userland/Libraries/LibJS",
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue