Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
638a5c7
deps: update V8 to 9.2.230.21
targos Jul 20, 2021
4c23bab
build: reset embedder string to "-node.0"
targos Jul 20, 2021
7d8a1c7
deps: V8: un-cherry-pick bd019bd
refack Mar 27, 2019
6ed4a86
deps: V8: patch register-arm64.h
refack May 22, 2019
543332a
deps: V8: forward declaration of `Rtl*FunctionTable`
refack May 22, 2019
5a08ec7
deps: make v8.h compatible with VS2015
joaocgreis Nov 1, 2019
f025f24
deps: fix V8 build issue with inline methods
gengjiawen Oct 14, 2020
87333cf
deps: silence irrelevant V8 warnings
targos Jan 30, 2021
b91e49c
deps: silence irrelevant V8 warning
targos May 1, 2021
2c8be6d
tools: update V8 gypfiles for 9.2
targos Apr 11, 2021
512659e
src: use non-deprecated Symbol::Description
targos Apr 14, 2021
5a650f8
src: stop using deprecated v8::ApiObject
targos Apr 26, 2021
9a78845
test: update trace events test expectations
targos Apr 21, 2021
7aaa214
test: remove test-debug-args
targos Apr 26, 2021
dbe4a0b
test: ensure microtask queues are not automatically drained
jeisinger Apr 29, 2021
62349be
deps: V8: cherry-pick 3d24b3ab8af0
targos Jun 10, 2021
8ec3459
deps: V8: backport 71e8f8bb3c26
targos Jun 16, 2021
d518175
deps: V8: cherry-pick 986299250e6d
richardlau Jun 16, 2021
bc48c1e
deps: V8: cherry-pick a5cea1bfc38c
targos Jun 20, 2021
24078b2
deps: V8: cherry-pick 7ff6609a5385
targos Jun 20, 2021
7f7e8df
deps: V8: cherry-pick 53784bdb8f01
targos Jul 10, 2021
2cde0ab
deps: V8: cherry-pick 2b77ca200c56
targos Jul 10, 2021
fdaddab
deps: V8: cherry-pick 56fe020eec0c
targos Jul 10, 2021
dcb52a9
deps: V8: cherry-pick 3805a698f7b6
targos Jul 10, 2021
a47081b
deps: V8: cherry-pick 359d44df4cdd
targos Jul 10, 2021
bd01a54
deps: V8: backport 5c76da8ddcf8
targos Jul 10, 2021
3d4413b
tools: fetch googletest dependency for V8 CI
targos Jul 14, 2021
38c82dc
deps: make V8 9.2 abi-compatible with 9.0
targos Jul 20, 2021
2f4bb0e
deps: restore minimum ICU version to 68
targos Jul 20, 2021
0d09b3e
squash! deps: make V8 9.2 abi-compatible with 9.0
targos Jul 20, 2021
d06c730
squash! deps: make V8 9.2 abi-compatible with 9.0
targos Jul 20, 2021
6bb96dd
squash! deps: make V8 9.2 abi-compatible with 9.0
targos Jul 22, 2021
f9b7513
squash! deps: make V8 9.2 abi-compatible with 9.0
targos Jul 23, 2021
d171381
fixup! squash! deps: make V8 9.2 abi-compatible with 9.0
targos Jul 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tools: update V8 gypfiles for 9.2
PR-URL: #38990
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
targos committed Jul 20, 2021
commit 2c8be6d022e5ed239d735def1c915ba5f19512ec
16 changes: 9 additions & 7 deletions tools/v8_gypfiles/features.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@
}, {
'is_component_build': 0,
}],
['OS == "win" or OS == "mac"', {
# Sets -DSYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing
'v8_enable_system_instrumentation': 1,
}, {
'v8_enable_system_instrumentation': 0,
}],
],
'is_debug%': 0,

Expand Down Expand Up @@ -160,10 +166,6 @@
# Controls the threshold for on-heap/off-heap Typed Arrays.
'v8_typed_array_max_size_in_heap%': 64,

# Temporary flag to allow embedders to update their microtasks scopes
# while rolling in a new version of V8.
'v8_check_microtasks_scopes_consistency%': 0,

# Enable mitigations for executing untrusted code.
'v8_untrusted_code_mitigations%': 1,

