mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
Meta: Add test-js to the GN build
This commit is contained in:
parent
3c5909f47e
commit
6e928e426a
2 changed files with 20 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
group("Tests") {
|
group("Tests") {
|
||||||
deps = [ "//Tests/AK" ]
|
deps = [
|
||||||
|
"//Tests/AK",
|
||||||
|
"//Tests/LibJS",
|
||||||
|
]
|
||||||
testonly = true
|
testonly = true
|
||||||
}
|
}
|
||||||
|
|
16
Meta/gn/secondary/Tests/LibJS/BUILD.gn
Normal file
16
Meta/gn/secondary/Tests/LibJS/BUILD.gn
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
import("//Tests/unittest.gni")
|
||||||
|
|
||||||
|
unittest("test-js") {
|
||||||
|
use_js_main = true
|
||||||
|
include_dirs = [ "//Userland/Libraries" ]
|
||||||
|
sources = [ "test-js.cpp" ]
|
||||||
|
deps = [
|
||||||
|
"//Userland/Libraries/LibFileSystem",
|
||||||
|
"//Userland/Libraries/LibJS",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
group("LibJS") {
|
||||||
|
deps = [ ":test-js" ]
|
||||||
|
testonly = true
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue