Skip to content

Commit 0bae00b

Browse files
joyeecheungnodejs-github-bot
authored andcommitted
build: enable V8_CPPGC_MICROTASK_QUEUE
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 168f445 commit 0bae00b

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎common.gypi‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
'v8_enable_sandbox%': 0,
8989
'v8_enable_v8_checks%': 0,
9090
'v8_use_perfetto%': 0,
91+
'v8_cppgc_microtask_queue%': 1,
9192
'tsan%': 0,
9293

9394
##### end V8 defaults #####
@@ -543,6 +544,9 @@
543544
['v8_enable_map_packing == 1', {
544545
'defines': ['V8_MAP_PACKING',],
545546
}],
547+
['v8_cppgc_microtask_queue == 1', {
548+
'defines': ['V8_CPPGC_MICROTASK_QUEUE',],
549+
}],
546550
['tsan == 1', {
547551
'defines': ['V8_IS_TSAN',],
548552
}],

‎tools/v8_gypfiles/features.gypi‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@
234234
# for ARM64.
235235
'v8_control_flow_integrity%': 0,
236236

237+
# Enable CppGC-based MicrotaskQueue.
238+
'v8_cppgc_microtask_queue%': 1,
239+
237240
# Enable the experimental V8 sandbox.
238241
# Sets -DV8_ENABLE_SANDBOX.
239242
'v8_enable_sandbox%': 0,
@@ -492,6 +495,9 @@
492495
['v8_control_flow_integrity==1', {
493496
'defines': ['V8_ENABLE_CONTROL_FLOW_INTEGRITY',],
494497
}],
498+
['v8_cppgc_microtask_queue==1', {
499+
'defines': ['V8_CPPGC_MICROTASK_QUEUE',],
500+
}],
495501
['v8_enable_cet_shadow_stack==1', {
496502
'defines': ['V8_ENABLE_CET_SHADOW_STACK',],
497503
}],

0 commit comments

Comments
 (0)