Skip to content

Commit f04ab3c

Browse files
committed
deps: update v8.gyp
Synchronize source files list with upstream's BUILD.gn. PR-URL: #21983 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
1 parent 2e28090 commit f04ab3c

File tree

3 files changed

+77
-25
lines changed

3 files changed

+77
-25
lines changed

Diff for: common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
# Reset this number to 0 on major V8 upgrades.
3131
# Increment by one for each non-official patch applied to deps/v8.
32-
'v8_embedder_string': '-node.0',
32+
'v8_embedder_string': '-node.1',
3333

3434
# Enable disassembler for `--print-code` v8 options
3535
'v8_enable_disassembler': 1,

Diff for: deps/v8/gypfiles/d8.gyp

+6-4
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@
2525
'<(DEPTH)',
2626
],
2727
'sources': [
28-
'../src/d8.h',
29-
'../src/d8.cc',
30-
'../src/d8-console.h',
31-
'../src/d8-console.cc',
3228
'<(SHARED_INTERMEDIATE_DIR)/d8-js.cc',
29+
'../src/async-hooks-wrapper.cc',
30+
'../src/async-hooks-wrapper.h',
31+
'../src/d8-console.cc',
32+
'../src/d8-console.h',
33+
'../src/d8.cc',
34+
'../src/d8.h',
3335
],
3436
'conditions': [
3537
[ 'want_separate_host_toolset==1', {

Diff for: deps/v8/gypfiles/v8.gyp

+70-20
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@
133133
}, {
134134
'toolsets': ['target'],
135135
}],
136+
['v8_enable_i18n_support==1', {
137+
'dependencies': [
138+
'<(icu_gyp_path):icui18n',
139+
'<(icu_gyp_path):icuuc',
140+
],
141+
}],
136142
],
137143
},
138144
{
@@ -168,6 +174,7 @@
168174
'../src/builtins/builtins-constructor-gen.h',
169175
'../src/builtins/builtins-constructor.h',
170176
'../src/builtins/builtins-conversion-gen.cc',
177+
'../src/builtins/builtins-data-view-gen.h',
171178
'../src/builtins/builtins-date-gen.cc',
172179
'../src/builtins/builtins-debug-gen.cc',
173180
'../src/builtins/builtins-function-gen.cc',
@@ -178,8 +185,10 @@
178185
'../src/builtins/builtins-internal-gen.cc',
179186
'../src/builtins/builtins-interpreter-gen.cc',
180187
'../src/builtins/builtins-intl-gen.cc',
181-
'../src/builtins/builtins-iterator-gen.h',
182188
'../src/builtins/builtins-iterator-gen.cc',
189+
'../src/builtins/builtins-iterator-gen.h',
190+
'../src/builtins/builtins-lazy-gen.cc',
191+
'../src/builtins/builtins-lazy-gen.h',
183192
'../src/builtins/builtins-math-gen.cc',
184193
'../src/builtins/builtins-math-gen.h',
185194
'../src/builtins/builtins-number-gen.cc',
@@ -223,6 +232,8 @@
223232
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-base-from-dsl-gen.h',
224233
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-typed-array-from-dsl-gen.cc',
225234
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-typed-array-from-dsl-gen.h',
235+
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-data-view-from-dsl-gen.cc',
236+
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-data-view-from-dsl-gen.h',
226237
],
227238
'conditions': [
228239
['want_separate_host_toolset==1', {
@@ -270,7 +281,12 @@
270281
'../src/builtins/s390/builtins-s390.cc',
271282
],
272283
}],
273-
['v8_enable_i18n_support==0', {
284+
['v8_enable_i18n_support==1', {
285+
'dependencies': [
286+
'<(icu_gyp_path):icui18n',
287+
'<(icu_gyp_path):icuuc',
288+
],
289+
}, {
274290
'sources!': [
275291
'../src/builtins/builtins-intl-gen.cc',
276292
],
@@ -304,6 +320,13 @@
304320
],
305321
},
306322
}],
323+
['v8_enable_i18n_support==1', {
324+
'dependencies': [
325+
'<(icu_gyp_path):icui18n',
326+
'<(icu_gyp_path):icuuc',
327+
],
328+
}],
329+
307330
],
308331
'dependencies': [
309332
'v8_base',
@@ -313,11 +336,12 @@
313336
'<(DEPTH)',
314337
],
315338
'sources': [
316-
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
317-
'<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
318339
'<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
340+
'<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
341+
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
319342
'<(INTERMEDIATE_DIR)/snapshot.cc',
320343
'../src/setup-isolate-deserialize.cc',
344+
'../src/snapshot/embedded-empty.cc',
321345
],
322346
'actions': [
323347
{
@@ -373,9 +397,10 @@
373397
'<(DEPTH)',
374398
],
375399
'sources': [
376-
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
377-
'<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
378400
'<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
401+
'<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
402+
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
403+
'../src/snapshot/embedded-empty.cc',
379404
'../src/snapshot/snapshot-empty.cc',
380405
],
381406
'conditions': [
@@ -391,6 +416,12 @@
391416
'BUILDING_V8_SHARED',
392417
],
393418
}],
419+
['v8_enable_i18n_support==1', {
420+
'dependencies': [
421+
'<(icu_gyp_path):icui18n',
422+
'<(icu_gyp_path):icuuc',
423+
],
424+
}],
394425
]
395426
},
396427
{
@@ -433,6 +464,7 @@
433464
],
434465
'sources': [
435466
'../src/setup-isolate-deserialize.cc',
467+
'../src/snapshot/embedded-empty.cc',
436468
'../src/snapshot/natives-external.cc',
437469
'../src/snapshot/snapshot-external.cc',
438470
],
@@ -587,8 +619,6 @@
587619
'../src/ast/ast-value-factory.h',
588620
'../src/ast/ast.cc',
589621
'../src/ast/ast.h',
590-
'../src/ast/compile-time-value.cc',
591-
'../src/ast/compile-time-value.h',
592622
'../src/ast/context-slot-cache.cc',
593623
'../src/ast/context-slot-cache.h',
594624
'../src/ast/modules.cc',
@@ -669,13 +699,12 @@
669699
'../src/code-stubs-utils.h',
670700
'../src/code-stubs.cc',
671701
'../src/code-stubs.h',
702+
'../src/code-tracer.h',
672703
'../src/codegen.cc',
673704
'../src/codegen.h',
674705
'../src/collector.h',
675706
'../src/compilation-cache.cc',
676707
'../src/compilation-cache.h',
677-
'../src/compilation-dependencies.cc',
678-
'../src/compilation-dependencies.h',
679708
'../src/compilation-statistics.cc',
680709
'../src/compilation-statistics.h',
681710
'../src/compiler-dispatcher/compiler-dispatcher-job.cc',
@@ -721,6 +750,8 @@
721750
'../src/compiler/common-operator-reducer.h',
722751
'../src/compiler/common-operator.cc',
723752
'../src/compiler/common-operator.h',
753+
'../src/compiler/compilation-dependencies.cc',
754+
'../src/compiler/compilation-dependencies.h',
724755
'../src/compiler/compiler-source-position-table.cc',
725756
'../src/compiler/compiler-source-position-table.h',
726757
'../src/compiler/constant-folding-reducer.cc',
@@ -777,6 +808,8 @@
777808
'../src/compiler/js-generic-lowering.h',
778809
'../src/compiler/js-graph.cc',
779810
'../src/compiler/js-graph.h',
811+
'../src/compiler/js-heap-broker.cc',
812+
'../src/compiler/js-heap-broker.h',
780813
'../src/compiler/js-inlining-heuristic.cc',
781814
'../src/compiler/js-inlining-heuristic.h',
782815
'../src/compiler/js-inlining.cc',
@@ -1015,6 +1048,8 @@
10151048
'../src/heap/gc-idle-time-handler.h',
10161049
'../src/heap/gc-tracer.cc',
10171050
'../src/heap/gc-tracer.h',
1051+
'../src/heap/heap-controller.cc',
1052+
'../src/heap/heap-controller.h',
10181053
'../src/heap/heap-inl.h',
10191054
'../src/heap/heap.cc',
10201055
'../src/heap/heap.h',
@@ -1190,6 +1225,7 @@
11901225
'../src/objects/frame-array.h',
11911226
'../src/objects/hash-table-inl.h',
11921227
'../src/objects/hash-table.h',
1228+
'../src/objects/intl-objects-inl.h',
11931229
'../src/objects/intl-objects.cc',
11941230
'../src/objects/intl-objects.h',
11951231
'../src/objects/js-array-inl.h',
@@ -1205,6 +1241,9 @@
12051241
'../src/objects/js-regexp-string-iterator-inl.h',
12061242
'../src/objects/js-regexp-string-iterator.h',
12071243
'../src/objects/js-regexp.h',
1244+
'../src/objects/js-relative-time-format-inl.h',
1245+
'../src/objects/js-relative-time-format.cc',
1246+
'../src/objects/js-relative-time-format.h',
12081247
'../src/objects/literal-objects-inl.h',
12091248
'../src/objects/literal-objects.cc',
12101249
'../src/objects/literal-objects.h',
@@ -1230,6 +1269,8 @@
12301269
'../src/objects/promise.h',
12311270
'../src/objects/property-descriptor-object-inl.h',
12321271
'../src/objects/property-descriptor-object.h',
1272+
'../src/objects/prototype-info-inl.h',
1273+
'../src/objects/prototype-info.h',
12331274
'../src/objects/regexp-match-info.h',
12341275
'../src/objects/scope-info.cc',
12351276
'../src/objects/scope-info.h',
@@ -1262,7 +1303,6 @@
12621303
'../src/parsing/parsing.cc',
12631304
'../src/parsing/parsing.h',
12641305
'../src/parsing/pattern-rewriter.cc',
1265-
'../src/parsing/preparse-data-format.h',
12661306
'../src/parsing/preparse-data.cc',
12671307
'../src/parsing/preparse-data.h',
12681308
'../src/parsing/preparsed-scope-data.cc',
@@ -1338,6 +1378,8 @@
13381378
'../src/register-configuration.cc',
13391379
'../src/register-configuration.h',
13401380
'../src/reglist.h',
1381+
'../src/roots-inl.h',
1382+
'../src/roots.h',
13411383
'../src/runtime-profiler.cc',
13421384
'../src/runtime-profiler.h',
13431385
'../src/runtime/runtime-array.cc',
@@ -1348,7 +1390,6 @@
13481390
'../src/runtime/runtime-compiler.cc',
13491391
'../src/runtime/runtime-date.cc',
13501392
'../src/runtime/runtime-debug.cc',
1351-
'../src/runtime/runtime-error.cc',
13521393
'../src/runtime/runtime-forin.cc',
13531394
'../src/runtime/runtime-function.cc',
13541395
'../src/runtime/runtime-futex.cc',
@@ -1357,7 +1398,6 @@
13571398
'../src/runtime/runtime-interpreter.cc',
13581399
'../src/runtime/runtime-intl.cc',
13591400
'../src/runtime/runtime-literals.cc',
1360-
'../src/runtime/runtime-liveedit.cc',
13611401
'../src/runtime/runtime-maths.cc',
13621402
'../src/runtime/runtime-module.cc',
13631403
'../src/runtime/runtime-numbers.cc',
@@ -1409,6 +1449,7 @@
14091449
'../src/snapshot/partial-deserializer.h',
14101450
'../src/snapshot/partial-serializer.cc',
14111451
'../src/snapshot/partial-serializer.h',
1452+
'../src/snapshot/references.h',
14121453
'../src/snapshot/serializer-common.cc',
14131454
'../src/snapshot/serializer-common.h',
14141455
'../src/snapshot/serializer.cc',
@@ -1455,6 +1496,8 @@
14551496
'../src/trap-handler/handler-shared.cc',
14561497
'../src/trap-handler/trap-handler-internal.h',
14571498
'../src/trap-handler/trap-handler.h',
1499+
'../src/turbo-assembler.cc',
1500+
'../src/turbo-assembler.h',
14581501
'../src/type-hints.cc',
14591502
'../src/type-hints.h',
14601503
'../src/unicode-cache-inl.h',
@@ -1499,6 +1542,8 @@
14991542
'../src/wasm/function-body-decoder.h',
15001543
'../src/wasm/function-compiler.cc',
15011544
'../src/wasm/function-compiler.h',
1545+
'../src/wasm/jump-table-assembler.cc',
1546+
'../src/wasm/jump-table-assembler.h',
15021547
'../src/wasm/leb-helper.h',
15031548
'../src/wasm/local-decl-encoder.cc',
15041549
'../src/wasm/local-decl-encoder.h',
@@ -1515,8 +1560,6 @@
15151560
'../src/wasm/value-type.h',
15161561
'../src/wasm/wasm-code-manager.cc',
15171562
'../src/wasm/wasm-code-manager.h',
1518-
'../src/wasm/wasm-code-specialization.cc',
1519-
'../src/wasm/wasm-code-specialization.h',
15201563
'../src/wasm/wasm-constants.h',
15211564
'../src/wasm/wasm-debug.cc',
15221565
'../src/wasm/wasm-engine.cc',
@@ -1578,6 +1621,7 @@
15781621
'../src/ia32/assembler-ia32.h',
15791622
'../src/ia32/code-stubs-ia32.cc',
15801623
'../src/ia32/codegen-ia32.cc',
1624+
'../src/ia32/constants-ia32.h',
15811625
'../src/ia32/cpu-ia32.cc',
15821626
'../src/ia32/deoptimizer-ia32.cc',
15831627
'../src/ia32/disasm-ia32.cc',
@@ -1612,6 +1656,7 @@
16121656
'../src/x64/assembler-x64.h',
16131657
'../src/x64/code-stubs-x64.cc',
16141658
'../src/x64/codegen-x64.cc',
1659+
'../src/x64/constants-x64.h',
16151660
'../src/x64/cpu-x64.cc',
16161661
'../src/x64/deoptimizer-x64.cc',
16171662
'../src/x64/disasm-x64.cc',
@@ -1654,7 +1699,6 @@
16541699
'../src/arm/frame-constants-arm.cc',
16551700
'../src/arm/frame-constants-arm.h',
16561701
'../src/arm/interface-descriptors-arm.cc',
1657-
'../src/arm/interface-descriptors-arm.h',
16581702
'../src/arm/macro-assembler-arm.cc',
16591703
'../src/arm/macro-assembler-arm.h',
16601704
'../src/arm/simulator-arm.cc',
@@ -1696,7 +1740,6 @@
16961740
'../src/arm64/instrument-arm64.cc',
16971741
'../src/arm64/instrument-arm64.h',
16981742
'../src/arm64/interface-descriptors-arm64.cc',
1699-
'../src/arm64/interface-descriptors-arm64.h',
17001743
'../src/arm64/macro-assembler-arm64-inl.h',
17011744
'../src/arm64/macro-assembler-arm64.cc',
17021745
'../src/arm64/macro-assembler-arm64.h',
@@ -1899,11 +1942,15 @@
18991942
'../src/char-predicates.cc',
19001943
'../src/intl.cc',
19011944
'../src/intl.h',
1945+
'../src/objects/intl-objects-inl.h',
19021946
'../src/objects/intl-objects.cc',
19031947
'../src/objects/intl-objects.h',
19041948
'../src/objects/js-locale-inl.h',
19051949
'../src/objects/js-locale.cc',
19061950
'../src/objects/js-locale.h',
1951+
'../src/objects/js-relative-time-format-inl.h',
1952+
'../src/objects/js-relative-time-format.cc',
1953+
'../src/objects/js-relative-time-format.h',
19071954
'../src/runtime/runtime-intl.cc',
19081955
],
19091956
}],
@@ -1959,6 +2006,7 @@
19592006
'../src/base/ieee754.h',
19602007
'../src/base/iterator.h',
19612008
'../src/base/lazy-instance.h',
2009+
'../src/base/list.h',
19622010
'../src/base/logging.cc',
19632011
'../src/base/logging.h',
19642012
'../src/base/macros.h',
@@ -2406,9 +2454,6 @@
24062454
'../src/js/prologue.js',
24072455
'../src/js/array.js',
24082456
'../src/js/typedarray.js',
2409-
'../src/debug/mirrors.js',
2410-
'../src/debug/debug.js',
2411-
'../src/debug/liveedit.js',
24122457
],
24132458
'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
24142459
'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin',
@@ -2912,7 +2957,10 @@
29122957
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)',
29132958
'../src/builtins/base.tq',
29142959
'../src/builtins/array.tq',
2960+
'../src/builtins/array-foreach.tq',
2961+
'../src/builtins/array-sort.tq',
29152962
'../src/builtins/typed-array.tq',
2963+
'../src/builtins/data-view.tq',
29162964
],
29172965
'outputs': [
29182966
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtin-definitions-from-dsl.h',
@@ -2922,6 +2970,8 @@
29222970
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-base-from-dsl-gen.h',
29232971
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-typed-array-from-dsl-gen.cc',
29242972
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-typed-array-from-dsl-gen.h',
2973+
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-data-view-from-dsl-gen.cc',
2974+
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-data-view-from-dsl-gen.h',
29252975
],
29262976
'action': ['<@(_inputs)', '-o', '<(SHARED_INTERMEDIATE_DIR)/torque-generated'],
29272977
},

0 commit comments

Comments
 (0)