OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 source_set("hid") { | |
6 sources = [ | |
7 "device_monitor_linux.cc", | |
8 "device_monitor_linux.h", | |
9 "hid_collection_info.cc", | |
10 "hid_collection_info.h", | |
11 "hid_connection.cc", | |
12 "hid_connection.h", | |
13 "hid_connection_linux.cc", | |
14 "hid_connection_linux.h", | |
15 "hid_connection_mac.cc", | |
16 "hid_connection_mac.h", | |
17 "hid_connection_win.cc", | |
18 "hid_connection_win.h", | |
19 "hid_device_info.cc", | |
20 "hid_device_info.h", | |
21 "hid_report_descriptor.cc", | |
22 "hid_report_descriptor.h", | |
23 "hid_report_descriptor_item.cc", | |
24 "hid_report_descriptor_item.h", | |
25 "hid_service.cc", | |
26 "hid_service.h", | |
27 "hid_service_linux.cc", | |
28 "hid_service_linux.h", | |
29 "hid_service_mac.cc", | |
30 "hid_service_mac.h", | |
31 "hid_service_win.cc", | |
32 "hid_service_win.h", | |
33 "hid_usage_and_page.cc", | |
34 "hid_usage_and_page.h", | |
35 "input_service_linux.cc", | |
36 "input_service_linux.h", | |
37 ] | |
38 | |
39 deps = [ | |
40 "//base", | |
41 "//net", | |
42 ] | |
43 | |
44 if (is_linux) { | |
45 configs += [ | |
46 "//build/config/linux:udev" | |
47 ] | |
48 | |
49 deps += [ | |
50 "//device/udev_linux", | |
51 ] | |
52 } else { | |
53 sources -= [ | |
54 "device_monitor_linux.cc", | |
brettw
2014/08/04 04:28:52
You shouldn't need these as *_linux should be remo
tfarina
2014/08/05 14:13:19
Done.
| |
55 "device_monitor_linux.h", | |
56 "hid_service_linux.cc", | |
57 "hid_service_linux.h", | |
58 "input_service_linux.cc", | |
59 "input_service_linux.h", | |
60 ] | |
61 } | |
62 } | |
OLD | NEW |