From 77847739674239a31e6113ad63084bec690a7997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sat, 4 Nov 2023 13:39:34 +0100 Subject: [PATCH] tools: update V8 gypfiles for 12.0 Refs: https://github.com/v8/v8/commit/ba401aa9c13aefad97074d0ad229588e07119ed6 PR-URL: https://github.com/nodejs/node/pull/51362 Reviewed-By: Matteo Collina Reviewed-By: Antoine du Hamel Reviewed-By: Rafael Gonzaga --- tools/v8_gypfiles/features.gypi | 7 ++++ tools/v8_gypfiles/v8.gyp | 69 +++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index be1dfe407a290d..4cf4b9332d754e 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -290,6 +290,10 @@ # Sets -DV8_USE_ZLIB 'v8_use_zlib%': 1, + # Enable Sparkplug + # Sets -DV8_ENABLE_SPARKPLUG. + 'v8_enable_sparkplug%': 1, + # Whether custom embedder snapshots may extend (= allocate new objects in) # ReadOnlySpace. 'v8_enable_extensible_ro_snapshot%': 1, @@ -491,6 +495,9 @@ ['v8_enable_precise_zone_stats==1', { 'defines': ['V8_ENABLE_PRECISE_ZONE_STATS',], }], + ['v8_enable_sparkplug==1', { + 'defines': ['V8_ENABLE_SPARKPLUG',], + }], ['v8_enable_maglev==1', { 'defines': ['V8_ENABLE_MAGLEV',], }], diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 45f66088c9f3fa..bfd3766d3b25a7 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -583,6 +583,11 @@ '