aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-components_crash_content_browser_BUILD.gn
blob: 1d4730753f4aa1a355fc7d05c3df36d6e9288a44 (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
--- components/crash/content/browser/BUILD.gn.orig	2020-11-13 06:36:40 UTC
+++ components/crash/content/browser/BUILD.gn
@@ -35,7 +35,7 @@ source_set("browser") {
     "//content/public/common",
   ]
 
-  if (is_linux || is_chromeos || is_android) {
+  if ((is_linux || is_chromeos || is_android) && !is_bsd) {
     set_sources_assignment_filter([])
 
     # Want this file on both Linux and Android.
@@ -49,13 +49,13 @@ source_set("browser") {
     deps += [ "//third_party/crashpad/crashpad/client" ]
   }
 
-  if (!is_android) {
+  if (!is_android && !is_bsd) {
     deps += [ "//third_party/breakpad:client" ]
   }
 
   # This is not in the GYP build but this target includes breakpad client
   # headers, so add the dependency here.
-  if ((is_posix && !is_ios) || is_fuchsia) {
+  if ((is_posix && !is_ios && !is_bsd) || is_fuchsia) {
     configs += [ "//third_party/breakpad:client_config" ]
     public_configs = [ "//third_party/breakpad:client_config" ]
   }