aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_common_BUILD.gn
blob: 5019b7a909c93c64e2a5a8912f9b0c47f67f9e8f (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
33
34
35
36
37
--- chrome/common/BUILD.gn.orig	2020-11-13 06:36:38 UTC
+++ chrome/common/BUILD.gn
@@ -250,6 +250,10 @@
     public_deps += [ "//ppapi/shared_impl" ]
   }
 
+  if (is_bsd) {
+    deps -= [ "//components/crash/core/app" ]
+  }
+
   if (enable_extensions) {
     sources += [
       "cast_messages.cc",
@@ -487,7 +491,7 @@
     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",
@@ -496,6 +500,14 @@
       "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) {