freebsd-ports/www/chromium/files/patch-chrome_common_BUILD.gn
Rene Ladan a04e75e95a www/chromium: update to 88.0.4324.96
Submitted by:	Matthias Wolf (via github)
MFH:		2021Q1
Security:	https://www.vuxml.org/freebsd/4ed0e43c-5cef-11eb-bafd-3065ec8fd3ec.html
2021-01-27 21:01:06 +00:00

36 lines
914 B
Text

--- chrome/common/BUILD.gn.orig 2021-01-18 21:28:52 UTC
+++ chrome/common/BUILD.gn
@@ -247,6 +247,10 @@ static_library("common") {
public_deps += [ "//ppapi/shared_impl" ]
}
+ if (is_bsd) {
+ deps -= [ "//components/crash/core/app" ]
+ }
+
if (enable_extensions) {
sources += [
"extensions/api/commands/commands_handler.cc",
@@ -480,13 +484,21 @@ static_library("common") {
public_deps += [ "//chrome/common/safe_browsing" ]
}
- if (is_linux || is_chromeos) {
+ if ((is_linux || is_chromeos) && !is_bsd) {
sources += [
"auto_start_linux.cc",
"auto_start_linux.h",
"multi_process_lock_linux.cc",
]
deps += [ "//sandbox/linux:sandbox_services" ]
+ }
+
+ if (is_bsd) {
+ sources += [
+ "auto_start_linux.cc",
+ "auto_start_linux.h",
+ "multi_process_lock_linux.cc",
+ ]
}
if (enable_cdm_host_verification) {