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