Skip to content

Commit 1fd9845

Browse files
committed
tools: update V8 gypfiles for 9.5
PR-URL: #40178 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent c9296b1 commit 1fd9845

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

common.gypi

-4
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@
6666
'v8_enable_pointer_compression%': 0,
6767
'v8_enable_31bit_smis_on_64bit_arch%': 0,
6868

69-
# Disable V8 untrusted code mitigations.
70-
# See https://github.com/v8/v8/wiki/Untrusted-code-mitigations
71-
'v8_untrusted_code_mitigations': 0,
72-
7369
# This is more of a V8 dev setting
7470
# https://github.com/nodejs/node/pull/22920/files#r222779926
7571
'v8_enable_fast_mksnapshot': 0,

tools/v8_gypfiles/features.gypi

-6
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,6 @@
169169
# Controls the threshold for on-heap/off-heap Typed Arrays.
170170
'v8_typed_array_max_size_in_heap%': 64,
171171

172-
# Enable mitigations for executing untrusted code.
173-
'v8_untrusted_code_mitigations%': 1,
174-
175172
# Enable minor mark compact.
176173
'v8_enable_minor_mc%': 1,
177174

@@ -358,9 +355,6 @@
358355
['v8_enable_verify_csa==1', {
359356
'defines': ['ENABLE_VERIFY_CSA',],
360357
}],
361-
['v8_untrusted_code_mitigations==0', {
362-
'defines': ['DISABLE_UNTRUSTED_CODE_MITIGATIONS',],
363-
}],
364358
['v8_use_perfetto==1', {
365359
'defines': ['V8_USE_PERFETTO',],
366360
}],

tools/v8_gypfiles/v8.gyp

+1-6
Original file line numberDiff line numberDiff line change
@@ -509,12 +509,7 @@
509509
],
510510
'direct_dependent_settings': {
511511
'sources': [
512-
'<(V8_ROOT)/include/v8-cppgc.h',
513-
'<(V8_ROOT)/include/v8-fast-api-calls.h',
514-
'<(V8_ROOT)/include/v8-internal.h',
515-
'<(V8_ROOT)/include/v8-profiler.h',
516-
'<(V8_ROOT)/include/v8-util.h',
517-
'<(V8_ROOT)/include/v8.h',
512+
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_headers\\".*?sources = ")',
518513

519514
'<(V8_ROOT)/include/v8-wasm-trap-handler-posix.h',
520515
'<(V8_ROOT)/include/v8-wasm-trap-handler-win.h',

0 commit comments

Comments
 (0)