Skip to content

Commit 4860ad9

Browse files
committed
tools: update V8 gypfiles for 10.7
PR-URL: #44741 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 89ecddd commit 4860ad9

File tree

4 files changed

+44
-499
lines changed

4 files changed

+44
-499
lines changed

tools/v8_gypfiles/features.gypi

+18-17
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,16 @@
6363
'is_component_build': 0,
6464
}],
6565
['OS == "win" or OS == "mac"', {
66-
# Sets -DSYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing
66+
# Sets -DENABLE_SYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing
6767
'v8_enable_system_instrumentation': 1,
6868
}, {
6969
'v8_enable_system_instrumentation': 0,
7070
}],
71+
['OS == "win"', {
72+
'v8_enable_etw_stack_walking': 1,
73+
}, {
74+
'v8_enable_etw_stack_walking': 0,
75+
}]
7176
],
7277
'is_debug%': 0,
7378

@@ -219,17 +224,9 @@
219224
'v8_enable_zone_compression%': 0,
220225

221226
# Enable the experimental V8 sandbox.
222-
# Sets -DV8_SANDBOX.
227+
# Sets -DV8_ENABLE_SANDBOX.
223228
'v8_enable_sandbox%': 0,
224229

225-
# Enable external pointer sandboxing. Requires v8_enable_sandbox.
226-
# Sets -DV8_SANDBOXED_EXTERNAL_POINRTERS.
227-
'v8_enable_sandboxed_external_pointers%': 0,
228-
229-
# Enable sandboxed pointers. Requires v8_enable_sandbox.
230-
# Sets -DV8_SANDBOXED_POINTERS.
231-
'v8_enable_sandboxed_pointers%': 0,
232-
233230
# Experimental feature for collecting per-class zone memory stats.
234231
# Requires use_rtti = true
235232
'v8_enable_precise_zone_stats%': 0,
@@ -263,6 +260,10 @@
263260
# (incomplete and experimental).
264261
'v8_enable_cet_shadow_stack%': 0,
265262

263+
# Compile V8 using zlib as dependency.
264+
# Sets -DV8_USE_ZLIB
265+
'v8_use_zlib%': 1,
266+
266267
# Variables from v8.gni
267268

268269
# Enable ECMAScript Internationalization API. Enabling this feature will
@@ -323,13 +324,7 @@
323324
'defines': ['V8_COMPRESS_ZONES',],
324325
}],
325326
['v8_enable_sandbox==1', {
326-
'defines': ['V8_SANDBOX',],
327-
}],
328-
['v8_enable_sandboxed_pointers==1', {
329-
'defines': ['V8_SANDBOXED_POINTERS',],
330-
}],
331-
['v8_enable_sandboxed_external_pointers==1', {
332-
'defines': ['V8_SANDBOXED_EXTERNAL_POINTERS',],
327+
'defines': ['V8_ENABLE_SANDBOX',],
333328
}],
334329
['v8_enable_object_print==1', {
335330
'defines': ['OBJECT_PRINT',],
@@ -427,6 +422,9 @@
427422
['v8_enable_cet_shadow_stack==1', {
428423
'defines': ['V8_ENABLE_CET_SHADOW_STACK',],
429424
}],
425+
['v8_use_zlib==1', {
426+
'defines': ['V8_USE_ZLIB',],
427+
}],
430428
['v8_enable_precise_zone_stats==1', {
431429
'defines': ['V8_ENABLE_PRECISE_ZONE_STATS',],
432430
}],
@@ -439,6 +437,9 @@
439437
['v8_enable_system_instrumentation==1', {
440438
'defines': ['V8_ENABLE_SYSTEM_INSTRUMENTATION',],
441439
}],
440+
['v8_enable_etw_stack_walking==1', {
441+
'defines': ['V8_ENABLE_ETW_STACK_WALKING',],
442+
}],
442443
['v8_enable_webassembly==1', {
443444
'defines': ['V8_ENABLE_WEBASSEMBLY',],
444445
}],

tools/v8_gypfiles/inspector.gypi

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
'variables': {
77
'inspector_protocol_path': '<(V8_ROOT)/third_party/inspector_protocol',
88
'inspector_protocol_files': [
9-
'<(inspector_protocol_path)/lib/base_string_adapter_cc.template',
10-
'<(inspector_protocol_path)/lib/base_string_adapter_h.template',
119
'<(inspector_protocol_path)/lib/Forward_h.template',
1210
'<(inspector_protocol_path)/lib/Object_cpp.template',
1311
'<(inspector_protocol_path)/lib/Object_h.template',

0 commit comments

Comments
 (0)