Differential D33923 Diff 101572 www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_BUILD.gn
Changeset View
Changeset View
Standalone View
Standalone View
www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_BUILD.gn
- This file was added.
--- core/Common/3dParty/v8/v8/BUILD.gn.orig 2020-12-15 11:23:25 UTC | |||||
+++ core/Common/3dParty/v8/v8/BUILD.gn | |||||
@@ -4068,7 +4068,7 @@ v8_component("v8_libbase") { | |||||
} | |||||
} | |||||
- if (is_linux || is_chromeos) { | |||||
+ if ((is_linux || is_chromeos) && !is_bsd) { | |||||
sources += [ | |||||
"src/base/debug/stack_trace_posix.cc", | |||||
"src/base/platform/platform-linux.cc", | |||||
@@ -4088,6 +4088,12 @@ v8_component("v8_libbase") { | |||||
"dl", | |||||
"rt", | |||||
] | |||||
+ } else if (is_bsd) { | |||||
+ sources += [ | |||||
+ "src/base/debug/stack_trace_posix.cc", | |||||
+ "src/base/platform/platform-freebsd.cc", | |||||
+ ] | |||||
+ libs = [ "rt", "execinfo" ] | |||||
} else if (is_android) { | |||||
if (current_toolchain == host_toolchain) { | |||||
libs = [ | |||||
@@ -4431,6 +4437,7 @@ if (v8_monolithic) { | |||||
":v8_libsampler", | |||||
"//build/win:default_exe_manifest", | |||||
] | |||||
+ libs = ["execinfo"] | |||||
configs = [ ":internal_config" ] | |||||
} |