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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 "trace-extension.cc", | 186 "trace-extension.cc", |
187 "trace-extension.h", | 187 "trace-extension.h", |
188 "types-fuzz.h", | 188 "types-fuzz.h", |
189 "unicode-helpers.h", | 189 "unicode-helpers.h", |
190 "wasm/test-run-wasm-64.cc", | 190 "wasm/test-run-wasm-64.cc", |
191 "wasm/test-run-wasm-asmjs.cc", | 191 "wasm/test-run-wasm-asmjs.cc", |
192 "wasm/test-run-wasm-interpreter.cc", | 192 "wasm/test-run-wasm-interpreter.cc", |
193 "wasm/test-run-wasm-js.cc", | 193 "wasm/test-run-wasm-js.cc", |
194 "wasm/test-run-wasm-module.cc", | 194 "wasm/test-run-wasm-module.cc", |
195 "wasm/test-run-wasm-relocation.cc", | 195 "wasm/test-run-wasm-relocation.cc", |
| 196 "wasm/test-run-wasm-simd.cc", |
196 "wasm/test-run-wasm.cc", | 197 "wasm/test-run-wasm.cc", |
197 "wasm/test-wasm-breakpoints.cc", | 198 "wasm/test-wasm-breakpoints.cc", |
198 "wasm/test-wasm-interpreter-entry.cc", | 199 "wasm/test-wasm-interpreter-entry.cc", |
199 "wasm/test-wasm-stack.cc", | 200 "wasm/test-wasm-stack.cc", |
200 "wasm/test-wasm-trap-position.cc", | 201 "wasm/test-wasm-trap-position.cc", |
201 "wasm/wasm-run-utils.h", | 202 "wasm/wasm-run-utils.h", |
202 ] | 203 ] |
203 | 204 |
204 if (v8_current_cpu == "arm") { | 205 if (v8_current_cpu == "arm") { |
205 sources += [ ### gcmole(arch:arm) ### | 206 sources += [ ### gcmole(arch:arm) ### |
206 "test-assembler-arm.cc", | 207 "test-assembler-arm.cc", |
207 "test-code-stubs-arm.cc", | 208 "test-code-stubs-arm.cc", |
208 "test-code-stubs.cc", | 209 "test-code-stubs.cc", |
209 "test-code-stubs.h", | 210 "test-code-stubs.h", |
210 "test-disasm-arm.cc", | 211 "test-disasm-arm.cc", |
211 "test-macro-assembler-arm.cc", | 212 "test-macro-assembler-arm.cc", |
212 "test-run-wasm-relocation-arm.cc", | 213 "test-run-wasm-relocation-arm.cc", |
213 "test-simulator-arm.cc", | 214 "test-simulator-arm.cc", |
214 "wasm/test-run-wasm-simd.cc", | |
215 ] | 215 ] |
216 } else if (v8_current_cpu == "arm64") { | 216 } else if (v8_current_cpu == "arm64") { |
217 sources += [ ### gcmole(arch:arm64) ### | 217 sources += [ ### gcmole(arch:arm64) ### |
218 "test-assembler-arm64.cc", | 218 "test-assembler-arm64.cc", |
219 "test-code-stubs-arm64.cc", | 219 "test-code-stubs-arm64.cc", |
220 "test-code-stubs.cc", | 220 "test-code-stubs.cc", |
221 "test-code-stubs.h", | 221 "test-code-stubs.h", |
222 "test-disasm-arm64.cc", | 222 "test-disasm-arm64.cc", |
223 "test-fuzz-arm64.cc", | 223 "test-fuzz-arm64.cc", |
224 "test-javascript-arm64.cc", | 224 "test-javascript-arm64.cc", |
225 "test-js-arm64-variables.cc", | 225 "test-js-arm64-variables.cc", |
226 "test-run-wasm-relocation-arm64.cc", | 226 "test-run-wasm-relocation-arm64.cc", |
227 "test-utils-arm64.cc", | 227 "test-utils-arm64.cc", |
228 "test-utils-arm64.h", | 228 "test-utils-arm64.h", |
229 "wasm/test-run-wasm-simd-lowering.cc", | |
230 ] | 229 ] |
231 } else if (v8_current_cpu == "x86") { | 230 } else if (v8_current_cpu == "x86") { |
232 sources += [ ### gcmole(arch:ia32) ### | 231 sources += [ ### gcmole(arch:ia32) ### |
233 "test-assembler-ia32.cc", | 232 "test-assembler-ia32.cc", |
234 "test-code-stubs-ia32.cc", | 233 "test-code-stubs-ia32.cc", |
235 "test-code-stubs.cc", | 234 "test-code-stubs.cc", |
236 "test-code-stubs.h", | 235 "test-code-stubs.h", |
237 "test-disasm-ia32.cc", | 236 "test-disasm-ia32.cc", |
238 "test-log-stack-tracer.cc", | 237 "test-log-stack-tracer.cc", |
239 "test-macro-assembler-ia32.cc", | 238 "test-macro-assembler-ia32.cc", |
240 "test-run-wasm-relocation-ia32.cc", | 239 "test-run-wasm-relocation-ia32.cc", |
241 "wasm/test-run-wasm-simd-lowering.cc", | |
242 ] | 240 ] |
243 } else if (v8_current_cpu == "mips") { | 241 } else if (v8_current_cpu == "mips") { |
244 sources += [ ### gcmole(arch:mips) ### | 242 sources += [ ### gcmole(arch:mips) ### |
245 "test-assembler-mips.cc", | 243 "test-assembler-mips.cc", |
246 "test-code-stubs-mips.cc", | 244 "test-code-stubs-mips.cc", |
247 "test-code-stubs.cc", | 245 "test-code-stubs.cc", |
248 "test-code-stubs.h", | 246 "test-code-stubs.h", |
249 "test-disasm-mips.cc", | 247 "test-disasm-mips.cc", |
250 "test-macro-assembler-mips.cc", | 248 "test-macro-assembler-mips.cc", |
251 "wasm/test-run-wasm-simd-lowering.cc", | |
252 ] | 249 ] |
253 } else if (v8_current_cpu == "mipsel") { | 250 } else if (v8_current_cpu == "mipsel") { |
254 sources += [ ### gcmole(arch:mipsel) ### | 251 sources += [ ### gcmole(arch:mipsel) ### |
255 "test-assembler-mips.cc", | 252 "test-assembler-mips.cc", |
256 "test-code-stubs-mips.cc", | 253 "test-code-stubs-mips.cc", |
257 "test-code-stubs.cc", | 254 "test-code-stubs.cc", |
258 "test-code-stubs.h", | 255 "test-code-stubs.h", |
259 "test-disasm-mips.cc", | 256 "test-disasm-mips.cc", |
260 "test-macro-assembler-mips.cc", | 257 "test-macro-assembler-mips.cc", |
261 "wasm/test-run-wasm-simd-lowering.cc", | |
262 ] | 258 ] |
263 } else if (v8_current_cpu == "mips64") { | 259 } else if (v8_current_cpu == "mips64") { |
264 sources += [ ### gcmole(arch:mips64) ### | 260 sources += [ ### gcmole(arch:mips64) ### |
265 "test-assembler-mips64.cc", | 261 "test-assembler-mips64.cc", |
266 "test-code-stubs-mips64.cc", | 262 "test-code-stubs-mips64.cc", |
267 "test-code-stubs.cc", | 263 "test-code-stubs.cc", |
268 "test-code-stubs.h", | 264 "test-code-stubs.h", |
269 "test-disasm-mips64.cc", | 265 "test-disasm-mips64.cc", |
270 "test-macro-assembler-mips64.cc", | 266 "test-macro-assembler-mips64.cc", |
271 "wasm/test-run-wasm-simd-lowering.cc", | |
272 ] | 267 ] |
273 } else if (v8_current_cpu == "mips64el") { | 268 } else if (v8_current_cpu == "mips64el") { |
274 sources += [ ### gcmole(arch:mips64el) ### | 269 sources += [ ### gcmole(arch:mips64el) ### |
275 "test-assembler-mips64.cc", | 270 "test-assembler-mips64.cc", |
276 "test-code-stubs-mips64.cc", | 271 "test-code-stubs-mips64.cc", |
277 "test-code-stubs.cc", | 272 "test-code-stubs.cc", |
278 "test-code-stubs.h", | 273 "test-code-stubs.h", |
279 "test-disasm-mips64.cc", | 274 "test-disasm-mips64.cc", |
280 "test-macro-assembler-mips64.cc", | 275 "test-macro-assembler-mips64.cc", |
281 "wasm/test-run-wasm-simd-lowering.cc", | |
282 ] | 276 ] |
283 } else if (v8_current_cpu == "x64") { | 277 } else if (v8_current_cpu == "x64") { |
284 sources += [ ### gcmole(arch:x64) ### | 278 sources += [ ### gcmole(arch:x64) ### |
285 "test-assembler-x64.cc", | 279 "test-assembler-x64.cc", |
286 "test-code-stubs-x64.cc", | 280 "test-code-stubs-x64.cc", |
287 "test-code-stubs.cc", | 281 "test-code-stubs.cc", |
288 "test-code-stubs.h", | 282 "test-code-stubs.h", |
289 "test-disasm-x64.cc", | 283 "test-disasm-x64.cc", |
290 "test-log-stack-tracer.cc", | 284 "test-log-stack-tracer.cc", |
291 "test-macro-assembler-x64.cc", | 285 "test-macro-assembler-x64.cc", |
292 "test-run-wasm-relocation-x64.cc", | 286 "test-run-wasm-relocation-x64.cc", |
293 "wasm/test-run-wasm-simd.cc", | |
294 ] | 287 ] |
295 } else if (v8_current_cpu == "x87") { | 288 } else if (v8_current_cpu == "x87") { |
296 sources += [ ### gcmole(arch:x87) ### | 289 sources += [ ### gcmole(arch:x87) ### |
297 "test-assembler-x87.cc", | 290 "test-assembler-x87.cc", |
298 "test-code-stubs-x87.cc", | 291 "test-code-stubs-x87.cc", |
299 "test-code-stubs.cc", | 292 "test-code-stubs.cc", |
300 "test-code-stubs.h", | 293 "test-code-stubs.h", |
301 "test-disasm-x87.cc", | 294 "test-disasm-x87.cc", |
302 "test-log-stack-tracer.cc", | 295 "test-log-stack-tracer.cc", |
303 "test-macro-assembler-x87.cc", | 296 "test-macro-assembler-x87.cc", |
304 "test-run-wasm-relocation-x87.cc", | 297 "test-run-wasm-relocation-x87.cc", |
305 "wasm/test-run-wasm-simd-lowering.cc", | |
306 ] | 298 ] |
307 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { | 299 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { |
308 sources += [ ### gcmole(arch:ppc) ### | 300 sources += [ ### gcmole(arch:ppc) ### |
309 "test-assembler-ppc.cc", | 301 "test-assembler-ppc.cc", |
310 "test-code-stubs.cc", | 302 "test-code-stubs.cc", |
311 "test-code-stubs.h", | 303 "test-code-stubs.h", |
312 "test-disasm-ppc.cc", | 304 "test-disasm-ppc.cc", |
313 "wasm/test-run-wasm-simd-lowering.cc", | |
314 ] | 305 ] |
315 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { | 306 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { |
316 sources += [ ### gcmole(arch:s390) ### | 307 sources += [ ### gcmole(arch:s390) ### |
317 "test-assembler-s390.cc", | 308 "test-assembler-s390.cc", |
318 "test-code-stubs.cc", | 309 "test-code-stubs.cc", |
319 "test-code-stubs.h", | 310 "test-code-stubs.h", |
320 "test-disasm-s390.cc", | 311 "test-disasm-s390.cc", |
321 "wasm/test-run-wasm-simd-lowering.cc", | |
322 ] | 312 ] |
323 } | 313 } |
324 | 314 |
325 if (is_linux) { | 315 if (is_linux) { |
326 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. | 316 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. |
327 sources += [ "test-platform-linux.cc" ] | 317 sources += [ "test-platform-linux.cc" ] |
328 } else if (is_win) { | 318 } else if (is_win) { |
329 sources += [ "test-platform-win32.cc" ] | 319 sources += [ "test-platform-win32.cc" ] |
330 } | 320 } |
331 | 321 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 ] | 431 ] |
442 | 432 |
443 deps = [ | 433 deps = [ |
444 "../..:v8", | 434 "../..:v8", |
445 "../..:v8_libbase", | 435 "../..:v8_libbase", |
446 "../..:v8_libplatform", | 436 "../..:v8_libplatform", |
447 "//build/config/sanitizers:deps", | 437 "//build/config/sanitizers:deps", |
448 "//build/win:default_exe_manifest", | 438 "//build/win:default_exe_manifest", |
449 ] | 439 ] |
450 } | 440 } |
OLD | NEW |