diff options
author | Ujjwal Sharma <usharma1998@gmail.com> | 2019-01-26 00:33:36 +0530 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2019-03-28 16:36:55 -0400 |
commit | cc75ba3f140c4584a776c163a365fedd4ea5ef63 (patch) | |
tree | 711515926d0ff3f323a5d63d3e58a742ac6d410d /configure.py | |
parent | 7df9e7723666e6dc7103775b4f87130dda433b6b (diff) | |
download | node-new-cc75ba3f140c4584a776c163a365fedd4ea5ef63.tar.gz |
deps: sync V8 gypfiles with 7.4
Normalized boolean options in the gypfiles for consistency both
internally and with the V8 GN config.
Co-authored-by: Michaël Zasso <targos@protonmail.com>
PR-URL: https://github.com/nodejs/node/pull/26685
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py index 9539c1760c..6d184f5655 100755 --- a/configure.py +++ b/configure.py @@ -1124,8 +1124,8 @@ def configure_v8(o): o['variables']['v8_optimized_debug'] = 0 if options.v8_non_optimized_debug else 1 o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables. o['variables']['v8_promise_internal_field_count'] = 1 # Add internal field to promises for async hooks. - o['variables']['v8_use_snapshot'] = 'false' if options.without_snapshot else 'true' - o['variables']['v8_use_siphash'] = 'false' if options.without_siphash else 'true' + o['variables']['v8_use_siphash'] = 0 if options.without_siphash else 1 + o['variables']['v8_use_snapshot'] = 0 if options.without_snapshot else 1 o['variables']['v8_trace_maps'] = 1 if options.trace_maps else 0 o['variables']['node_use_v8_platform'] = b(not options.without_v8_platform) o['variables']['node_use_bundled_v8'] = b(not options.without_bundled_v8) |