ports/www/chromium/files/patch-v8_BUILD.gn
Carlos J. Puga Medina d90bf58cf8 www/chromium: Update to 73.0.3683.86
- Make existing patches apply cleanly

Changelog: https://chromium.googlesource.com/chromium/src/+log/72.0.3626.121..73.0.3683.86?pretty=fuller&n=10000

Submitted by:	Matthias Wolf
MFH:		2019Q2
2019-04-05 12:01:25 +00:00

32 lines
872 B
Text

--- v8/BUILD.gn.orig 2019-03-11 22:08:08 UTC
+++ v8/BUILD.gn
@@ -3160,7 +3160,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",
@@ -3180,6 +3180,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 = [
@@ -3384,6 +3390,7 @@ if (v8_use_snapshot && current_toolchain == v8_snapsho
"src/snapshot/embedded-file-writer.h",
"src/snapshot/mksnapshot.cc",
]
+ libs = ["execinfo"]
configs = [ ":internal_config" ]