summaryrefslogtreecommitdiff
path: root/deps/v8/gypfiles/features.gypi
diff options
context:
space:
mode:
authorUjjwal Sharma <usharma1998@gmail.com>2018-11-30 23:48:42 +0530
committerMichaël Zasso <targos@protonmail.com>2019-03-14 18:49:55 +0100
commitcefb8029cd43db87077384b36f3a9bd6d4555dad (patch)
tree16be9fd00d71bdcb5df9824c0594e0084bf17d02 /deps/v8/gypfiles/features.gypi
parentd266e3e2cf1f8f78120f665e8d0b8e8dd30c2976 (diff)
downloadandroid-node-v8-cefb8029cd43db87077384b36f3a9bd6d4555dad.tar.gz
android-node-v8-cefb8029cd43db87077384b36f3a9bd6d4555dad.tar.bz2
android-node-v8-cefb8029cd43db87077384b36f3a9bd6d4555dad.zip
deps: sync V8 gypfiles with 7.3
Co-authored-by: Michaël Zasso <targos@protonmail.com> Co-authored-by: Refael Ackermann <refack@gmail.com> Co-authored-by: Colin Ihrig <cjihrig@gmail.com> PR-URL: https://github.com/nodejs/node/pull/25852 Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'deps/v8/gypfiles/features.gypi')
-rw-r--r--deps/v8/gypfiles/features.gypi33
1 files changed, 13 insertions, 20 deletions
diff --git a/deps/v8/gypfiles/features.gypi b/deps/v8/gypfiles/features.gypi
index 48e51a76e2..485a135aa1 100644
--- a/deps/v8/gypfiles/features.gypi
+++ b/deps/v8/gypfiles/features.gypi
@@ -51,11 +51,6 @@
'v8_enable_gdbjit%': 0,
- # Build-time flag for enabling nojit mode.
- # TODO(v8:7777): Remove the build-time flag once the --jitless runtime flag
- # does everything we need.
- 'v8_enable_jitless_mode%': 0,
-
# Enable code-generation-time checking of types in the CodeStubAssembler.
'v8_enable_verify_csa%': 0,
@@ -81,6 +76,9 @@
# tools/gen-postmortem-metadata.py for details.
'v8_postmortem_support%': 'false',
+ # Use Siphash as added protection against hash flooding attacks.
+ 'v8_use_siphash%': 'false',
+
# Interpreted regexp engine exists as platform-independent alternative
# based where the regular expression is compiled to a bytecode.
'v8_interpreted_regexp%': 0,
@@ -121,23 +119,16 @@
#'v8_enable_handle_zapping%': 0,
'v8_enable_pointer_compression%': 'false',
-
'v8_enable_31bit_smis_on_64bit_arch%': 'false',
'v8_enable_embedded_builtins%': 'true',
+ # Enable code comments for builtins in the snapshot (impacts performance).
+ 'v8_enable_snapshot_code_comments%': 'false',
+
'v8_enable_fast_mksnapshot%': 0,
},
- 'conditions': [
- # V8's predicate inverted since we default to 'true' and set 'false' for unsupported cases.
- # !is_aix
- ['not (OS!="aix")', {
- 'variables': {
- 'v8_enable_embedded_builtins': 'false',
- }
- }],
- ],
'target_defaults': {
'conditions': [
['v8_embedder_string!=""', {
@@ -150,7 +141,12 @@
'defines': ['V8_PROMISE_INTERNAL_FIELD_COUNT=<(v8_promise_internal_field_count)'],
}],
['v8_enable_lite_mode==1', {
- 'defines': ['V8_LITE_MODE',],
+ 'defines': [
+ 'V8_LITE_MODE',
+
+ # TODO(v8:7777): Remove the define once the --jitless runtime flag does everything we need.
+ 'V8_JITLESS_MODE',
+ ],
}],
['v8_enable_gdbjit==1', {
'defines': ['ENABLE_GDB_JIT_INTERFACE',],
@@ -173,7 +169,7 @@
['v8_enable_verify_predictable==1', {
'defines': ['VERIFY_PREDICTABLE',],
}],
- ['v8_interpreted_regexp==1', {
+ ['v8_interpreted_regexp==1 or v8_enable_lite_mode==1', {
'defines': ['V8_INTERPRETED_REGEXP',],
}],
['v8_deprecation_warnings==1', {
@@ -222,9 +218,6 @@
'V8_EMBEDDED_BUILTINS',
],
}],
- ['v8_enable_jitless_mode==1', {
- 'defines': ['V8_JITLESS_MODE',],
- }],
], # conditions
'defines': [
'V8_GYP_BUILD',