Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1233)

Unified Diff: build/common.gypi

Issue 7973003: Making TOOLKIT_USES_GTK orthogonal to USE_AURA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index f46ba16bc94cac22bc48fdaceed73067f3c25159..d2666c4ccff3b0c84f2810aaa53ab9e9c7baf408 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
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698