--- components/crash/content/browser/BUILD.gn.orig 2021-01-07 00:36:29 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" ] }