aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-extensions_shell_BUILD.gn
blob: 938c773a18662379a6918b1607f98106292f698a (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
--- extensions/shell/BUILD.gn.orig	2021-05-12 22:05:54 UTC
+++ extensions/shell/BUILD.gn
@@ -209,16 +209,24 @@ source_set("app_shell_lib") {
   }
 
   if (is_linux || is_chromeos_lacros) {
+    if (!is_bsd) {
+      sources += [
+        "app/shell_crash_reporter_client.cc",
+        "app/shell_crash_reporter_client.h",
+      ]
+    }
     sources += [
-      "app/shell_crash_reporter_client.cc",
-      "app/shell_crash_reporter_client.h",
       "browser/api/file_system/shell_file_system_delegate.cc",
       "browser/api/file_system/shell_file_system_delegate.h",
     ]
+    if (!is_bsd) {
+      deps += [
+        "//components/crash/core/app",
+        "//components/crash/core/common",
+      ]
+    }
     deps += [
       "//build:branding_buildflags",
-      "//components/crash/core/app",
-      "//components/crash/core/common",
       "//components/upload_list",
       "//components/version_info:generate_version_info",
     ]