mac: Let IPhotoDataProvider::GetAlbumNames() return albums in a deterministic order.
[chromium-blink-merge.git] / device / hid / BUILD.gn
blobf57fe86c204a07f9af55787e8ad6a57ade6e4f0d
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 import("//build/config/features.gni")
7 source_set("hid") {
8   sources = [
9     "device_monitor_linux.cc",
10     "device_monitor_linux.h",
11     "fake_input_service_linux.cc",
12     "fake_input_service_linux.h",
13     "hid_collection_info.cc",
14     "hid_collection_info.h",
15     "hid_connection.cc",
16     "hid_connection.h",
17     "hid_connection_linux.cc",
18     "hid_connection_linux.h",
19     "hid_connection_mac.cc",
20     "hid_connection_mac.h",
21     "hid_connection_win.cc",
22     "hid_connection_win.h",
23     "hid_device_filter.cc",
24     "hid_device_filter.h",
25     "hid_device_info.cc",
26     "hid_device_info.h",
27     "hid_device_info_linux.cc",
28     "hid_device_info_linux.h",
29     "hid_report_descriptor.cc",
30     "hid_report_descriptor.h",
31     "hid_report_descriptor_item.cc",
32     "hid_report_descriptor_item.h",
33     "hid_service.cc",
34     "hid_service.h",
35     "hid_service_linux.cc",
36     "hid_service_linux.h",
37     "hid_service_mac.cc",
38     "hid_service_mac.h",
39     "hid_service_win.cc",
40     "hid_service_win.h",
41     "hid_usage_and_page.cc",
42     "hid_usage_and_page.h",
43     "input_service_linux.cc",
44     "input_service_linux.h",
45   ]
47   deps = [
48     "//base",
49     "//components/device_event_log",
50     "//device/core",
51     "//net",
52   ]
54   if (use_udev) {
55     deps += [ "//device/udev_linux" ]
56   }
57   if (is_chromeos) {
58     deps += [ "//chromeos" ]
59   }