Skip to content

Commit 770d9e2

Browse files
committed
tools: update V8 gypfiles for 8.7
PR-URL: #35700 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Shelley Vohr <[email protected]>
1 parent 6f9cbcf commit 770d9e2

File tree

3 files changed

+39
-45
lines changed

3 files changed

+39
-45
lines changed

tools/v8_gypfiles/features.gypi

-6
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@
146146
# Sets -dV8_TRACE_FEEDBACK_UPDATES.
147147
'v8_enable_trace_feedback_updates%': 0,
148148

149-
# Sets -dV8_CONCURRENT_MARKING
150-
'v8_enable_concurrent_marking%': 1,
151-
152149
# Enables various testing features.
153150
'v8_enable_test_features%': 0,
154151

@@ -322,9 +319,6 @@
322319
['v8_enable_third_party_heap==1', {
323320
'defines': ['V8_ENABLE_THIRD_PARTY_HEAP',],
324321
}],
325-
['v8_enable_concurrent_marking==1', {
326-
'defines': ['V8_CONCURRENT_MARKING',],
327-
}],
328322
['v8_enable_lazy_source_positions==1', {
329323
'defines': ['V8_ENABLE_LAZY_SOURCE_POSITIONS',],
330324
}],

tools/v8_gypfiles/toolchain.gypi

+1-9
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@
8686
# For a shared library build, results in "libv8-<(soname_version).so".
8787
'soname_version%': '',
8888

89-
# Allow to suppress the array bounds warning (default is no suppression).
90-
'wno_array_bounds%': '',
91-
9289
# Override where to find binutils
9390
'binutils_dir%': '',
9491

