Skip to content

Commit 1407cff

Browse files
committed
v8: avoid Android trap handler simulator sources
Signed-off-by: luoqianlin <qianlinluo@foxmail.com>
1 parent cee20e7 commit 1407cff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎deps/v8/src/trap-handler/trap-handler.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace v8::internal::trap_handler {
3535
// (MSVC #defines _MSC_VER, but so does Clang when targeting Windows, hence
3636
// the check for __clang__.)
3737
#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_X64 && \
38-
(V8_OS_LINUX || V8_OS_DARWIN || V8_OS_WIN) && !V8_OS_ANDROID && \
38+
(V8_OS_LINUX || V8_OS_DARWIN || V8_OS_WIN) && \
3939
(!defined(_MSC_VER) || defined(__clang__))
4040
#define V8_TRAP_HANDLER_VIA_SIMULATOR
4141
#define V8_TRAP_HANDLER_SUPPORTED true

‎tools/v8_gypfiles/v8.gyp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@
12121212
'<(V8_ROOT)/src/trap-handler/handler-outside-win.cc',
12131213
],
12141214
}],
1215-
['(_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS in "linux mac win openharmony android")', {
1215+
['(_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS in "linux mac win openharmony")', {
12161216
'sources': [
12171217
'<(V8_ROOT)/src/trap-handler/handler-outside-simulator.cc',
12181218
],

0 commit comments

Comments
 (0)