aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-build_config_ui.gni
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-build_config_ui.gni')
-rw-r--r--www/iridium/files/patch-build_config_ui.gni36
1 files changed, 36 insertions, 0 deletions
diff --git a/www/iridium/files/patch-build_config_ui.gni b/www/iridium/files/patch-build_config_ui.gni
new file mode 100644
index 000000000000..47d20b7a4045
--- /dev/null
+++ b/www/iridium/files/patch-build_config_ui.gni
@@ -0,0 +1,36 @@
+--- build/config/ui.gni.orig 2017-04-19 19:06:28 UTC
++++ build/config/ui.gni
+@@ -31,10 +31,10 @@ declare_args() {
+
+ # 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
+
+ # 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
+@@ -55,17 +55,17 @@ declare_args() {
+
+ # 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)
+
+ # 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 {