Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index f060eb5c25e32dc9f32ffb5296a27580523712bf..dab183e17d21482b05f16946941cdc4952d65068 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -234,15 +234,22 @@ |
# Flags to use Gtk and X11 on non-Mac POSIX platforms |
['OS=="win" or OS=="mac"', { |
+ 'use_glib%': 0, |
'toolkit_uses_gtk%': 0, |
'use_x11%': 0, |
}, { |
# TODO(dnicoara) Wayland build should have these disabled, but |
# currently GTK and X is too spread and it's hard to completely |
# remove every dependency. |
+ 'use_glib%': 1, |
'toolkit_uses_gtk%': 1, |
'use_x11%': 1, |
}], |
+ ['use_aura==1', { |
+ 'use_glib%': 1, |
+ 'toolkit_uses_gtk%': 0, |
+ 'use_x11%': 1, |
+ }], |
# A flag to enable or disable our compile-time dependency |
# on gnome-keyring. If that dependency is disabled, no gnome-keyring |
@@ -300,6 +307,7 @@ |
'views_compositor%': '<(views_compositor)', |
'use_aura%': '<(use_aura)', |
'os_posix%': '<(os_posix)', |
+ 'use_glib%': '<(use_glib)', |
'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
'use_skia%': '<(use_skia)', |
'use_x11%': '<(use_x11)', |