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 # Please keep this file in sync with cctest.gyp. | 5 # Please keep this file in sync with cctest.gyp. |
6 | 6 |
7 import("../../gni/v8.gni") | 7 import("../../gni/v8.gni") |
8 | 8 |
9 v8_executable("cctest") { | 9 v8_executable("cctest") { |
10 testonly = true | 10 testonly = true |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 outputs = [ | 364 outputs = [ |
365 "$target_gen_dir/resources.cc", | 365 "$target_gen_dir/resources.cc", |
366 ] | 366 ] |
367 | 367 |
368 args = [ | 368 args = [ |
369 rebase_path("$target_gen_dir/resources.cc", root_build_dir), | 369 rebase_path("$target_gen_dir/resources.cc", root_build_dir), |
370 "TEST", | 370 "TEST", |
371 ] | 371 ] |
372 args += rebase_path(sources, root_build_dir) | 372 args += rebase_path(sources, root_build_dir) |
373 } | 373 } |
374 # TODO(machenbach): Migrate generate-bytecode-expectations. | 374 |
| 375 v8_executable("generate-bytecode-expectations") { |
| 376 sources = [ |
| 377 "interpreter/bytecode-expectations-printer.cc", |
| 378 "interpreter/bytecode-expectations-printer.h", |
| 379 "interpreter/generate-bytecode-expectations.cc", |
| 380 ] |
| 381 |
| 382 configs = [ |
| 383 "../..:external_config", |
| 384 "../..:internal_config_base", |
| 385 ] |
| 386 |
| 387 deps = [ |
| 388 "../..:v8_libplatform", |
| 389 "//build/config/sanitizers:deps", |
| 390 "//build/win:default_exe_manifest", |
| 391 ] |
| 392 |
| 393 if (is_component_build) { |
| 394 # Same as cctest, we need to depend on the underlying static target. |
| 395 deps += [ "../..:v8_maybe_snapshot" ] |
| 396 } else { |
| 397 deps += [ "../..:v8" ] |
| 398 } |
| 399 } |
OLD | NEW |