Make castv2 performance test work.
[chromium-blink-merge.git] / device / hid / hid.gyp
blob00b9a90cafed806e6061d85486132b364e924b55
1 # Copyright 2013 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': 'device_hid',
12       'type': 'static_library',
13       'include_dirs': [
14         '../..',
15       ],
16       'dependencies': [
17         '../../components/components.gyp:device_event_log_component',
18         '../../net/net.gyp:net',
19         '../core/core.gyp:device_core',
20       ],
21       'sources': [
22         'device_monitor_linux.cc',
23         'device_monitor_linux.h',
24         'fake_input_service_linux.cc',
25         'fake_input_service_linux.h',
26         'hid_collection_info.cc',
27         'hid_collection_info.h',
28         'hid_connection.cc',
29         'hid_connection.h',
30         'hid_connection_linux.cc',
31         'hid_connection_linux.h',
32         'hid_connection_mac.cc',
33         'hid_connection_mac.h',
34         'hid_connection_win.cc',
35         'hid_connection_win.h',
36         'hid_device_filter.cc',
37         'hid_device_filter.h',
38         'hid_device_info.cc',
39         'hid_device_info.h',
40         'hid_device_info_linux.cc',
41         'hid_device_info_linux.h',
42         'hid_report_descriptor.cc',
43         'hid_report_descriptor.h',
44         'hid_report_descriptor_item.cc',
45         'hid_report_descriptor_item.h',
46         'hid_service.cc',
47         'hid_service.h',
48         'hid_service_linux.cc',
49         'hid_service_linux.h',
50         'hid_service_mac.cc',
51         'hid_service_mac.h',
52         'hid_service_win.cc',
53         'hid_service_win.h',
54         'hid_usage_and_page.cc',
55         'hid_usage_and_page.h',
56         'input_service_linux.cc',
57         'input_service_linux.h',
58       ],
59       'conditions': [
60         ['use_udev==1', {
61           'dependencies': [
62             '../udev_linux/udev.gyp:udev_linux',
63           ],
64         }, {  # use_udev==0
65           # The Linux implementation is based on Udev.
66           'sources!': [
67             'device_monitor_linux.cc',
68             'device_monitor_linux.h',
69             'hid_service_linux.cc',
70             'hid_service_linux.h',
71             'fake_input_service_linux.cc',
72             'fake_input_service_linux.h',
73             'input_service_linux.cc',
74             'input_service_linux.h',
75           ],
76         }],
77       ],
78     },
79   ],