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("cctest") { | 7 v8_executable("cctest") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 sources = [ | 10 sources = [ |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 199 |
200 if (v8_current_cpu == "arm") { | 200 if (v8_current_cpu == "arm") { |
201 sources += [ ### gcmole(arch:arm) ### | 201 sources += [ ### gcmole(arch:arm) ### |
202 "test-assembler-arm.cc", | 202 "test-assembler-arm.cc", |
203 "test-code-stubs-arm.cc", | 203 "test-code-stubs-arm.cc", |
204 "test-code-stubs.cc", | 204 "test-code-stubs.cc", |
205 "test-code-stubs.h", | 205 "test-code-stubs.h", |
206 "test-disasm-arm.cc", | 206 "test-disasm-arm.cc", |
207 "test-macro-assembler-arm.cc", | 207 "test-macro-assembler-arm.cc", |
208 "test-run-wasm-relocation-arm.cc", | 208 "test-run-wasm-relocation-arm.cc", |
| 209 "wasm/test-run-wasm-simd-lowering.cc", |
209 ] | 210 ] |
210 } else if (v8_current_cpu == "arm64") { | 211 } else if (v8_current_cpu == "arm64") { |
211 sources += [ ### gcmole(arch:arm64) ### | 212 sources += [ ### gcmole(arch:arm64) ### |
212 "test-assembler-arm64.cc", | 213 "test-assembler-arm64.cc", |
213 "test-code-stubs-arm64.cc", | 214 "test-code-stubs-arm64.cc", |
214 "test-code-stubs.cc", | 215 "test-code-stubs.cc", |
215 "test-code-stubs.h", | 216 "test-code-stubs.h", |
216 "test-disasm-arm64.cc", | 217 "test-disasm-arm64.cc", |
217 "test-fuzz-arm64.cc", | 218 "test-fuzz-arm64.cc", |
218 "test-javascript-arm64.cc", | 219 "test-javascript-arm64.cc", |
219 "test-js-arm64-variables.cc", | 220 "test-js-arm64-variables.cc", |
220 "test-run-wasm-relocation-arm64.cc", | 221 "test-run-wasm-relocation-arm64.cc", |
221 "test-utils-arm64.cc", | 222 "test-utils-arm64.cc", |
222 "test-utils-arm64.h", | 223 "test-utils-arm64.h", |
| 224 "wasm/test-run-wasm-simd-lowering.cc", |
223 ] | 225 ] |
224 } else if (v8_current_cpu == "x86") { | 226 } else if (v8_current_cpu == "x86") { |
225 sources += [ ### gcmole(arch:ia32) ### | 227 sources += [ ### gcmole(arch:ia32) ### |
226 "test-assembler-ia32.cc", | 228 "test-assembler-ia32.cc", |
227 "test-code-stubs-ia32.cc", | 229 "test-code-stubs-ia32.cc", |
228 "test-code-stubs.cc", | 230 "test-code-stubs.cc", |
229 "test-code-stubs.h", | 231 "test-code-stubs.h", |
230 "test-disasm-ia32.cc", | 232 "test-disasm-ia32.cc", |
231 "test-log-stack-tracer.cc", | 233 "test-log-stack-tracer.cc", |
232 "test-macro-assembler-ia32.cc", | 234 "test-macro-assembler-ia32.cc", |
233 "test-run-wasm-relocation-ia32.cc", | 235 "test-run-wasm-relocation-ia32.cc", |
| 236 "wasm/test-run-wasm-simd-lowering.cc", |
234 ] | 237 ] |
235 } else if (v8_current_cpu == "mips") { | 238 } else if (v8_current_cpu == "mips") { |
236 sources += [ ### gcmole(arch:mips) ### | 239 sources += [ ### gcmole(arch:mips) ### |
237 "test-assembler-mips.cc", | 240 "test-assembler-mips.cc", |
238 "test-code-stubs-mips.cc", | 241 "test-code-stubs-mips.cc", |
239 "test-code-stubs.cc", | 242 "test-code-stubs.cc", |
240 "test-code-stubs.h", | 243 "test-code-stubs.h", |
241 "test-disasm-mips.cc", | 244 "test-disasm-mips.cc", |
242 "test-macro-assembler-mips.cc", | 245 "test-macro-assembler-mips.cc", |
| 246 "wasm/test-run-wasm-simd-lowering.cc", |
243 ] | 247 ] |
244 } else if (v8_current_cpu == "mipsel") { | 248 } else if (v8_current_cpu == "mipsel") { |
245 sources += [ ### gcmole(arch:mipsel) ### | 249 sources += [ ### gcmole(arch:mipsel) ### |
246 "test-assembler-mips.cc", | 250 "test-assembler-mips.cc", |
247 "test-code-stubs-mips.cc", | 251 "test-code-stubs-mips.cc", |
248 "test-code-stubs.cc", | 252 "test-code-stubs.cc", |
249 "test-code-stubs.h", | 253 "test-code-stubs.h", |
250 "test-disasm-mips.cc", | 254 "test-disasm-mips.cc", |
251 "test-macro-assembler-mips.cc", | 255 "test-macro-assembler-mips.cc", |
| 256 "wasm/test-run-wasm-simd-lowering.cc", |
252 ] | 257 ] |
253 } else if (v8_current_cpu == "mips64") { | 258 } else if (v8_current_cpu == "mips64") { |
254 sources += [ ### gcmole(arch:mips64) ### | 259 sources += [ ### gcmole(arch:mips64) ### |
255 "test-assembler-mips64.cc", | 260 "test-assembler-mips64.cc", |
256 "test-code-stubs-mips64.cc", | 261 "test-code-stubs-mips64.cc", |
257 "test-code-stubs.cc", | 262 "test-code-stubs.cc", |
258 "test-code-stubs.h", | 263 "test-code-stubs.h", |
259 "test-disasm-mips64.cc", | 264 "test-disasm-mips64.cc", |
260 "test-macro-assembler-mips64.cc", | 265 "test-macro-assembler-mips64.cc", |
| 266 "wasm/test-run-wasm-simd-lowering.cc", |
261 ] | 267 ] |
262 } else if (v8_current_cpu == "mips64el") { | 268 } else if (v8_current_cpu == "mips64el") { |
263 sources += [ ### gcmole(arch:mips64el) ### | 269 sources += [ ### gcmole(arch:mips64el) ### |
264 "test-assembler-mips64.cc", | 270 "test-assembler-mips64.cc", |
265 "test-code-stubs-mips64.cc", | 271 "test-code-stubs-mips64.cc", |
266 "test-code-stubs.cc", | 272 "test-code-stubs.cc", |
267 "test-code-stubs.h", | 273 "test-code-stubs.h", |
268 "test-disasm-mips64.cc", | 274 "test-disasm-mips64.cc", |
269 "test-macro-assembler-mips64.cc", | 275 "test-macro-assembler-mips64.cc", |
| 276 "wasm/test-run-wasm-simd-lowering.cc", |
270 ] | 277 ] |
271 } else if (v8_current_cpu == "x64") { | 278 } else if (v8_current_cpu == "x64") { |
272 sources += [ ### gcmole(arch:x64) ### | 279 sources += [ ### gcmole(arch:x64) ### |
273 "test-assembler-x64.cc", | 280 "test-assembler-x64.cc", |
274 "test-code-stubs-x64.cc", | 281 "test-code-stubs-x64.cc", |
275 "test-code-stubs.cc", | 282 "test-code-stubs.cc", |
276 "test-code-stubs.h", | 283 "test-code-stubs.h", |
277 "test-disasm-x64.cc", | 284 "test-disasm-x64.cc", |
278 "test-log-stack-tracer.cc", | 285 "test-log-stack-tracer.cc", |
279 "test-macro-assembler-x64.cc", | 286 "test-macro-assembler-x64.cc", |
280 "test-run-wasm-relocation-x64.cc", | 287 "test-run-wasm-relocation-x64.cc", |
281 "wasm/test-run-wasm-simd-lowering.cc", | |
282 "wasm/test-run-wasm-simd.cc", | 288 "wasm/test-run-wasm-simd.cc", |
283 ] | 289 ] |
284 } else if (v8_current_cpu == "x87") { | 290 } else if (v8_current_cpu == "x87") { |
285 sources += [ ### gcmole(arch:x87) ### | 291 sources += [ ### gcmole(arch:x87) ### |
286 "test-assembler-x87.cc", | 292 "test-assembler-x87.cc", |
287 "test-code-stubs-x87.cc", | 293 "test-code-stubs-x87.cc", |
288 "test-code-stubs.cc", | 294 "test-code-stubs.cc", |
289 "test-code-stubs.h", | 295 "test-code-stubs.h", |
290 "test-disasm-x87.cc", | 296 "test-disasm-x87.cc", |
291 "test-log-stack-tracer.cc", | 297 "test-log-stack-tracer.cc", |
292 "test-macro-assembler-x87.cc", | 298 "test-macro-assembler-x87.cc", |
293 "test-run-wasm-relocation-x87.cc", | 299 "test-run-wasm-relocation-x87.cc", |
| 300 "wasm/test-run-wasm-simd-lowering.cc", |
294 ] | 301 ] |
295 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { | 302 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { |
296 sources += [ ### gcmole(arch:ppc) ### | 303 sources += [ ### gcmole(arch:ppc) ### |
297 "test-assembler-ppc.cc", | 304 "test-assembler-ppc.cc", |
298 "test-code-stubs.cc", | 305 "test-code-stubs.cc", |
299 "test-code-stubs.h", | 306 "test-code-stubs.h", |
300 "test-disasm-ppc.cc", | 307 "test-disasm-ppc.cc", |
| 308 "wasm/test-run-wasm-simd-lowering.cc", |
301 ] | 309 ] |
302 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { | 310 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { |
303 sources += [ ### gcmole(arch:s390) ### | 311 sources += [ ### gcmole(arch:s390) ### |
304 "test-assembler-s390.cc", | 312 "test-assembler-s390.cc", |
305 "test-code-stubs.cc", | 313 "test-code-stubs.cc", |
306 "test-code-stubs.h", | 314 "test-code-stubs.h", |
307 "test-disasm-s390.cc", | 315 "test-disasm-s390.cc", |
| 316 "wasm/test-run-wasm-simd-lowering.cc", |
308 ] | 317 ] |
309 } | 318 } |
310 | 319 |
311 if (is_linux) { | 320 if (is_linux) { |
312 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. | 321 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. |
313 sources += [ "test-platform-linux.cc" ] | 322 sources += [ "test-platform-linux.cc" ] |
314 } else if (is_win) { | 323 } else if (is_win) { |
315 sources += [ "test-platform-win32.cc" ] | 324 sources += [ "test-platform-win32.cc" ] |
316 } | 325 } |
317 | 326 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 ] | 424 ] |
416 | 425 |
417 deps = [ | 426 deps = [ |
418 "../..:v8", | 427 "../..:v8", |
419 "../..:v8_libbase", | 428 "../..:v8_libbase", |
420 "../..:v8_libplatform", | 429 "../..:v8_libplatform", |
421 "//build/config/sanitizers:deps", | 430 "//build/config/sanitizers:deps", |
422 "//build/win:default_exe_manifest", | 431 "//build/win:default_exe_manifest", |
423 ] | 432 ] |
424 } | 433 } |
OLD | NEW |