diff options
author | saintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 21:20:33 +0000 |
---|---|---|
committer | saintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 21:20:33 +0000 |
commit | 9edeb71c75df9eed63d4e27e90c2ddfc287049b8 (patch) | |
tree | 219f94803f3193301e3d606693bb7d1a74ab2264 /build/common.gypi | |
parent | 20960e074cf789825155f771e1c035df41cd0e75 (diff) | |
download | chromium_src-9edeb71c75df9eed63d4e27e90c2ddfc287049b8.zip chromium_src-9edeb71c75df9eed63d4e27e90c2ddfc287049b8.tar.gz chromium_src-9edeb71c75df9eed63d4e27e90c2ddfc287049b8.tar.bz2 |
Making TOOLKIT_USES_GTK orthogonal to USE_AURA.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7973003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102019 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/build/common.gypi b/build/common.gypi index f46ba16..d2666c4 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -235,18 +235,20 @@ 'os_posix%': 1, }], - # Flags to use Gtk and X11 on non-Mac POSIX platforms + # Flag to use X11 on non-Mac POSIX platforms ['OS=="win" or OS=="mac" or OS=="android"', { - '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. - 'toolkit_uses_gtk%': 1, 'use_x11%': 1, }], + # Flag to use Gtk on non-Aura and non-Mac POSIX platforms + ['OS=="win" or OS=="mac" or OS=="android" or use_aura==1', { + 'toolkit_uses_gtk%': 0, + }, { + 'toolkit_uses_gtk%': 1, + }], + # A flag to enable or disable our compile-time dependency # on gnome-keyring. If that dependency is disabled, no gnome-keyring # support will be available. This option is useful |