Index: ui/events/x/events_x11.gyp |
diff --git a/ui/events/x/events_x11.gyp b/ui/events/x/events_x11.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8d995bd4792d4324670e0b5d304212467295dbe9 |
--- /dev/null |
+++ b/ui/events/x/events_x11.gyp |
@@ -0,0 +1,62 @@ |
+# 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, |
+ 'use_x11': 1, |
+ }, |
+ 'targets': [ |
+ { |
+ 'target_name': 'events_x11', |
+ 'type': 'static_library', |
+ 'defines': [ |
+ 'EVENTS_BASE_IMPLEMENTATION', |
+ 'EVENTS_IMPLEMENTATION', |
+ ], |
+ 'dependencies': [ |
+ '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
+ '<(DEPTH)/skia/skia.gyp:skia', |
+ '../events.gyp:dom4_keycode_converter', |
+ '../events.gyp:events_base', |
+ '../events.gyp:events', |
+ '../../gfx/x/gfx_x11.gyp:gfx_x11', |
+ ], |
+ 'link_settings': { |
+ 'libraries': [ |
+ '-lX11', |
+ '-lXi', |
+ ], |
+ }, |
+ 'sources': [ |
+ '../event.cc', |
+ '../event.h', |
+ '../keycodes/keyboard_code_conversion_x.cc', |
+ '../keycodes/keyboard_code_conversion_x.h', |
+ '../linux/text_edit_command_auralinux.cc', |
+ '../linux/text_edit_command_auralinux.h', |
+ '../linux/text_edit_key_bindings_delegate_auralinux.cc', |
+ '../linux/text_edit_key_bindings_delegate_auralinux.h', |
+ '../platform/platform_event_dispatcher.h', |
+ '../platform/platform_event_observer.h', |
+ '../platform/platform_event_source.cc', |
+ '../platform/platform_event_source.h', |
+ '../platform/platform_event_types.h', |
+ '../platform/scoped_event_dispatcher.cc', |
+ '../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', |
+ 'device_data_manager.cc', |
+ 'device_data_manager.h', |
+ 'device_list_cache_x.cc', |
+ 'device_list_cache_x.h', |
+ 'events_x.cc', |
+ 'touch_factory_x11.cc', |
+ 'touch_factory_x11.h', |
+ ], |
+ } |
+ ], |
+} |