Skip to content

Commit 80e8aec

Browse files
ryzokukentargos
authored andcommitted
tools: update V8 gypfiles for 8.6
PR-URL: #35415 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Myles Borins <[email protected]>
1 parent ca8f3ef commit 80e8aec

File tree

3 files changed

+41
-32
lines changed

3 files changed

+41
-32
lines changed

Diff for: tools/v8_gypfiles/features.gypi

+12-11
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@
149149
# Sets -dV8_CONCURRENT_MARKING
150150
'v8_enable_concurrent_marking%': 1,
151151

152-
# Sets -dV8_ARRAY_BUFFER_EXTENSION
153-
'v8_enable_array_buffer_extension%': 1,
154-
155152
# Enables various testing features.
156153
'v8_enable_test_features%': 0,
157154

@@ -215,9 +212,13 @@
215212
# for ARM64.
216213
'v8_control_flow_integrity%': 0,
217214

218-
# Experimental support for native context independent code.
219-
# https://crbug.com/v8/8888
220-
'v8_enable_nci_code%': 0,
215+
# Enable V8 zone compression experimental feature.
216+
# Sets -DV8_COMPRESS_ZONES.
217+
'v8_enable_zone_compression%': 0,
218+
219+
# Experimental feature for collecting per-class zone memory stats.
220+
# Requires use_rtti = true
221+
'v8_enable_precise_zone_stats%': 0,
221222

222223
# Variables from v8.gni
223224

