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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 "$root_out_dir/$name.isolated.state", | 54 "$root_out_dir/$name.isolated.state", |
55 ] | 55 ] |
56 } | 56 } |
57 | 57 |
58 # Translate gn to gyp variables. | 58 # Translate gn to gyp variables. |
59 if (is_asan) { | 59 if (is_asan) { |
60 asan = "1" | 60 asan = "1" |
61 } else { | 61 } else { |
62 asan = "0" | 62 asan = "0" |
63 } | 63 } |
64 if (is_lsan) { | |
65 lsan = "1" | |
66 } else { | |
67 lsan = "0" | |
68 } | |
69 if (is_msan) { | 64 if (is_msan) { |
70 msan = "1" | 65 msan = "1" |
71 } else { | 66 } else { |
72 msan = "0" | 67 msan = "0" |
73 } | 68 } |
74 if (is_tsan) { | 69 if (is_tsan) { |
75 tsan = "1" | 70 tsan = "1" |
76 } else { | 71 } else { |
77 tsan = "0" | 72 tsan = "0" |
78 } | 73 } |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 "cfi_vptr=$cfi_vptr", | 151 "cfi_vptr=$cfi_vptr", |
157 "--config-variable", | 152 "--config-variable", |
158 "gcmole=$gcmole", | 153 "gcmole=$gcmole", |
159 "--config-variable", | 154 "--config-variable", |
160 "has_valgrind=$has_valgrind", | 155 "has_valgrind=$has_valgrind", |
161 "--config-variable", | 156 "--config-variable", |
162 "icu_use_data_file_flag=$icu_use_data_file_flag", | 157 "icu_use_data_file_flag=$icu_use_data_file_flag", |
163 "--config-variable", | 158 "--config-variable", |
164 "is_gn=1", | 159 "is_gn=1", |
165 "--config-variable", | 160 "--config-variable", |
166 "lsan=$lsan", | |
167 "--config-variable", | |
168 "msan=$msan", | 161 "msan=$msan", |
169 "--config-variable", | 162 "--config-variable", |
170 "tsan=$tsan", | 163 "tsan=$tsan", |
171 "--config-variable", | 164 "--config-variable", |
172 "coverage=0", | 165 "coverage=0", |
173 "--config-variable", | 166 "--config-variable", |
174 "sanitizer_coverage=0", | 167 "sanitizer_coverage=0", |
175 "--config-variable", | 168 "--config-variable", |
176 "component=$component", | 169 "component=$component", |
177 "--config-variable", | 170 "--config-variable", |
(...skipping 13 matching lines...) Expand all Loading... |
191 ] | 184 ] |
192 } else { | 185 } else { |
193 args += [ | 186 args += [ |
194 "--config-variable", | 187 "--config-variable", |
195 "msvs_version=0", | 188 "msvs_version=0", |
196 ] | 189 ] |
197 } | 190 } |
198 } | 191 } |
199 } | 192 } |
200 } | 193 } |
OLD | NEW |