blob: 58cee3e59d4d6fa7446cb0ede19f4430a3af4367 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--- core/Common/3dParty/v8/v8/BUILD.gn.orig 2022-03-17 10:34:15 UTC
+++ core/Common/3dParty/v8/v8/BUILD.gn
@@ -5229,7 +5229,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",
@@ -5246,6 +5246,12 @@ v8_component("v8_libbase") {
]
libs = [ "dl" ]
+ } 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 = [
@@ -5769,6 +5775,7 @@ if (v8_monolithic) {
":v8_libplatform",
"//build/win:default_exe_manifest",
]
+ libs = ["execinfo"]
configs = [ ":internal_config" ]
}
|