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

Unified Diff: base/base.gypi

Issue 7904034: aura: Explicitly disable GTK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 | « base/base.gyp ('k') | base/message_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gypi
diff --git a/base/base.gypi b/base/base.gypi
index 3c23109be1dc5bf8ff17b34f5083bb61e18ee043..0de2c24a61a9a28d39e903c0b468ce1a3d52074d 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -381,21 +381,24 @@
'message_pump_x.cc',
],
}],
- [ 'toolkit_uses_gtk==0', {
+ [ 'use_glib==0', {
'sources/': [
['exclude', '^nix/'],
],
'sources!': [
'atomicops_internals_x86_gcc.cc',
'message_pump_glib.cc',
- 'message_pump_gtk.cc',
'message_pump_x.cc',
],
}],
+ [ 'toolkit_uses_gtk==0', {
+ 'sources!': [ 'message_pump_gtk.cc', ],
+ }],
[ 'touchui==0 and use_aura==0', {
'sources!' : [ 'message_pump_x.cc', ],
}, {
'sources!' : [ 'message_pump_gtk.cc', ],
+ 'sources' : [ 'message_pump_x.cc', ],
}],
[ 'OS != "linux"', {
'sources!': [
@@ -474,7 +477,7 @@
],
},
'conditions': [
- [ 'toolkit_uses_gtk==1', {
+ [ 'use_glib==1', {
'conditions': [
[ 'chromeos==1', {
'sources/': [ ['include', '_chromeos\\.cc$'] ]
@@ -491,11 +494,19 @@
},
},
],
+ [ 'toolkit_uses_gtk==1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:gtk',
+ ],
+ 'export_dependent_settings': [
+ '../build/linux/system.gyp:gtk',
+ ],
+ }],
],
'dependencies': [
'symbolize',
'../build/util/build_util.gyp:lastchange#target',
- '../build/linux/system.gyp:gtk',
+ '../build/linux/system.gyp:glib',
'../build/linux/system.gyp:x11',
'xdg_mime',
],
@@ -506,10 +517,10 @@
'-Wno-write-strings',
],
'export_dependent_settings': [
- '../build/linux/system.gyp:gtk',
+ '../build/linux/system.gyp:glib',
'../build/linux/system.gyp:x11',
],
- }, { # toolkit_uses_gtk!=1
+ }, { # use_glib!=1
'sources/': [
['exclude', '/xdg_user_dirs/'],
['exclude', '_nss\.cc$'],
« no previous file with comments | « base/base.gyp ('k') | base/message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698