Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / events / platform / x11 / x11_events_platform.gyp
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [{
10     # GN version: //ui/events/platform/x11
11     'target_name': 'x11_events_platform',
12     'type': '<(component)',
13     'defines': [
14       'EVENTS_IMPLEMENTATION',
15     ],
16     'dependencies': [
17       '../../../../build/linux/system.gyp:x11',
18       '../../../gfx/x/gfx_x11.gyp:gfx_x11',
19       '../../devices/events_devices.gyp:events_devices',
20       '../../events.gyp:events',
21       '../../events.gyp:events_base',
22       '../events_platform.gyp:events_platform',
23     ],
24     'sources': [
25       'x11_event_source.cc',
26       'x11_event_source.h',
27       'x11_event_source_glib.cc',
28       'x11_event_source_libevent.cc',
29       'x11_hotplug_event_handler.cc',
30       'x11_hotplug_event_handler.h',
31     ],
32     'conditions': [
33       ['use_glib==1', {
34         'dependencies': [
35           '../../../../build/linux/system.gyp:glib',
36         ],
37         'sources!': [
38           'x11_event_source_libevent.cc',
39         ],
40       }, {
41         # use_glib == 0
42         'sources!': [
43           'x11_event_source_glib.cc',
44         ],
45       }],
46     ],
47   }],
48 }