summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-content_common_BUILD.gn
blob: 1f3f0249510be8bd33e3aa668c537d5292331202 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- content/common/BUILD.gn.orig	2023-11-04 07:08:51 UTC
+++ content/common/BUILD.gn
@@ -441,6 +441,9 @@ if (is_linux || is_chromeos) {
     public = [ "set_process_title_linux.h" ]
     sources = [ "set_process_title_linux.cc" ]
     deps = [ "//base" ]
+    if (is_bsd) {
+      sources -= [ "set_process_title_linux.cc" ]
+    }
   }
 }
 
@@ -486,7 +489,7 @@ mojom("mojo_bindings") {
   if (enable_ipc_logging) {
     enabled_features += [ "ipc_logging" ]
   }
-  if (is_linux || is_chromeos) {
+  if (!is_bsd && (is_linux || is_chromeos)) {
     enabled_features += [ "supports_thread_types" ]
   }
   if (use_clang_profiling_inside_sandbox) {