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

Unified Diff: ui/events/events.gyp

Issue 244093002: x11: Make the event-source work with both glib and libevent message-pumps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 8 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: ui/events/events.gyp
diff --git a/ui/events/events.gyp b/ui/events/events.gyp
index b74ea75a593913ffb409c39c13ca41294f864963..00f5186c113e982ef979faed938d2b54bd78c02d 100644
--- a/ui/events/events.gyp
+++ b/ui/events/events.gyp
@@ -154,6 +154,8 @@
'platform/scoped_event_dispatcher.h',
'platform/x11/x11_event_source.cc',
'platform/x11/x11_event_source.h',
+ 'platform/x11/x11_event_source_glib.cc',
+ 'platform/x11/x11_event_source_libevent.cc',
'win/events_win.cc',
'x/events_x.cc',
'linux/text_edit_command_auralinux.cc',
@@ -190,6 +192,14 @@
'dependencies': [
'../../build/linux/system.gyp:glib',
],
+ 'sources!': [
+ 'platform/x11/x11_event_source_libevent.cc',
+ ],
+ }, {
+ # use_glib == 0
+ 'sources!': [
+ 'platform/x11/x11_event_source_glib.cc',
+ ],
}],
['use_ozone_evdev==1', {
'defines': ['USE_OZONE_EVDEV=1'],
« no previous file with comments | « chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc ('k') | ui/events/platform/x11/x11_event_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698