Commit a1ab03ee authored by msb@chromium.org's avatar msb@chromium.org

Do not build message_pump_x.cc when use_wayland

Change-Id: If343fbc83fdb0d0720bd7292e1db6e81188404b1

R=dnicoara@chromium.org,sadrul@chromium.org,tfarina@chromium.org
BUG=chromium:102903
TEST=compiles


Review URL: http://codereview.chromium.org/8508039

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109976 0039d316-1c4b-4281-b951-d872f2087c98
parent 7b0ead97
......@@ -411,12 +411,6 @@
'$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
],
'conditions': [
[ 'use_wayland == 1', {
'sources!': [
'message_pump_gtk.cc',
'message_pump_x.cc',
],
}],
[ 'use_glib==0', {
'sources/': [
['exclude', '^nix/'],
......@@ -434,7 +428,13 @@
'sources!' : [ 'message_pump_x.cc', ],
}, {
'sources!' : [ 'message_pump_gtk.cc', ],
'sources/' : [ [ 'include', 'message_pump_x.cc', ] ],
'sources/' : [ [ 'include', '^message_pump_x\\.cc$', ] ],
}],
[ 'use_wayland==1', {
'sources/': [
[ 'exclude', '^message_pump_gtk\\.cc$',],
[ 'exclude', '^message_pump_x\\.cc$',],
],
}],
[ 'OS != "linux" and OS != "openbsd"', {
'sources!': [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment