diff --git a/Meta/gn/secondary/Tests/BUILD.gn b/Meta/gn/secondary/Tests/BUILD.gn index 941900eedd..a8e3c9f027 100644 --- a/Meta/gn/secondary/Tests/BUILD.gn +++ b/Meta/gn/secondary/Tests/BUILD.gn @@ -1,4 +1,7 @@ group("Tests") { - deps = [ "//Tests/AK" ] + deps = [ + "//Tests/AK", + "//Tests/LibJS", + ] testonly = true } diff --git a/Meta/gn/secondary/Tests/LibJS/BUILD.gn b/Meta/gn/secondary/Tests/LibJS/BUILD.gn new file mode 100644 index 0000000000..c685898531 --- /dev/null +++ b/Meta/gn/secondary/Tests/LibJS/BUILD.gn @@ -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 +}