diff options
Diffstat (limited to 'www/chromium/files/patch-content_common_BUILD.gn')
-rw-r--r-- | www/chromium/files/patch-content_common_BUILD.gn | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/www/chromium/files/patch-content_common_BUILD.gn b/www/chromium/files/patch-content_common_BUILD.gn index ef88eb01f56a..c81339653dd1 100644 --- a/www/chromium/files/patch-content_common_BUILD.gn +++ b/www/chromium/files/patch-content_common_BUILD.gn @@ -1,27 +1,36 @@ ---- content/common/BUILD.gn.orig 2020-11-13 06:36:42 UTC +--- content/common/BUILD.gn.orig 2021-01-18 21:28:57 UTC +++ content/common/BUILD.gn -@@ -328,6 +328,15 @@ source_set("common") { - libs += [ "android" ] +@@ -341,7 +341,7 @@ source_set("common") { + sources -= [ "cursors/webcursor_aura.cc" ] + } + +- if (is_linux || is_chromeos) { ++ if ((is_linux || is_chromeos) && !is_bsd) { + sources += [ + "common_sandbox_support_linux.cc", + "sandbox_init_linux.cc", +@@ -357,6 +357,15 @@ source_set("common") { + ] } + if (is_bsd) { -+ sources -= [ -+ "sandbox_init_linux.cc", ++ sources += [ ++ "common_sandbox_support_linux.cc", + ] + deps += [ + "//third_party/fontconfig", + ] + } + - if (is_debug && !is_component_build && enable_plugins) { - # Content depends on the PPAPI message logging stuff; if this isn't here, - # some unit test binaries won't compile. This only worked in release mode -@@ -345,7 +354,7 @@ source_set("common") { - sources -= [ "cursors/webcursor_aura.cc" ] + if (use_zygote_handle) { + sources += [ + "zygote/zygote_handle_impl_linux.h", +@@ -410,7 +419,7 @@ source_set("common") { } + } -- if (is_linux || is_chromeos) { -+ if ((is_linux || is_chromeos) && !is_bsd) { - sources += [ - "zygote/sandbox_support_linux.cc", - "zygote/send_zygote_child_ping_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" ] |