Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index f060eb5c25e32dc9f32ffb5296a27580523712bf..0be783a37b60558da5c9e8881e6c40de65211554 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -232,18 +232,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"', { |
| - '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 use_aura==1', { |
| + 'toolkit_uses_gtk%': 0, |
| + }, { |
|
sadrul
2011/09/20 18:35:57
I think this needs to have some more change (http:
|
| + '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 |