summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-build_config_ui.gni
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-build_config_ui.gni
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
Notes
Notes: svn path=/head/; revision=426855
Diffstat (limited to 'www/chromium/files/patch-build_config_ui.gni')
-rw-r--r--www/chromium/files/patch-build_config_ui.gni43
1 files changed, 43 insertions, 0 deletions
diff --git a/www/chromium/files/patch-build_config_ui.gni b/www/chromium/files/patch-build_config_ui.gni
new file mode 100644
index 000000000000..172f267e37ab
--- /dev/null
+++ b/www/chromium/files/patch-build_config_ui.gni
@@ -0,0 +1,43 @@
+--- build/config/ui.gni.orig 2016-10-06 04:02:08.000000000 +0300
++++ build/config/ui.gni 2016-10-13 05:04:25.545377000 +0300
+@@ -31,7 +31,7 @@
+
+ # Indicates if Aura is enabled. Aura is a low-level windowing library, sort
+ # of a replacement for GDI or GTK.
+- use_aura = is_win || is_linux
++ use_aura = is_win || is_linux || is_bsd
+
+ # True means the UI is built using the "views" framework.
+ toolkit_views =
+@@ -47,7 +47,7 @@
+ use_xkbcommon = false
+
+ # Whether we should use glib, a low level C utility library.
+- use_glib = is_linux
++ use_glib = is_linux || is_bsd
+
+ # Indicates if Wayland display server support is enabled.
+ enable_wayland_server = is_chromeos
+@@ -65,19 +65,19 @@
+
+ # Use GPU accelerated cross process image transport by default on linux builds
+ # with the Aura window manager.
+-ui_compositor_image_transport = use_aura && is_linux
++ui_compositor_image_transport = use_aura && (is_linux || is_bsd)
+
+ use_default_render_theme = use_aura && !is_android
+
+ # Indicates if the UI toolkit depends on X11.
+-use_x11 = is_linux && !use_ozone
++use_x11 = (is_linux || is_bsd) && !use_ozone
+
+ # Turn off glib if Ozone is enabled.
+ if (use_ozone) {
+ use_glib = false
+ }
+
+-if (is_linux && !use_ozone) {
++if ((is_linux || is_bsd) && !use_ozone) {
+ use_cairo = true
+ use_pango = true
+ } else {