| 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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 "interpreter/bytecode-expectations-printer.h", | 405 "interpreter/bytecode-expectations-printer.h", |
| 406 "interpreter/generate-bytecode-expectations.cc", | 406 "interpreter/generate-bytecode-expectations.cc", |
| 407 ] | 407 ] |
| 408 | 408 |
| 409 configs = [ | 409 configs = [ |
| 410 "../..:external_config", | 410 "../..:external_config", |
| 411 "../..:internal_config_base", | 411 "../..:internal_config_base", |
| 412 ] | 412 ] |
| 413 | 413 |
| 414 deps = [ | 414 deps = [ |
| 415 "../..:v8", |
| 416 "../..:v8_libbase", |
| 415 "../..:v8_libplatform", | 417 "../..:v8_libplatform", |
| 416 "//build/config/sanitizers:deps", | 418 "//build/config/sanitizers:deps", |
| 417 "//build/win:default_exe_manifest", | 419 "//build/win:default_exe_manifest", |
| 418 ] | 420 ] |
| 419 | |
| 420 defines = [] | |
| 421 | |
| 422 if (is_component_build) { | |
| 423 # Same as cctest, we need to depend on the underlying static target. | |
| 424 deps += [ "../..:v8_maybe_snapshot" ] | |
| 425 defines += [ "BUILDING_V8_SHARED" ] | |
| 426 } else { | |
| 427 deps += [ "../..:v8" ] | |
| 428 } | |
| 429 } | 421 } |
| OLD | NEW |