summaryrefslogtreecommitdiff
path: root/deps/v8/gni/v8.gni
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/gni/v8.gni')
-rw-r--r--deps/v8/gni/v8.gni24
1 files changed, 19 insertions, 5 deletions
diff --git a/deps/v8/gni/v8.gni b/deps/v8/gni/v8.gni
index 7ff7f6fb89..3759572b93 100644
--- a/deps/v8/gni/v8.gni
+++ b/deps/v8/gni/v8.gni
@@ -26,6 +26,10 @@ declare_args() {
# Use external files for startup data blobs:
# the JS builtins sources and the start snapshot.
v8_use_external_startup_data = ""
+
+ # Enable ECMAScript Internationalization API. Enabling this feature will
+ # add a dependency on the ICU library.
+ v8_enable_i18n_support = true
}
if (v8_use_external_startup_data == "") {
@@ -38,15 +42,17 @@ if (v8_enable_backtrace == "") {
v8_enable_backtrace = is_debug && !v8_optimized_debug
}
-###############################################################################
-# Templates
-#
-
# Points to // in v8 stand-alone or to //v8/ in chromium. We need absolute
# paths for all configs in templates as they are shared in different
# subdirectories.
v8_path_prefix = get_path_info("../", "abspath")
+v8_inspector_js_protocol = v8_path_prefix + "/src/inspector/js_protocol.json"
+
+###############################################################################
+# Templates
+#
+
# Common configs to remove or add in all v8 targets.
v8_remove_configs = [ "//build/config/compiler:chromium_code" ]
v8_add_configs = [
@@ -87,7 +93,15 @@ template("v8_source_set") {
template("v8_executable") {
executable(target_name) {
- forward_variables_from(invoker, "*", [ "configs" ])
+ forward_variables_from(invoker,
+ "*",
+ [
+ "configs",
+ "remove_configs",
+ ])
+ if (defined(invoker.remove_configs)) {
+ configs -= invoker.remove_configs
+ }
configs += invoker.configs
configs -= v8_remove_configs
configs += v8_add_configs