OLD | NEW |
1 # Copyright 2016 the V8 project authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/sanitizers/sanitizers.gni") | 5 import("//build/config/sanitizers/sanitizers.gni") |
6 import("v8.gni") | 6 import("v8.gni") |
7 | 7 |
8 declare_args() { | 8 declare_args() { |
9 # Sets the test isolation mode (noop|prepare|check). | 9 # Sets the test isolation mode (noop|prepare|check). |
10 v8_test_isolation_mode = "noop" | 10 v8_test_isolation_mode = "noop" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 use_external_startup_data = "1" | 94 use_external_startup_data = "1" |
95 } else { | 95 } else { |
96 use_external_startup_data = "0" | 96 use_external_startup_data = "0" |
97 } | 97 } |
98 if (v8_use_snapshot) { | 98 if (v8_use_snapshot) { |
99 use_snapshot = "1" | 99 use_snapshot = "1" |
100 } else { | 100 } else { |
101 use_snapshot = "0" | 101 use_snapshot = "0" |
102 } | 102 } |
103 | 103 |
| 104 # Note, all paths will be rebased in isolate_driver.py to be relative to |
| 105 # the isolate file. |
104 args = [ | 106 args = [ |
105 v8_test_isolation_mode, | 107 v8_test_isolation_mode, |
106 "--isolated", | 108 "--isolated", |
107 rebase_path("$root_out_dir/$name.isolated", root_build_dir), | 109 rebase_path("$root_out_dir/$name.isolated", root_build_dir), |
108 "--isolate", | 110 "--isolate", |
109 rebase_path(invoker.isolate, root_build_dir), | 111 rebase_path(invoker.isolate, root_build_dir), |
110 | 112 |
111 # Path variables are used to replace file paths when loading a .isolate | 113 # Path variables are used to replace file paths when loading a .isolate |
112 # file | 114 # file |
113 "--path-variable", | 115 "--path-variable", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 ] | 161 ] |
160 } else { | 162 } else { |
161 args += [ | 163 args += [ |
162 "--config-variable", | 164 "--config-variable", |
163 "msvs_version=0", | 165 "msvs_version=0", |
164 ] | 166 ] |
165 } | 167 } |
166 } | 168 } |
167 } | 169 } |
168 } | 170 } |
OLD | NEW |