summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_common_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_common_BUILD.gn')
-rw-r--r--www/chromium/files/patch-content_common_BUILD.gn37
1 files changed, 8 insertions, 29 deletions
diff --git a/www/chromium/files/patch-content_common_BUILD.gn b/www/chromium/files/patch-content_common_BUILD.gn
index 243a258164a8..f15d3ea1da02 100644
--- a/www/chromium/files/patch-content_common_BUILD.gn
+++ b/www/chromium/files/patch-content_common_BUILD.gn
@@ -1,33 +1,12 @@
---- content/common/BUILD.gn.orig 2021-12-31 00:57:32 UTC
+--- content/common/BUILD.gn.orig 2022-02-07 13:39:41 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") {
+@@ -407,6 +407,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" ]
++ }
}
}
--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" ]