GPU workaround to simulate Out of Memory errors with large textures
[chromium-blink-merge.git] / device / hid / BUILD.gn
blob4a6a1b29f7189644643e36b3bd804301e3f0d8a9
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.
5 source_set("hid") {
6   sources = [
7     "device_monitor_linux.cc",
8     "device_monitor_linux.h",
9     "fake_input_service_linux.cc",
10     "fake_input_service_linux.h",
11     "hid_collection_info.cc",
12     "hid_collection_info.h",
13     "hid_connection.cc",
14     "hid_connection.h",
15     "hid_connection_linux.cc",
16     "hid_connection_linux.h",
17     "hid_connection_mac.cc",
18     "hid_connection_mac.h",
19     "hid_connection_win.cc",
20     "hid_connection_win.h",
21     "hid_device_filter.cc",
22     "hid_device_filter.h",
23     "hid_device_info.cc",
24     "hid_device_info.h",
25     "hid_device_info_linux.cc",
26     "hid_device_info_linux.h",
27     "hid_report_descriptor.cc",
28     "hid_report_descriptor.h",
29     "hid_report_descriptor_item.cc",
30     "hid_report_descriptor_item.h",
31     "hid_service.cc",
32     "hid_service.h",
33     "hid_service_linux.cc",
34     "hid_service_linux.h",
35     "hid_service_mac.cc",
36     "hid_service_mac.h",
37     "hid_service_win.cc",
38     "hid_service_win.h",
39     "hid_usage_and_page.cc",
40     "hid_usage_and_page.h",
41     "input_service_linux.cc",
42     "input_service_linux.h",
43   ]
45   deps = [
46     "//base",
47     "//components/device_event_log",
48     "//device/core",
49     "//net",
50   ]
52   if (is_linux) {
53     deps += [ "//device/udev_linux" ]
54   }
55   if (is_chromeos) {
56     deps += [ "//chromeos" ]
57   }