From 47e7adcc2d01c73e830aaacba0267ccef977d598 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 --- 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 aa946a27741..8bc92a6503d 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -279,6 +279,10 @@ # Compile V8 using zlib as dependency. # 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. @@ -470,6 +474,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 45323919348..e9bc7bcdf5e 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -547,6 +547,11 @@ '