summaryrefslogtreecommitdiff
path: root/deps/v8/test/test262/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/test262/BUILD.gn')
-rw-r--r--deps/v8/test/test262/BUILD.gn34
1 files changed, 34 insertions, 0 deletions
diff --git a/deps/v8/test/test262/BUILD.gn b/deps/v8/test/test262/BUILD.gn
new file mode 100644
index 0000000000..9aaa7770c1
--- /dev/null
+++ b/deps/v8/test/test262/BUILD.gn
@@ -0,0 +1,34 @@
+# Copyright 2016 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("../../gni/isolate.gni")
+
+if (v8_test_isolation_mode != "noop") {
+ action("archive_test262") {
+ visibility = [ ":*" ]
+
+ script = "archive.py"
+
+ inputs = [
+ "list.py",
+ ]
+
+ sources = exec_script("list.py", [], "list lines")
+
+ outputs = [
+ "$target_gen_dir/test262_archiving.stamp",
+ ]
+
+ args = rebase_path(outputs, root_build_dir)
+ }
+}
+
+v8_isolate_run("test262") {
+ deps = [
+ ":archive_test262",
+ "../..:d8_run",
+ ]
+
+ isolate = "test262.isolate"
+}