aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-extensions_shell_BUILD.gn
blob: 45b666f18078eece54c939a971d54f8a4dc138b9 (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-07-19 18:45:17 UTC
+++ extensions/shell/BUILD.gn
@@ -210,16 +210,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",
     ]