Ben Murdoch | 61f157c | 2016-09-16 13:49:30 +0100 | [diff] [blame] | 1 | # Copyright 2016 the V8 project authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | import("../../gni/isolate.gni") |
| 6 | |
| 7 | if (v8_test_isolation_mode != "noop") { |
| 8 | action("archive_test262") { |
| 9 | visibility = [ ":*" ] |
| 10 | |
| 11 | script = "archive.py" |
| 12 | |
| 13 | inputs = [ |
| 14 | "list.py", |
| 15 | ] |
| 16 | |
| 17 | sources = exec_script("list.py", [], "list lines") |
| 18 | |
| 19 | outputs = [ |
| 20 | "$target_gen_dir/test262_archiving.stamp", |
| 21 | ] |
| 22 | |
| 23 | args = rebase_path(outputs, root_build_dir) |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | v8_isolate_run("test262") { |
| 28 | deps = [ |
| 29 | ":archive_test262", |
| 30 | "../..:d8_run", |
| 31 | ] |
| 32 | |
| 33 | isolate = "test262.isolate" |
| 34 | } |