From 9187a6460fc419eec4dc64a4569e306722a83427 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Tue, 22 Nov 2016 19:10:21 +0000 Subject: www/chromium: update to 54.0.2840.100 Submitted by: clutton Reviewed by: cpm, rene Obtained from: https://github.com/paranormal/ MFH: 2016Q4 Security: https://vuxml.freebsd.org/freebsd/769ba449-79e1-11e6-bf75-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/653a8059-7c49-11e6-9242-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/9c135c7e-9fa4-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/9118961b-9fa5-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/ae9cb9b8-a203-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/a3473f5a-a739-11e6-afaa-e8e0b747a45a.html Differential Revision: https://reviews.freebsd.org/D8517 --- www/chromium/files/patch-content_browser_BUILD.gn | 58 +++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 www/chromium/files/patch-content_browser_BUILD.gn (limited to 'www/chromium/files/patch-content_browser_BUILD.gn') diff --git a/www/chromium/files/patch-content_browser_BUILD.gn b/www/chromium/files/patch-content_browser_BUILD.gn new file mode 100644 index 000000000000..963931ba651f --- /dev/null +++ b/www/chromium/files/patch-content_browser_BUILD.gn @@ -0,0 +1,58 @@ +--- content/browser/BUILD.gn.orig 2016-10-06 04:02:18.000000000 +0300 ++++ content/browser/BUILD.gn 2016-10-13 10:50:30.206508000 +0300 +@@ -196,7 +196,7 @@ + "//third_party/webrtc/media:rtc_media", + "//third_party/webrtc/modules/desktop_capture:primitives", + ] +- if (is_linux || is_mac || is_win) { ++ if (is_linux || is_bsd || is_mac || is_win) { + sources += [ + "media/capture/desktop_capture_device.cc", + "media/capture/desktop_capture_device.h", +@@ -288,7 +288,7 @@ + } + } + +- if (is_linux && use_aura) { ++ if ((is_linux || is_bsd) && use_aura) { + deps += [ "//build/linux:fontconfig" ] + } + +@@ -368,6 +368,19 @@ + "//chromeos", + "//chromeos:power_manager_proto", + ] ++ } else if (is_bsd) { ++ sources -= [ ++ "zygote_host/zygote_communication_linux.cc", ++ "zygote_host/zygote_communication_linux.h", ++ "zygote_host/zygote_handle_linux.cc", ++ "zygote_host/zygote_host_impl_linux.cc", ++ "zygote_host/zygote_host_impl_linux.h", ++ "../zygote/zygote_linux.cc", ++ "../zygote/zygote_linux.h", ++ "../zygote/zygote_main_linux.cc", ++ "download/file_metadata_linux.cc", ++ "download/file_metadata_linux.h", ++ ] + } + + if (use_aura) { +@@ -450,7 +463,7 @@ + deps += [ "//third_party/flac" ] + } + +- if (is_linux && use_dbus) { ++ if ((is_linux || is_bsd) && use_dbus) { + deps += [ "//dbus" ] + } + +@@ -461,7 +474,7 @@ + ] + } + +- if (is_linux) { ++ if (is_linux || is_bsd) { + deps += [ "//third_party/boringssl" ] + } + -- cgit v1.2.3