| 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 defines += [ "BUILDING_V8_SHARED" ] | 352 defines += [ "BUILDING_V8_SHARED" ] |
| 353 } else { | 353 } else { |
| 354 deps += [ "../..:v8" ] | 354 deps += [ "../..:v8" ] |
| 355 } | 355 } |
| 356 | 356 |
| 357 cflags = [] | 357 cflags = [] |
| 358 ldflags = [] | 358 ldflags = [] |
| 359 | 359 |
| 360 if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64" || | 360 if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64" || |
| 361 v8_current_cpu == "arm" || v8_current_cpu == "arm64" || | 361 v8_current_cpu == "arm" || v8_current_cpu == "arm64" || |
| 362 v8_current_cpu == "s390" || v8_current_cpu == "s390x") { | 362 v8_current_cpu == "s390" || v8_current_cpu == "s390x" || |
| 363 v8_current_cpu == "mips" || v8_current_cpu == "mips64" || |
| 364 v8_current_cpu == "mipsel" || v8_current_cpu == "mipsel64") { |
| 363 # Disable fmadd/fmsub so that expected results match generated code in | 365 # Disable fmadd/fmsub so that expected results match generated code in |
| 364 # RunFloat64MulAndFloat64Add1 and friends. | 366 # RunFloat64MulAndFloat64Add1 and friends. |
| 365 cflags += [ "-ffp-contract=off" ] | 367 cflags += [ "-ffp-contract=off" ] |
| 366 } | 368 } |
| 367 | 369 |
| 368 if (is_win) { | 370 if (is_win) { |
| 369 # This warning is benignly triggered by the U16 and U32 macros in | 371 # This warning is benignly triggered by the U16 and U32 macros in |
| 370 # bytecode-utils.h. | 372 # bytecode-utils.h. |
| 371 # C4309: 'static_cast': truncation of constant value | 373 # C4309: 'static_cast': truncation of constant value |
| 372 cflags += [ "/wd4309" ] | 374 cflags += [ "/wd4309" ] |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 ] | 425 ] |
| 424 | 426 |
| 425 deps = [ | 427 deps = [ |
| 426 "../..:v8", | 428 "../..:v8", |
| 427 "../..:v8_libbase", | 429 "../..:v8_libbase", |
| 428 "../..:v8_libplatform", | 430 "../..:v8_libplatform", |
| 429 "//build/config/sanitizers:deps", | 431 "//build/config/sanitizers:deps", |
| 430 "//build/win:default_exe_manifest", | 432 "//build/win:default_exe_manifest", |
| 431 ] | 433 ] |
| 432 } | 434 } |
| OLD | NEW |