summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-20 20:29:52 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-20 20:29:52 +0000
commit9cabbaf78c3a3bbcb52c0ae6fbb06afd98224bf1 (patch)
treeaf8219e1a0d1be12649eb4b19f32025419d762f3 /build/common.gypi
parent177623b42c69743828b8bd0a40c0f07b072ba86d (diff)
downloadchromium_src-9cabbaf78c3a3bbcb52c0ae6fbb06afd98224bf1.zip
chromium_src-9cabbaf78c3a3bbcb52c0ae6fbb06afd98224bf1.tar.gz
chromium_src-9cabbaf78c3a3bbcb52c0ae6fbb06afd98224bf1.tar.bz2
aura: Explicitly disable GTK.
Explicitly disable GTK by setting TOOLKIT_USES_GTK. This is the first in a series of changes required to have chrome on aura build and link without GTK. This CL makes base/ build without GTK. Subsequent CLs will do this for other components. BUG=97131 TEST=none Review URL: http://codereview.chromium.org/7904034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index f060eb5..dab183e 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)',