aboutsummaryrefslogtreecommitdiff
path: root/gni
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2017-06-06 11:06:27 +0100
committerBen Murdoch <benm@google.com>2017-06-07 12:29:44 +0100
commit62ed631aa0ff23db68a47fd423efa9c019ff2c9e (patch)
tree1df435310690642f8fd4628d6d16462d05ffc797 /gni
parentb0475911e4499628ec03ff93ce693450724887c2 (diff)
downloadv8-62ed631aa0ff23db68a47fd423efa9c019ff2c9e.tar.gz
Merge V8 5.8.283.32
Test: Build V8 for arm, arm64, x86, x86_64, mips, mips64 and set a PAC script from the UI on bullhead Change-Id: I7cc773b5daca34d869e768a1deebae3876f2dfac
Diffstat (limited to 'gni')
-rw-r--r--gni/isolate.gni12
-rw-r--r--gni/v8.gni30
2 files changed, 39 insertions, 3 deletions
diff --git a/gni/isolate.gni b/gni/isolate.gni
index 1cc3a387..a347eeaa 100644
--- a/gni/isolate.gni
+++ b/gni/isolate.gni
@@ -3,7 +3,6 @@
# found in the LICENSE file.
import("//build/config/sanitizers/sanitizers.gni")
-import("//build_overrides/v8.gni")
import("//third_party/icu/config.gni")
import("v8.gni")
@@ -62,6 +61,11 @@ template("v8_isolate_run") {
} else {
asan = "0"
}
+ if (is_lsan) {
+ lsan = "1"
+ } else {
+ lsan = "0"
+ }
if (is_msan) {
msan = "1"
} else {
@@ -97,7 +101,7 @@ template("v8_isolate_run") {
} else {
icu_use_data_file_flag = "0"
}
- if (v8_enable_inspector_override) {
+ if (v8_enable_inspector) {
enable_inspector = "1"
} else {
enable_inspector = "0"
@@ -159,6 +163,8 @@ template("v8_isolate_run") {
"--config-variable",
"is_gn=1",
"--config-variable",
+ "lsan=$lsan",
+ "--config-variable",
"msan=$msan",
"--config-variable",
"tsan=$tsan",
@@ -181,7 +187,7 @@ template("v8_isolate_run") {
if (is_win) {
args += [
"--config-variable",
- "msvs_version=2013",
+ "msvs_version=2015",
]
} else {
args += [
diff --git a/gni/v8.gni b/gni/v8.gni
index 3759572b..ea628e00 100644
--- a/gni/v8.gni
+++ b/gni/v8.gni
@@ -6,6 +6,12 @@ import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/v8_target_cpu.gni")
declare_args() {
+ # Includes files needed for correctness fuzzing.
+ v8_correctness_fuzzer = false
+
+ # Adds additional compile target for building multiple architectures at once.
+ v8_multi_arch_build = false
+
# Indicate if valgrind was fetched as a custom deps to make it available on
# swarming.
v8_has_valgrind = false
@@ -30,6 +36,12 @@ declare_args() {
# Enable ECMAScript Internationalization API. Enabling this feature will
# add a dependency on the ICU library.
v8_enable_i18n_support = true
+
+ # Enable inspector. See include/v8-inspector.h.
+ v8_enable_inspector = true
+
+ # Use static libraries instead of source_sets.
+ v8_static_library = false
}
if (v8_use_external_startup_data == "") {
@@ -83,6 +95,24 @@ if (is_posix && v8_enable_backtrace) {
# All templates should be kept in sync.
template("v8_source_set") {
+ if (defined(v8_static_library) && v8_static_library) {
+ static_library(target_name) {
+ forward_variables_from(invoker, "*", [ "configs" ])
+ configs += invoker.configs
+ configs -= v8_remove_configs
+ configs += v8_add_configs
+ }
+ } else {
+ source_set(target_name) {
+ forward_variables_from(invoker, "*", [ "configs" ])
+ configs += invoker.configs
+ configs -= v8_remove_configs
+ configs += v8_add_configs
+ }
+ }
+}
+
+template("v8_header_set") {
source_set(target_name) {
forward_variables_from(invoker, "*", [ "configs" ])
configs += invoker.configs