blob: c3816df228836fe6856ef42846ae0a2406eb6bfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--- build/config/ui.gni.orig 2017-06-05 19:03:01 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
}
declare_args() {
@@ -48,14 +48,14 @@ declare_args() {
# These variables depend on other variables and can't be set externally.
# 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 {
|