Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: BUILD.gn

Issue 2102483002: [gn] Add remaining executables to gn (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [
« no previous file with comments | « no previous file | test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698