@@ -258,6 +259,9 @@
258259
['v8_enable_pointer_compression==1 or v8_enable_31bit_smis_on_64bit_arch==1', {
259260
'defines': ['V8_31BIT_SMIS_ON_64BIT_ARCH',],
260261
}],
262+
['v8_enable_zone_compression==1', {
263+
'defines': ['V8_COMPRESS_ZONES',],
264+
}],
261265
['v8_enable_object_print==1', {
262266
'defines': ['OBJECT_PRINT',],
263267
}],
@@ -321,9 +325,6 @@
321325
['v8_enable_concurrent_marking==1', {
322326
'defines': ['V8_CONCURRENT_MARKING',],
323327
}],
324-
['v8_enable_array_buffer_extension==1', {
325-
'defines': ['V8_ARRAY_BUFFER_EXTENSION',],
326-
}],
327328
['v8_enable_lazy_source_positions==1', {
328329
'defines': ['V8_ENABLE_LAZY_SOURCE_POSITIONS',],
329330
}],
@@ -357,8 +358,8 @@
357358
['v8_control_flow_integrity==1', {
358359
'defines': ['V8_ENABLE_CONTROL_FLOW_INTEGRITY',],
359360
}],
360-
['v8_enable_nci_code==1', {
361-
'defines': ['V8_ENABLE_NCI_CODE',],
361+
['v8_enable_precise_zone_stats==1', {
362+
'defines': ['V8_ENABLE_PRECISE_ZONE_STATS',],
362363
}],
363364
], # conditions
364365
'defines': [

Diff for: tools/v8_gypfiles/inspector.gypi

+3-1
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,12 @@
110110
'<(inspector_protocol_path)/crdtp/error_support.h',
111111
'<(inspector_protocol_path)/crdtp/export.h',
112112
'<(inspector_protocol_path)/crdtp/find_by_first.h',
113-
'<(inspector_protocol_path)/crdtp/glue.h',
114113
'<(inspector_protocol_path)/crdtp/json.cc',
115114
'<(inspector_protocol_path)/crdtp/json.h',
115+
'<(inspector_protocol_path)/crdtp/maybe.h',
116116
'<(inspector_protocol_path)/crdtp/parser_handler.h',
117+
'<(inspector_protocol_path)/crdtp/protocol_core.cc',
118+
'<(inspector_protocol_path)/crdtp/protocol_core.h',
117119
'<(inspector_protocol_path)/crdtp/serializable.cc',
118120
'<(inspector_protocol_path)/crdtp/serializable.h',
119121
'<(inspector_protocol_path)/crdtp/serializer_traits.h',

Diff for: tools/v8_gypfiles/v8.gyp

+26-20
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"<(V8_ROOT)/src/builtins/builtins-string.tq",
4242
"<(V8_ROOT)/src/builtins/cast.tq",
4343
"<(V8_ROOT)/src/builtins/collections.tq",
44+
"<(V8_ROOT)/src/builtins/constructor.tq",
4445
"<(V8_ROOT)/src/builtins/conversion.tq",
4546
"<(V8_ROOT)/src/builtins/convert.tq",
4647
"<(V8_ROOT)/src/builtins/console.tq",
@@ -125,6 +126,7 @@
125126
"<(V8_ROOT)/src/builtins/typed-array-values.tq",
126127
"<(V8_ROOT)/src/builtins/typed-array.tq",
127128
"<(V8_ROOT)/src/builtins/wasm.tq",
129+
"<(V8_ROOT)/src/builtins/weak-ref.tq",
128130
"<(V8_ROOT)/src/ic/handler-configuration.tq",
129131
"<(V8_ROOT)/src/objects/allocation-site.tq",
130132
"<(V8_ROOT)/src/objects/api-callbacks.tq",
@@ -616,6 +618,7 @@
616618
],
617619
'direct_dependent_settings': {
618620
'sources': [
621+
'<(V8_ROOT)/include/v8-cppgc.h',
619622
'<(V8_ROOT)/include/v8-fast-api-calls.h',
620623
'<(V8_ROOT)/include/v8-internal.h',
621624
'<(V8_ROOT)/include/v8.h',
@@ -1668,63 +1671,66 @@
16681671
'dependencies': ['run_torque'],
16691672
'variables': {
16701673
'heapobject_files': [
1671-
'<(V8_ROOT)/src/objects/objects.h',
1672-
'<(V8_ROOT)/src/objects/objects-inl.h',
1673-
'<(V8_ROOT)/src/objects/allocation-site-inl.h',
1674+
'<(torque_output_root)/torque-generated/instance-types-tq.h',
16741675
'<(V8_ROOT)/src/objects/allocation-site.h',
1675-
'<(V8_ROOT)/src/objects/cell-inl.h',
1676+
'<(V8_ROOT)/src/objects/allocation-site-inl.h',
16761677
'<(V8_ROOT)/src/objects/cell.h',
1677-
'<(V8_ROOT)/src/objects/code-inl.h',
1678+
'<(V8_ROOT)/src/objects/cell-inl.h',
16781679
'<(V8_ROOT)/src/objects/code.h',
1680+
'<(V8_ROOT)/src/objects/code-inl.h',
16791681
'<(V8_ROOT)/src/objects/data-handler.h',
16801682
'<(V8_ROOT)/src/objects/data-handler-inl.h',
16811683
'<(V8_ROOT)/src/objects/descriptor-array.h',
16821684
'<(V8_ROOT)/src/objects/descriptor-array-inl.h',
16831685
'<(V8_ROOT)/src/objects/feedback-cell.h',
16841686
'<(V8_ROOT)/src/objects/feedback-cell-inl.h',
1685-
'<(V8_ROOT)/src/objects/fixed-array-inl.h',
16861687
'<(V8_ROOT)/src/objects/fixed-array.h',
1687-
'<(V8_ROOT)/src/objects/heap-number-inl.h',
1688+
'<(V8_ROOT)/src/objects/fixed-array-inl.h',
16881689
'<(V8_ROOT)/src/objects/heap-number.h',
1689-
'<(V8_ROOT)/src/objects/heap-object-inl.h',
1690+
'<(V8_ROOT)/src/objects/heap-number-inl.h',
16901691
'<(V8_ROOT)/src/objects/heap-object.h',
1692+
'<(V8_ROOT)/src/objects/heap-object-inl.h',
16911693
'<(V8_ROOT)/src/objects/instance-type.h',
1692-
'<(V8_ROOT)/src/objects/js-array-inl.h',
1693-
'<(V8_ROOT)/src/objects/js-array.h',
1694-
'<(V8_ROOT)/src/objects/js-array-buffer-inl.h',
16951694
'<(V8_ROOT)/src/objects/js-array-buffer.h',
1696-
'<(V8_ROOT)/src/objects/js-objects-inl.h',
1695+
'<(V8_ROOT)/src/objects/js-array-buffer-inl.h',
1696+
'<(V8_ROOT)/src/objects/js-array.h',
1697+
'<(V8_ROOT)/src/objects/js-array-inl.h',
1698+
'<(V8_ROOT)/src/objects/js-function.cc',
1699+
'<(V8_ROOT)/src/objects/js-function.h',
1700+
'<(V8_ROOT)/src/objects/js-objects.cc',
16971701
'<(V8_ROOT)/src/objects/js-objects.h',
1698-
'<(V8_ROOT)/src/objects/js-promise-inl.h',
1702+
'<(V8_ROOT)/src/objects/js-objects-inl.h',
16991703
'<(V8_ROOT)/src/objects/js-promise.h',
1700-
'<(V8_ROOT)/src/objects/js-regexp-inl.h',
1704+
'<(V8_ROOT)/src/objects/js-promise-inl.h',
17011705
'<(V8_ROOT)/src/objects/js-regexp.cc',
17021706
'<(V8_ROOT)/src/objects/js-regexp.h',
1703-
'<(V8_ROOT)/src/objects/js-regexp-string-iterator-inl.h',
1707+
'<(V8_ROOT)/src/objects/js-regexp-inl.h',
17041708
'<(V8_ROOT)/src/objects/js-regexp-string-iterator.h',
1705-
'<(V8_ROOT)/src/objects/map.h',
1709+
'<(V8_ROOT)/src/objects/js-regexp-string-iterator-inl.h',
17061710
'<(V8_ROOT)/src/objects/map.cc',
1711+
'<(V8_ROOT)/src/objects/map.h',
17071712
'<(V8_ROOT)/src/objects/map-inl.h',
1708-
'<(V8_ROOT)/src/objects/js-objects.cc',
17091713
'<(V8_ROOT)/src/objects/name.h',
17101714
'<(V8_ROOT)/src/objects/name-inl.h',
1711-
'<(V8_ROOT)/src/objects/oddball-inl.h',
1715+
'<(V8_ROOT)/src/objects/objects.h',
1716+
'<(V8_ROOT)/src/objects/objects-inl.h',
17121717
'<(V8_ROOT)/src/objects/oddball.h',
1718+
'<(V8_ROOT)/src/objects/oddball-inl.h',
17131719
'<(V8_ROOT)/src/objects/primitive-heap-object.h',
17141720
'<(V8_ROOT)/src/objects/primitive-heap-object-inl.h',
17151721
'<(V8_ROOT)/src/objects/scope-info.h',
17161722
'<(V8_ROOT)/src/objects/script.h',
17171723
'<(V8_ROOT)/src/objects/script-inl.h',
1724+
'<(V8_ROOT)/src/objects/shared-function-info.cc',
17181725
'<(V8_ROOT)/src/objects/shared-function-info.h',
17191726
'<(V8_ROOT)/src/objects/shared-function-info-inl.h',
17201727
'<(V8_ROOT)/src/objects/string.cc',
1721-
'<(V8_ROOT)/src/objects/string.h',
17221728
'<(V8_ROOT)/src/objects/string-comparator.cc',
17231729
'<(V8_ROOT)/src/objects/string-comparator.h',
1730+
'<(V8_ROOT)/src/objects/string.h',
17241731
'<(V8_ROOT)/src/objects/string-inl.h',
17251732
'<(V8_ROOT)/src/objects/struct.h',
17261733
'<(V8_ROOT)/src/objects/struct-inl.h',
1727-
'<(torque_output_root)/torque-generated/instance-types-tq.h',
17281734
],
17291735
},
17301736
'actions': [

0 commit comments

Comments
 (0)