aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-components_crash_content_browser_BUILD.gn
blob: ed72e88d927a9654215ffb71490a6c9a45e67347 (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
--- components/crash/content/browser/BUILD.gn.orig	2017-12-15 02:04:14.000000000 +0100
+++ components/crash/content/browser/BUILD.gn	2017-12-24 11:42:34.318970000 +0100
@@ -24,10 +24,9 @@
     "//components/crash/content/app",
     "//content/public/browser",
     "//content/public/common",
-    "//third_party/breakpad:client",
   ]
 
-  if (is_linux || is_android) {
+  if ((is_linux && !is_bsd) || is_android) {
     set_sources_assignment_filter([])
 
     # Want this file on both Linux and Android.
@@ -43,7 +42,7 @@
 
   # This is not in the GYP build but this target includes breakpad client
   # headers, so add the dependency here.
-  if (is_posix && !is_ios) {
+  if (is_posix && !is_ios && !is_bsd) {
     configs += [ "//third_party/breakpad:client_config" ]
     public_configs = [ "//third_party/breakpad:client_config" ]
   }