4931d3869a
Changelog: https://chromium.googlesource.com/chromium/src/+log/75.0.3770.142..76.0.3809.100?pretty=fuller&n=10000 Submitted by: Matthias Wolf <matthias@rheinwolf.de> MFH: 2019Q3
33 lines
894 B
Plaintext
33 lines
894 B
Plaintext
--- v8/BUILD.gn.orig 2019-07-24 19:03:36 UTC
|
|
+++ v8/BUILD.gn
|
|
@@ -3541,7 +3541,7 @@ v8_component("v8_libbase") {
|
|
}
|
|
}
|
|
|
|
- if (is_linux) {
|
|
+ if (is_linux && !is_bsd) {
|
|
sources += [
|
|
"src/base/debug/stack_trace_posix.cc",
|
|
"src/base/platform/platform-linux.cc",
|
|
@@ -3561,6 +3561,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 = [
|
|
@@ -3818,6 +3824,7 @@ if (v8_use_snapshot && current_toolchain == v8_snapsho
|
|
"src/snapshot/embedded/platform-embedded-file-writer-win.h",
|
|
"src/snapshot/mksnapshot.cc",
|
|
]
|
|
+ libs = ["execinfo"]
|
|
|
|
configs = [ ":internal_config" ]
|
|
|