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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 "wasm/ast-decoder-unittest.cc", | 123 "wasm/ast-decoder-unittest.cc", |
124 "wasm/control-transfer-unittest.cc", | 124 "wasm/control-transfer-unittest.cc", |
125 "wasm/decoder-unittest.cc", | 125 "wasm/decoder-unittest.cc", |
126 "wasm/leb-helper-unittest.cc", | 126 "wasm/leb-helper-unittest.cc", |
127 "wasm/loop-assignment-analysis-unittest.cc", | 127 "wasm/loop-assignment-analysis-unittest.cc", |
128 "wasm/module-decoder-unittest.cc", | 128 "wasm/module-decoder-unittest.cc", |
129 "wasm/switch-logic-unittest.cc", | 129 "wasm/switch-logic-unittest.cc", |
130 "wasm/wasm-macro-gen-unittest.cc", | 130 "wasm/wasm-macro-gen-unittest.cc", |
131 "wasm/wasm-module-builder-unittest.cc", | 131 "wasm/wasm-module-builder-unittest.cc", |
132 "zone/segmentpool-unittest.cc", | 132 "zone/segmentpool-unittest.cc", |
| 133 "zone/zone-chunk-list-unittest.cc", |
133 ] | 134 ] |
134 | 135 |
135 if (v8_current_cpu == "arm") { | 136 if (v8_current_cpu == "arm") { |
136 sources += [ "compiler/arm/instruction-selector-arm-unittest.cc" ] | 137 sources += [ "compiler/arm/instruction-selector-arm-unittest.cc" ] |
137 } else if (v8_current_cpu == "arm64") { | 138 } else if (v8_current_cpu == "arm64") { |
138 sources += [ "compiler/arm64/instruction-selector-arm64-unittest.cc" ] | 139 sources += [ "compiler/arm64/instruction-selector-arm64-unittest.cc" ] |
139 } else if (v8_current_cpu == "x86") { | 140 } else if (v8_current_cpu == "x86") { |
140 sources += [ "compiler/ia32/instruction-selector-ia32-unittest.cc" ] | 141 sources += [ "compiler/ia32/instruction-selector-ia32-unittest.cc" ] |
141 } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") { | 142 } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") { |
142 sources += [ "compiler/mips/instruction-selector-mips-unittest.cc" ] | 143 sources += [ "compiler/mips/instruction-selector-mips-unittest.cc" ] |
(...skipping 27 matching lines...) Expand all Loading... |
170 "//testing/gtest", | 171 "//testing/gtest", |
171 ] | 172 ] |
172 | 173 |
173 if (is_win) { | 174 if (is_win) { |
174 # This warning is benignly triggered by the U16 and U32 macros in | 175 # This warning is benignly triggered by the U16 and U32 macros in |
175 # bytecode-utils.h. | 176 # bytecode-utils.h. |
176 # C4309: 'static_cast': truncation of constant value | 177 # C4309: 'static_cast': truncation of constant value |
177 cflags = [ "/wd4309" ] | 178 cflags = [ "/wd4309" ] |
178 } | 179 } |
179 } | 180 } |
OLD | NEW |