Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / events / devices / events_devices.gyp
blob1a20ee7d163a17ef7e8940629981bd20eb1b3004
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'events_devices',
12       'type': '<(component)',
13       'dependencies': [
14         '../../../base/base.gyp:base',
15         '../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
16         '../../../skia/skia.gyp:skia',
17         '../../../ui/gfx/gfx.gyp:gfx',
18         '../../../ui/gfx/gfx.gyp:gfx_geometry',
19       ],
20       'defines': [
21         'EVENTS_DEVICES_IMPLEMENTATION',
22       ],
23       'sources': [
24         'device_data_manager.cc',
25         'device_data_manager.h',
26         'device_hotplug_event_observer.h',
27         'device_util_linux.cc',
28         'device_util_linux.h',
29         'events_devices_export.h',
30         'input_device.cc',
31         'input_device.h',
32         'input_device_event_observer.h',
33         'keyboard_device.cc',
34         'keyboard_device.h',
35         'touchscreen_device.cc',
36         'touchscreen_device.h',
37         'x11/device_data_manager_x11.cc',
38         'x11/device_data_manager_x11.h',
39         'x11/device_list_cache_x11.cc',
40         'x11/device_list_cache_x11.h',
41         'x11/touch_factory_x11.cc',
42         'x11/touch_factory_x11.h',
43       ],
44       'export_dependent_settings': [
45         '../../../ui/gfx/gfx.gyp:gfx',
46       ],
47       'conditions': [
48         ['use_x11==1', {
49           'dependencies': [
50             '../../../build/linux/system.gyp:x11',
51             '../../../ui/events/events.gyp:events_base',
52             '../../../ui/gfx/x/gfx_x11.gyp:gfx_x11',
53           ],
54         }],
55       ],
56     },
57   ],