blob: 7bb9a2039ab4337052e594704210bbef607a6227 (
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-09-24 04:26:05 UTC
+++ content/common/BUILD.gn
@@ -333,7 +333,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",
@@ -348,6 +348,12 @@ source_set("common") {
]
}
+ if (is_bsd) {
+ deps += [
+ "//third_party/fontconfig",
+ ]
+ }
+
if (use_zygote_handle) {
sources += [
"zygote/zygote_handle_impl_linux.h",
@@ -397,7 +403,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" ]
|