aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_test_BUILD.gn
blob: a42b25208fa2dc31c27286d0788f97ebe90288cf (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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--- content/test/BUILD.gn.orig	2021-05-12 22:05:53 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" ]
   }