ports/devel/electron13/files/patch-content_test_BUILD.gn

37 lines
1.1 KiB
Text

--- content/test/BUILD.gn.orig 2021-07-15 19:13:39 UTC
+++ content/test/BUILD.gn
@@ -1502,10 +1502,12 @@ test("content_browsertests") {
}
if (is_linux || is_chromeos) {
- sources += [
- "../browser/utility_process_sandbox_browsertest.cc",
- "../browser/zygote_host/zygote_browsertest.cc",
- ]
+ if (!is_bsd) {
+ sources += [
+ "../browser/utility_process_sandbox_browsertest.cc",
+ "../browser/zygote_host/zygote_browsertest.cc",
+ ]
+ }
deps += [ "//ui/gfx:test_support" ]
if (use_atk) {
@@ -1754,7 +1756,7 @@ static_library("run_all_unittests") {
":test_support",
"//base/test:test_support",
]
- if (is_linux || is_chromeos) {
+ if ((is_linux || is_chromeos) && !is_bsd) {
deps += [ "//content/common:set_process_title_linux" ]
}
}
@@ -2613,7 +2615,7 @@ test("content_unittests") {
deps += [ "//ui/gfx/x" ]
}
- if (is_linux || is_chromeos) {
+ if ((is_linux || is_chromeos) && !is_bsd) {
sources += [ "../common/set_process_title_linux_unittest.cc" ]
deps += [ "//content/common:set_process_title_linux" ]
}