From cc75ba3f140c4584a776c163a365fedd4ea5ef63 Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Sat, 26 Jan 2019 00:33:36 +0530 Subject: deps: sync V8 gypfiles with 7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Normalized boolean options in the gypfiles for consistency both internally and with the V8 GN config. Co-authored-by: Michaël Zasso PR-URL: https://github.com/nodejs/node/pull/26685 Reviewed-By: Anna Henningsen Reviewed-By: Michaël Zasso Reviewed-By: Refael Ackermann --- configure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.py') 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) -- cgit v1.2.3