1--- components/crash/content/browser/BUILD.gn.orig 2022-02-07 13:39:41 UTC 2+++ components/crash/content/browser/BUILD.gn 3@@ -21,7 +21,7 @@ source_set("browser") { 4 "//content/public/common", 5 ] 6 7- if (is_linux || is_chromeos || is_android) { 8+ if ((is_linux && !is_bsd) || is_chromeos || is_android) { 9 # Want this file on both Linux and Android. 10 sources += [ 11 "crash_handler_host_linux.cc", 12@@ -37,7 +37,7 @@ source_set("browser") { 13 14 # This is not in the GYP build but this target includes breakpad client 15 # headers, so add the dependency here. 16- if ((is_posix && !is_ios) || is_fuchsia) { 17+ if ((is_posix && !is_ios && !is_bsd) || is_fuchsia) { 18 configs += [ "//third_party/breakpad:client_config" ] 19 public_configs = [ "//third_party/breakpad:client_config" ] 20 } 21@@ -59,7 +59,7 @@ source_set("browser") { 22 "//components/crash/android:jni_headers", 23 "//mojo/public/cpp/bindings", 24 ] 25- } else { 26+ } else if (!is_bsd) { 27 deps += [ "//third_party/breakpad:client" ] 28 } 29 } 30