Index: test/test262/BUILD.gn |
diff --git a/test/test262/BUILD.gn b/test/test262/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9aaa7770c100a4b278ae688c86d460ef0f7c228d |
--- /dev/null |
+++ b/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") { |
Michael Achenbach
2016/06/06 08:32:10
This ports:
https://cs.chromium.org/chromium/src/v
|
+ 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" |
+} |