@@ -141,7 +138,7 @@
141138
'cflags': [ '-Werror', '-Wno-unknown-pragmas' ],
142139
},{
143140
'cflags!': [ '-Wall', '-Wextra' ],
144-
'cflags': [ '-Wno-return-type' ],
141+
'cflags': [ '-Wno-return-type', '-Wno-int-in-bool-context' ],
145142
}],
146143
['v8_target_arch=="arm"', {
147144
'defines': [
@@ -1116,10 +1113,6 @@
11161113
'V8_ENABLE_FORCE_SLOW_PATH',
11171114
],
11181115
'conditions': [
1119-
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \
1120-
OS=="qnx" or OS=="aix"', {
1121-
'cflags': [ '-Woverloaded-virtual', '<(wno_array_bounds)', ],
1122-
}],
11231116
['OS=="linux" and v8_enable_backtrace==1', {
11241117
# Support for backtrace_symbols.
11251118
'ldflags': [ '-rdynamic' ],
@@ -1276,7 +1269,6 @@
12761269
'cflags': [
12771270
'-fdata-sections',
12781271
'-ffunction-sections',
1279-
'<(wno_array_bounds)',
12801272
],
12811273
'conditions': [
12821274
# Don't use -O3 with sanitizers.

tools/v8_gypfiles/v8.gyp

+38-30
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"<(V8_ROOT)/src/builtins/array-splice.tq",
3636
"<(V8_ROOT)/src/builtins/array-unshift.tq",
3737
"<(V8_ROOT)/src/builtins/array.tq",
38+
"<(V8_ROOT)/src/builtins/arraybuffer.tq",
3839
"<(V8_ROOT)/src/builtins/base.tq",
3940
"<(V8_ROOT)/src/builtins/bigint.tq",
4041
"<(V8_ROOT)/src/builtins/boolean.tq",
@@ -232,26 +233,30 @@
232233
'<@(torque_files)',
233234
],
234235
'outputs': [
235-
'<(torque_output_root)/torque-generated/bit-fields-tq.h',
236-
'<(torque_output_root)/torque-generated/builtin-definitions-tq.h',
237-
'<(torque_output_root)/torque-generated/interface-descriptors-tq.inc',
238-
'<(torque_output_root)/torque-generated/factory-tq.cc',
239-
'<(torque_output_root)/torque-generated/factory-tq.inc',
240-
'<(torque_output_root)/torque-generated/field-offsets-tq.h',
241-
'<(torque_output_root)/torque-generated/class-verifiers-tq.cc',
242-
'<(torque_output_root)/torque-generated/class-verifiers-tq.h',
243-
'<(torque_output_root)/torque-generated/enum-verifiers-tq.cc',
244-
'<(torque_output_root)/torque-generated/objects-printer-tq.cc',
245-
'<(torque_output_root)/torque-generated/objects-body-descriptors-tq-inl.inc',
246-
'<(torque_output_root)/torque-generated/class-definitions-tq.cc',
247-
'<(torque_output_root)/torque-generated/class-definitions-tq-inl.h',
248-
'<(torque_output_root)/torque-generated/class-definitions-tq.h',
249-
'<(torque_output_root)/torque-generated/class-debug-readers-tq.cc',
250-
'<(torque_output_root)/torque-generated/class-debug-readers-tq.h',
251-
'<(torque_output_root)/torque-generated/exported-macros-assembler-tq.cc',
252-
'<(torque_output_root)/torque-generated/exported-macros-assembler-tq.h',
253-
'<(torque_output_root)/torque-generated/csa-types-tq.h',
254-
'<(torque_output_root)/torque-generated/instance-types-tq.h',
236+
'<(torque_output_root)/torque-generated/bit-fields.h',
237+
'<(torque_output_root)/torque-generated/builtin-definitions.h',
238+
'<(torque_output_root)/torque-generated/interface-descriptors.inc',
239+
'<(torque_output_root)/torque-generated/factory.cc',
240+
'<(torque_output_root)/torque-generated/factory.inc',
241+
'<(torque_output_root)/torque-generated/field-offsets.h',
242+
'<(torque_output_root)/torque-generated/class-verifiers.cc',
243+
'<(torque_output_root)/torque-generated/class-verifiers.h',
244+
'<(torque_output_root)/torque-generated/enum-verifiers.cc',
245+
'<(torque_output_root)/torque-generated/objects-printer.cc',
246+
'<(torque_output_root)/torque-generated/objects-body-descriptors-inl.inc',
247+
'<(torque_output_root)/torque-generated/class-definitions.cc',
248+
'<(torque_output_root)/torque-generated/class-definitions-inl.h',
249+
'<(torque_output_root)/torque-generated/class-definitions.h',
250+
'<(torque_output_root)/torque-generated/class-debug-readers.cc',
251+
'<(torque_output_root)/torque-generated/class-debug-readers.h',
252+
'<(torque_output_root)/torque-generated/exported-macros-assembler.cc',
253+
'<(torque_output_root)/torque-generated/exported-macros-assembler.h',
254+
'<(torque_output_root)/torque-generated/csa-types.h',
255+
'<(torque_output_root)/torque-generated/instance-types.h',
256+
'<(torque_output_root)/torque-generated/internal-class-definitions.h',
257+
'<(torque_output_root)/torque-generated/internal-class-definitions-inl.h',
258+
'<(torque_output_root)/torque-generated/exported-class-definitions.h',
259+
'<(torque_output_root)/torque-generated/exported-class-definitions-inl.h',
255260
'<@(torque_outputs)',
256261
],
257262
'action': [
@@ -298,10 +303,10 @@
298303
],
299304
'direct_dependent_settings': {
300305
'sources': [
301-
'<(torque_output_root)/torque-generated/csa-types-tq.h',
302-
'<(torque_output_root)/torque-generated/enum-verifiers-tq.cc',
303-
'<(torque_output_root)/torque-generated/exported-macros-assembler-tq.cc',
304-
'<(torque_output_root)/torque-generated/exported-macros-assembler-tq.h',
306+
'<(torque_output_root)/torque-generated/csa-types.h',
307+
'<(torque_output_root)/torque-generated/enum-verifiers.cc',
308+
'<(torque_output_root)/torque-generated/exported-macros-assembler.cc',
309+
'<(torque_output_root)/torque-generated/exported-macros-assembler.h',
305310
'<(V8_ROOT)/src/torque/runtime-support.h',
306311
'<@(torque_outputs)',
307312
],
@@ -323,11 +328,11 @@
323328
],
324329
'direct_dependent_settings': {
325330
'sources': [
326-
'<(torque_output_root)/torque-generated/class-definitions-tq.cc',
327-
'<(torque_output_root)/torque-generated/class-verifiers-tq.cc',
328-
'<(torque_output_root)/torque-generated/class-verifiers-tq.h',
329-
'<(torque_output_root)/torque-generated/factory-tq.cc',
330-
'<(torque_output_root)/torque-generated/objects-printer-tq.cc',
331+
'<(torque_output_root)/torque-generated/class-definitions.cc',
332+
'<(torque_output_root)/torque-generated/class-verifiers.cc',
333+
'<(torque_output_root)/torque-generated/class-verifiers.h',
334+
'<(torque_output_root)/torque-generated/factory.cc',
335+
'<(torque_output_root)/torque-generated/objects-printer.cc',
331336
],
332337
'include_dirs': [
333338
'<(torque_output_root)',
@@ -1487,6 +1492,8 @@
14871492
'sources': [
14881493
'<(V8_ROOT)/src/heap/base/stack.cc',
14891494
'<(V8_ROOT)/src/heap/base/stack.h',
1495+
'<(V8_ROOT)/src/heap/base/worklist.cc',
1496+
'<(V8_ROOT)/src/heap/base/worklist.h',
14901497
],
14911498
'conditions': [
14921499
['clang or OS!="win"', {
@@ -1671,7 +1678,7 @@
16711678
'dependencies': ['run_torque'],
16721679
'variables': {
16731680
'heapobject_files': [
1674-
'<(torque_output_root)/torque-generated/instance-types-tq.h',
1681+
'<(torque_output_root)/torque-generated/instance-types.h',
16751682
'<(V8_ROOT)/src/objects/allocation-site.h',
16761683
'<(V8_ROOT)/src/objects/allocation-site-inl.h',
16771684
'<(V8_ROOT)/src/objects/cell.h',
@@ -1695,6 +1702,7 @@
16951702
'<(V8_ROOT)/src/objects/js-array-buffer-inl.h',
16961703
'<(V8_ROOT)/src/objects/js-array.h',
16971704
'<(V8_ROOT)/src/objects/js-array-inl.h',
1705+
'<(V8_ROOT)/src/objects/js-function-inl.h',
16981706
'<(V8_ROOT)/src/objects/js-function.cc',
16991707
'<(V8_ROOT)/src/objects/js-function.h',
17001708
'<(V8_ROOT)/src/objects/js-objects.cc',

0 commit comments

Comments
 (0)