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("../../gni/v8.gni") | 5 import("../../gni/v8.gni") |
6 | 6 |
7 v8_executable("unittests") { | 7 v8_executable("unittests") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 sources = [ | 10 sources = [ |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 "wasm/function-body-decoder-unittest.cc", | 136 "wasm/function-body-decoder-unittest.cc", |
137 "wasm/leb-helper-unittest.cc", | 137 "wasm/leb-helper-unittest.cc", |
138 "wasm/loop-assignment-analysis-unittest.cc", | 138 "wasm/loop-assignment-analysis-unittest.cc", |
139 "wasm/module-decoder-unittest.cc", | 139 "wasm/module-decoder-unittest.cc", |
140 "wasm/switch-logic-unittest.cc", | 140 "wasm/switch-logic-unittest.cc", |
141 "wasm/wasm-macro-gen-unittest.cc", | 141 "wasm/wasm-macro-gen-unittest.cc", |
142 "wasm/wasm-module-builder-unittest.cc", | 142 "wasm/wasm-module-builder-unittest.cc", |
143 "wasm/wasm-opcodes-unittest.cc", | 143 "wasm/wasm-opcodes-unittest.cc", |
144 "zone/segmentpool-unittest.cc", | 144 "zone/segmentpool-unittest.cc", |
145 "zone/zone-chunk-list-unittest.cc", | 145 "zone/zone-chunk-list-unittest.cc", |
| 146 "zone/zone-unittest.cc", |
146 ] | 147 ] |
147 | 148 |
148 if (v8_current_cpu == "arm") { | 149 if (v8_current_cpu == "arm") { |
149 sources += [ "compiler/arm/instruction-selector-arm-unittest.cc" ] | 150 sources += [ "compiler/arm/instruction-selector-arm-unittest.cc" ] |
150 } else if (v8_current_cpu == "arm64") { | 151 } else if (v8_current_cpu == "arm64") { |
151 sources += [ "compiler/arm64/instruction-selector-arm64-unittest.cc" ] | 152 sources += [ "compiler/arm64/instruction-selector-arm64-unittest.cc" ] |
152 } else if (v8_current_cpu == "x86") { | 153 } else if (v8_current_cpu == "x86") { |
153 sources += [ "compiler/ia32/instruction-selector-ia32-unittest.cc" ] | 154 sources += [ "compiler/ia32/instruction-selector-ia32-unittest.cc" ] |
154 } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") { | 155 } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") { |
155 sources += [ "compiler/mips/instruction-selector-mips-unittest.cc" ] | 156 sources += [ "compiler/mips/instruction-selector-mips-unittest.cc" ] |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 deps += [ "//third_party/icu" ] | 188 deps += [ "//third_party/icu" ] |
188 } | 189 } |
189 | 190 |
190 if (is_win) { | 191 if (is_win) { |
191 # This warning is benignly triggered by the U16 and U32 macros in | 192 # This warning is benignly triggered by the U16 and U32 macros in |
192 # bytecode-utils.h. | 193 # bytecode-utils.h. |
193 # C4309: 'static_cast': truncation of constant value | 194 # C4309: 'static_cast': truncation of constant value |
194 cflags = [ "/wd4309" ] | 195 cflags = [ "/wd4309" ] |
195 } | 196 } |
196 } | 197 } |
OLD | NEW |