Просмотр исходного кода

Meta: Add test262-runner to the GN build

Timothy Flynn 1 год назад
Родитель
Сommit
d053d6f7bb
1 измененных файлов с 14 добавлено и 1 удалено
  1. 14 1
      Meta/gn/secondary/Tests/LibJS/BUILD.gn

+ 14 - 1
Meta/gn/secondary/Tests/LibJS/BUILD.gn

@@ -10,7 +10,20 @@ unittest("test-js") {
   ]
   ]
 }
 }
 
 
+executable("test262-runner") {
+  sources = [ "test262-runner.cpp" ]
+  include_dirs = [ "//Userland/Libraries" ]
+  deps = [
+    "//AK",
+    "//Userland/Libraries/LibCore",
+    "//Userland/Libraries/LibJS",
+  ]
+}
+
 group("LibJS") {
 group("LibJS") {
-  deps = [ ":test-js" ]
   testonly = true
   testonly = true
+  deps = [
+    ":test-js",
+    ":test262-runner",
+  ]
 }
 }