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

Unified Diff: ui/events/platform/x11/x11_events_platform.gyp

Issue 284743009: events: Create a separate platforms target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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 | « ui/events/platform/platform_event_source.cc ('k') | ui/ui_unittests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/platform/x11/x11_events_platform.gyp
diff --git a/ui/events/platform/x11/x11_events_platform.gyp b/ui/events/platform/x11/x11_events_platform.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..9070de7cb29559d15bc6be209561b794e5571588
--- /dev/null
+++ b/ui/events/platform/x11/x11_events_platform.gyp
@@ -0,0 +1,43 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'targets': [{
+ 'target_name': 'x11_events_platform',
+ 'type': '<(component)',
+ 'defines': [
+ 'EVENTS_IMPLEMENTATION',
+ ],
+ 'dependencies': [
+ '../../../../build/linux/system.gyp:x11',
+ '../../../gfx/x/gfx_x11.gyp:gfx_x11',
+ '../../events.gyp:events',
+ '../events_platform.gyp:events_platform',
+ ],
+ 'sources': [
+ 'x11_event_source.cc',
+ 'x11_event_source.h',
+ 'x11_event_source_glib.cc',
+ 'x11_event_source_libevent.cc',
+ ],
+ 'conditions': [
+ ['use_glib==1', {
+ 'dependencies': [
+ '../../../../build/linux/system.gyp:glib',
+ ],
+ 'sources!': [
+ 'x11_event_source_libevent.cc',
+ ],
+ }, {
+ # use_glib == 0
+ 'sources!': [
+ 'x11_event_source_glib.cc',
+ ],
+ }],
+ ],
+ }],
+}
« no previous file with comments | « ui/events/platform/platform_event_source.cc ('k') | ui/ui_unittests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698