| Index: BUILD.gn
|
| diff --git a/BUILD.gn b/BUILD.gn
|
| index 47896c327db9ac0f84ca26d216d87ffac57050d4..d8bd8d13810d8871f9ad4717f6394291629dbee0 100644
|
| --- a/BUILD.gn
|
| +++ b/BUILD.gn
|
| @@ -2069,6 +2069,7 @@ group("gn_all") {
|
| deps = [
|
| ":d8",
|
| ":v8_hello_world",
|
| + ":v8_parser_shell",
|
| ":v8_sample_process",
|
| ":v8_simple_json_fuzzer",
|
| ":v8_simple_parser_fuzzer",
|
| @@ -2206,6 +2207,36 @@ v8_executable("v8_sample_process") {
|
| }
|
| }
|
|
|
| +v8_executable("v8_parser_shell") {
|
| + sources = [
|
| + "tools/parser-shell.cc",
|
| + "tools/shell-utils.h",
|
| + ]
|
| +
|
| + configs = [
|
| + ":external_config",
|
| + ":internal_config_base",
|
| + ]
|
| +
|
| + deps = [
|
| + ":v8_libplatform",
|
| + "//build/config/sanitizers:deps",
|
| + "//build/win:default_exe_manifest",
|
| + ]
|
| +
|
| + if (is_component_build) {
|
| + # v8_parser_shell can't be built against a shared library, so we
|
| + # need to depend on the underlying static target in that case.
|
| + deps += [ ":v8_maybe_snapshot" ]
|
| + } else {
|
| + deps += [ ":v8" ]
|
| + }
|
| +
|
| + if (v8_enable_i18n_support) {
|
| + deps += [ "//third_party/icu" ]
|
| + }
|
| +}
|
| +
|
| if (want_v8_shell) {
|
| v8_executable("v8_shell") {
|
| sources = [
|
|
|