Expand Down Expand Up @@ -327,9 +329,6 @@
['v8_enable_lazy_source_positions==1', {
'defines': ['V8_ENABLE_LAZY_SOURCE_POSITIONS',],
}],
['v8_check_microtasks_scopes_consistency==1', {
'defines': ['V8_CHECK_MICROTASKS_SCOPES_CONSISTENCY',],
}],
['v8_use_siphash==1', {
'defines': ['V8_USE_SIPHASH',],
}],
Expand Down Expand Up @@ -360,6 +359,9 @@
['v8_enable_precise_zone_stats==1', {
'defines': ['V8_ENABLE_PRECISE_ZONE_STATS',],
}],
['v8_enable_system_instrumentation==1', {
'defines': ['V8_ENABLE_SYSTEM_INSTRUMENTATION',],
}],
['v8_enable_webassembly==1', {
'defines': ['V8_ENABLE_WEBASSEMBLY',],
}],
Expand Down
56 changes: 41 additions & 15 deletions tools/v8_gypfiles/v8.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,11 @@
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"s390\\".*?sources \\+= ")',
],
}],
['v8_target_arch=="riscv64"', {
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"riscv64\\".*?sources \\+= ")',
],
}],
],
},
}, # v8_internal_headers
Expand Down Expand Up @@ -856,11 +861,6 @@
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"mips\\".*?sources \\+= ")',
],
}],
['v8_target_arch=="riscv64"', {
'sources': [ ### gcmole(arch:riscv64) ###
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"riscv64.*?sources \+= ")',
],
}],
['v8_target_arch=="mips64" or v8_target_arch=="mips64el"', {
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"mips64\\".*?sources \\+= ")',
Expand All @@ -881,6 +881,11 @@
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"s390\\".*?sources \\+= ")',
],
}],
['v8_target_arch=="riscv64"', {
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"riscv64\\".*?sources \\+= ")',
],
}],
['OS=="win"', {
'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
'msvs_precompiled_source': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.cc',
Expand All @@ -895,6 +900,13 @@
'ObjectFile': '$(IntDir)%(Extension)\\',
},
},
'conditions': [
['v8_enable_system_instrumentation==1', {
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?is_win.*?v8_enable_system_instrumentation.*?sources \\+= ")',
],
}],
],
}],
['component=="shared_library"', {
'defines': [
Expand Down Expand Up @@ -1133,9 +1145,11 @@
'<(V8_ROOT)/src/base/platform/platform-win32.cc',
'<(V8_ROOT)/src/base/win32-headers.h',
],
'conditions': [['target_arch == "arm64"', {
'defines': ['_WIN32_WINNT=0x0602'], # For GetCurrentThreadStackLimits on Windows on Arm
}]],
'conditions': [
['target_arch == "arm64"', {
'defines': ['_WIN32_WINNT=0x0602'], # For GetCurrentThreadStackLimits on Windows on Arm
}],
],
'defines': ['_CRT_RAND_S'], # for rand_s()
'direct_dependent_settings': {
'msvs_settings': {
Expand All @@ -1147,6 +1161,17 @@
]
}
},
'conditions': [
['v8_enable_system_instrumentation==1', {
'msvs_settings': {
'VCLinkerTool': {
'AdditionalDependencies': [
'advapi32.lib',
],
},
},
}],
],
},
}],
['target_arch == "mips" or OS == "mips64"', {
Expand Down Expand Up @@ -1288,8 +1313,6 @@
'<(V8_ROOT)/src/libplatform/delayed-task-queue.h',
'<(V8_ROOT)/src/libplatform/task-queue.cc',
'<(V8_ROOT)/src/libplatform/task-queue.h',
'<(V8_ROOT)/src/libplatform/tracing/recorder-default.cc',
'<(V8_ROOT)/src/libplatform/tracing/recorder.h',
'<(V8_ROOT)/src/libplatform/tracing/trace-buffer.cc',
'<(V8_ROOT)/src/libplatform/tracing/trace-buffer.h',
'<(V8_ROOT)/src/libplatform/tracing/trace-config.cc',
Expand All @@ -1313,7 +1336,6 @@
['v8_use_perfetto==1', {
'sources!': [
'<(V8_ROOT)/base/trace_event/common/trace_event_common.h',
'<(V8_ROOT)/src/libplatform/tracing/recorder-default.cc',
'<(V8_ROOT)/src/libplatform/tracing/trace-buffer.cc',
'<(V8_ROOT)/src/libplatform/tracing/trace-buffer.h',
'<(V8_ROOT)/src/libplatform/tracing/trace-object.cc',
Expand All @@ -1329,14 +1351,18 @@
'<(V8_ROOT)/third_party/perfetto/protos/perfetto/trace:lite',
],
}],
['v8_use_perfetto==0 and is_win', {
'sources!': [
'<(V8_ROOT)/src/libplatform/tracing/recorder-default.cc',
],
['v8_enable_system_instrumentation==1 and is_win', {
'sources': [
'<(V8_ROOT)/src/libplatform/tracing/recorder.h',
'<(V8_ROOT)/src/libplatform/tracing/recorder-win.cc',
],
}],
['v8_enable_system_instrumentation==1 and OS=="mac"', {
'sources': [
'<(V8_ROOT)/src/libplatform/tracing/recorder.h',
'<(V8_ROOT)/src/libplatform/tracing/recorder-mac.cc',
],
}],
],
'direct_dependent_settings': {
'include_dirs': [
Expand Down