summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-remoting_host_BUILD.gn
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-11-22 19:10:21 +0000
committerRene Ladan <rene@FreeBSD.org>2016-11-22 19:10:21 +0000
commit9187a6460fc419eec4dc64a4569e306722a83427 (patch)
treeb3d680efe613bd39a30a50f60bcb0ce36a78eab2 /www/chromium/files/patch-remoting_host_BUILD.gn
parentSome aarch64 servers apparently have ACPI. Attempt to build on aarch64 (diff)
www/chromium: update to 54.0.2840.100
Submitted by: clutton <clutton@zoho.com> 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
Diffstat (limited to 'www/chromium/files/patch-remoting_host_BUILD.gn')
-rw-r--r--www/chromium/files/patch-remoting_host_BUILD.gn47
1 files changed, 47 insertions, 0 deletions
diff --git a/www/chromium/files/patch-remoting_host_BUILD.gn b/www/chromium/files/patch-remoting_host_BUILD.gn
new file mode 100644
index 000000000000..98bcc5396506
--- /dev/null
+++ b/www/chromium/files/patch-remoting_host_BUILD.gn
@@ -0,0 +1,47 @@
+--- remoting/host/BUILD.gn.orig 2016-10-06 04:02:23.000000000 +0300
++++ remoting/host/BUILD.gn 2016-10-13 08:18:22.564549000 +0300
+@@ -420,7 +420,7 @@
+ deps += [ "//components/policy:generated" ]
+ }
+
+- if (is_linux && !is_chromeos) {
++ if ((is_linux || is_bsd) && !is_chromeos) {
+ libs += [ "pam" ]
+ }
+
+@@ -439,7 +439,7 @@
+ "input_injector_x11.cc",
+ "local_input_monitor_x11.cc",
+ ]
+- if (is_linux) {
++ if (is_linux || is_bsd) {
+ # These will already be filtered out on non-Linux.
+ sources -= [
+ "linux/unicode_to_keysym.cc",
+@@ -648,7 +648,7 @@
+ "win/worker_process_launcher_unittest.cc",
+ ]
+
+- if (!use_x11 && is_linux) {
++ if (!use_x11 && (is_linux || is_bsd)) {
+ sources -= [ "linux/unicode_to_keysym_unittest.cc" ]
+ }
+ if (use_ozone || is_chromeos) {
+@@ -1217,7 +1217,7 @@
+ if (is_desktop_linux) {
+ deps += [ "//build/config/linux/gtk2" ]
+ }
+- if ((is_linux && !is_chromeos) || is_mac) {
++ if ((is_linux && !is_chromeos) || is_mac || is_bsd) {
+ libs = [ "pam" ]
+ }
+
+@@ -1359,7 +1359,7 @@
+ }
+ }
+
+- if (is_linux) {
++ if (is_linux || is_bsd) {
+ copy("remoting_me2me_host_copy_script") {
+ sources = [
+ "linux/linux_me2me_host.py",