summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_common_BUILD.gn
blob: 8b66612226ea988c7e75e366009afcf3b0ba6aea (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-04-28 17:01:32 UTC
+++ content/common/BUILD.gn
@@ -430,6 +430,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" ]
+    }
   }
 }
 
@@ -475,7 +478,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) {