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("//third_party/icu/config.gni") | 6 import("//third_party/icu/config.gni") |
7 import("v8.gni") | 7 import("v8.gni") |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 # Sets the test isolation mode (noop|prepare|check). | 10 # Sets the test isolation mode (noop|prepare|check). |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 if (v8_use_external_startup_data) { | 94 if (v8_use_external_startup_data) { |
95 use_external_startup_data = "1" | 95 use_external_startup_data = "1" |
96 } else { | 96 } else { |
97 use_external_startup_data = "0" | 97 use_external_startup_data = "0" |
98 } | 98 } |
99 if (v8_use_snapshot) { | 99 if (v8_use_snapshot) { |
100 use_snapshot = "true" | 100 use_snapshot = "true" |
101 } else { | 101 } else { |
102 use_snapshot = "false" | 102 use_snapshot = "false" |
103 } | 103 } |
| 104 if (v8_has_valgrind) { |
| 105 has_valgrind = "1" |
| 106 } else { |
| 107 has_valgrind = "0" |
| 108 } |
104 | 109 |
105 # Note, all paths will be rebased in isolate_driver.py to be relative to | 110 # Note, all paths will be rebased in isolate_driver.py to be relative to |
106 # the isolate file. | 111 # the isolate file. |
107 args = [ | 112 args = [ |
108 v8_test_isolation_mode, | 113 v8_test_isolation_mode, |
109 "--isolated", | 114 "--isolated", |
110 rebase_path("$root_out_dir/$name.isolated", root_build_dir), | 115 rebase_path("$root_out_dir/$name.isolated", root_build_dir), |
111 "--isolate", | 116 "--isolate", |
112 rebase_path(invoker.isolate, root_build_dir), | 117 rebase_path(invoker.isolate, root_build_dir), |
113 | 118 |
(...skipping 11 matching lines...) Expand all Loading... |
125 "CONFIGURATION_NAME=$configuration_name", | 130 "CONFIGURATION_NAME=$configuration_name", |
126 "--config-variable", | 131 "--config-variable", |
127 "OS=$target_os", | 132 "OS=$target_os", |
128 "--config-variable", | 133 "--config-variable", |
129 "asan=$asan", | 134 "asan=$asan", |
130 "--config-variable", | 135 "--config-variable", |
131 "cfi_vptr=$cfi_vptr", | 136 "cfi_vptr=$cfi_vptr", |
132 "--config-variable", | 137 "--config-variable", |
133 "gcmole=0", | 138 "gcmole=0", |
134 "--config-variable", | 139 "--config-variable", |
135 "has_valgrind=0", | 140 "has_valgrind=$has_valgrind", |
136 "--config-variable", | 141 "--config-variable", |
137 "icu_use_data_file_flag=$icu_use_data_file_flag", | 142 "icu_use_data_file_flag=$icu_use_data_file_flag", |
138 "--config-variable", | 143 "--config-variable", |
139 "msan=$msan", | 144 "msan=$msan", |
140 "--config-variable", | 145 "--config-variable", |
141 "tsan=$tsan", | 146 "tsan=$tsan", |
142 "--config-variable", | 147 "--config-variable", |
143 "coverage=0", | 148 "coverage=0", |
144 "--config-variable", | 149 "--config-variable", |
145 "sanitizer_coverage=0", | 150 "sanitizer_coverage=0", |
(...skipping 16 matching lines...) Expand all Loading... |
162 ] | 167 ] |
163 } else { | 168 } else { |
164 args += [ | 169 args += [ |
165 "--config-variable", | 170 "--config-variable", |
166 "msvs_version=0", | 171 "msvs_version=0", |
167 ] | 172 ] |
168 } | 173 } |
169 } | 174 } |
170 } | 175 } |
171 } | 176 } |
OLD | NEW |