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

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
Index: base/base.gypi
diff --git a/base/base.gypi b/base/base.gypi
index b8a2c0b5de3bc285b3a319fd78abd0cf1d647be4..7fa513c7e8421a5f3625f34e258cef4b057c5c70 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -382,21 +382,26 @@
'message_pump_x.cc',
],
}],
- [ 'toolkit_uses_gtk==0', {
+ [ 'toolkit_uses_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!': [
@@ -475,7 +480,7 @@
],
},
'conditions': [
- [ 'toolkit_uses_gtk==1', {
+ [ 'toolkit_uses_glib==1', {
'conditions': [
[ 'chromeos==1', {
'sources/': [ ['include', '_chromeos\\.cc$'] ]
@@ -492,11 +497,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',
- '../build/linux/system.gyp:gtk',
+ '../build/linux/system.gyp:glib',
'../build/linux/system.gyp:x11',
'xdg_mime',
],
@@ -507,7 +520,7 @@
'-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

Powered by Google App Engine
This is Rietveld 408576698