--- chrome/test/BUILD.gn.orig 2021-07-19 18:45:11 UTC +++ chrome/test/BUILD.gn @@ -476,6 +476,10 @@ static_library("test_support") { ] } + if (is_bsd) { + public_deps -= [ "//components/crash/core/app" ] + } + if (is_chromeos_lacros) { deps += [ "//chromeos/lacros", @@ -1799,7 +1803,7 @@ if (!is_android) { ] } - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !is_bsd) { sources += [ "../browser/error_reporting/webui_js_error_reporting_browsertest.cc", ] @@ -5425,7 +5429,7 @@ test("unit_tests") { ] } - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !is_bsd) { deps += [ "//chrome/browser/error_reporting:unit_test" ] } @@ -7354,7 +7358,7 @@ test("chrome_app_unittests") { "//components/safe_browsing:buildflags", "//pdf:pdf_ppapi", ] - if (!is_fuchsia) { + if (!is_fuchsia && !is_bsd) { # TODO(crbug.com/753619): Enable crash reporting on Fuchsia. deps += [ "//third_party/breakpad:client" ] }