summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_common_BUILD.gn
blob: 243a258164a8dabe86e6c56f3d1b5b89bacadc34 (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
--- content/common/BUILD.gn.orig	2021-12-31 00:57:32 UTC
+++ content/common/BUILD.gn
@@ -342,7 +342,7 @@ source_set("common") {
     sources -= [ "cursors/webcursor_aura.cc" ]
   }
 
-  if (is_linux || is_chromeos) {
+  if ((is_linux || is_chromeos) && !is_bsd) {
     sources += [
       "sandbox_init_linux.cc",
       "zygote/sandbox_support_linux.cc",
@@ -357,6 +357,12 @@ source_set("common") {
     ]
   }
 
+  if (is_bsd) {
+    deps += [
+      "//third_party/fontconfig",
+    ]
+  }
+
   if (use_zygote_handle) {
     sources += [
       "zygote/zygote_handle_impl_linux.h",
@@ -406,7 +412,7 @@ source_set("common") {
   }
 }
 
-if (is_linux || is_chromeos) {
+if ((is_linux || is_chromeos) && !is_bsd) {
   source_set("set_process_title_linux") {
     public = [ "set_process_title_linux.h" ]
     sources = [ "set_process_title_linux.cc" ]