Skip to content

Commit e22acbc

Browse files
joyeecheungnodejs-github-bot
authored andcommitted
build: enable V8_CPPGC_MICROTASK_QUEUE
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 55e3fbf commit e22acbc

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
@@ -89,6 +89,7 @@
8989
'v8_enable_sandbox%': 0,
9090
'v8_enable_v8_checks%': 0,
9191
'v8_use_perfetto%': 0,
92+
'v8_cppgc_microtask_queue%': 1,
9293
'tsan%': 0,
9394

9495
##### end V8 defaults #####
@@ -544,6 +545,9 @@
544545
['v8_enable_map_packing == 1', {
545546
'defines': ['V8_MAP_PACKING',],
546547
}],
548+
['v8_cppgc_microtask_queue == 1', {
549+
'defines': ['V8_CPPGC_MICROTASK_QUEUE',],
550+
}],
547551
['tsan == 1', {
548552
'defines': ['V8_IS_TSAN',],
549553
}],

‎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,
@@ -504,6 +507,9 @@
504507
['v8_control_flow_integrity==1', {
505508
'defines': ['V8_ENABLE_CONTROL_FLOW_INTEGRITY',],
506509
}],
510+
['v8_cppgc_microtask_queue==1', {
511+
'defines': ['V8_CPPGC_MICROTASK_QUEUE',],
512+
}],
507513
['v8_enable_cet_shadow_stack==1', {
508514
'defines': ['V8_ENABLE_CET_SHADOW_STACK',],
509515
}],

0 commit comments

Comments
 (0)