From 2a292cf574188331fdfb612d4fc6087c087e51ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 3 Mar 2021 16:39:21 +0100 Subject: [PATCH] tools: update V8 gypfiles for 9.1 PR-URL: https://github.com/nodejs/node/pull/38273 Backport-PR-URL: https://github.com/nodejs/node/pull/38991 Reviewed-By: Jiawen Geng Reviewed-By: Colin Ihrig Reviewed-By: Antoine du Hamel Reviewed-By: Michael Dawson Reviewed-By: Mary Marchini --- configure.py | 1 + tools/v8_gypfiles/v8.gyp | 314 +++++++++++++++++++++++++++++++-------- 2 files changed, 253 insertions(+), 62 deletions(-) diff --git a/configure.py b/configure.py index 05d43150524946..4bc790e2f24219 100755 --- a/configure.py +++ b/configure.py @@ -1379,6 +1379,7 @@ def configure_library(lib, output, pkgname=None): def configure_v8(o): + o['variables']['v8_enable_webassembly'] = 1 o['variables']['v8_enable_lite_mode'] = 1 if options.v8_lite_mode else 0 o['variables']['v8_enable_gdbjit'] = 1 if options.gdb else 0 o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs. diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index f20c9d5cf7b406..3853a007b37bb1 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -23,9 +23,17 @@ 'torque_outputs_inc': ['