| 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
|
|
|