summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-chrome_common_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-chrome_common_BUILD.gn')
-rw-r--r--devel/electron13/files/patch-chrome_common_BUILD.gn36
1 files changed, 36 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-chrome_common_BUILD.gn b/devel/electron13/files/patch-chrome_common_BUILD.gn
new file mode 100644
index 000000000000..31a25b82f39e
--- /dev/null
+++ b/devel/electron13/files/patch-chrome_common_BUILD.gn
@@ -0,0 +1,36 @@
+--- chrome/common/BUILD.gn.orig 2021-07-15 19:13:34 UTC
++++ chrome/common/BUILD.gn
+@@ -253,6 +253,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) {