Index: test/cctest/BUILD.gn |
diff --git a/test/cctest/BUILD.gn b/test/cctest/BUILD.gn |
index 08d88dd0e46ae3c7a8ebce5051065e4a9f52ed9b..04cf8e723dc3ab1f07e27ae9418b28e46f7b85e0 100644 |
--- a/test/cctest/BUILD.gn |
+++ b/test/cctest/BUILD.gn |
@@ -371,4 +371,29 @@ action("resources") { |
] |
args += rebase_path(sources, root_build_dir) |
} |
-# TODO(machenbach): Migrate generate-bytecode-expectations. |
+ |
+v8_executable("generate-bytecode-expectations") { |
+ sources = [ |
+ "interpreter/bytecode-expectations-printer.cc", |
+ "interpreter/bytecode-expectations-printer.h", |
+ "interpreter/generate-bytecode-expectations.cc", |
+ ] |
+ |
+ configs = [ |
+ "../..:external_config", |
+ "../..:internal_config_base", |
+ ] |
+ |
+ deps = [ |
+ "../..:v8_libplatform", |
+ "//build/config/sanitizers:deps", |
+ "//build/win:default_exe_manifest", |
+ ] |
+ |
+ if (is_component_build) { |
+ # Same as cctest, we need to depend on the underlying static target. |
+ deps += [ "../..:v8_maybe_snapshot" ] |
+ } else { |
+ deps += [ "../..:v8" ] |
+ } |
+} |