Home | History | Annotate | Download | only in hid
      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.
      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_filter.cc",
     20     "hid_device_filter.h",
     21     "hid_device_info.cc",
     22     "hid_device_info.h",
     23     "hid_report_descriptor.cc",
     24     "hid_report_descriptor.h",
     25     "hid_report_descriptor_item.cc",
     26     "hid_report_descriptor_item.h",
     27     "hid_service.cc",
     28     "hid_service.h",
     29     "hid_service_linux.cc",
     30     "hid_service_linux.h",
     31     "hid_service_mac.cc",
     32     "hid_service_mac.h",
     33     "hid_service_win.cc",
     34     "hid_service_win.h",
     35     "hid_usage_and_page.cc",
     36     "hid_usage_and_page.h",
     37     "input_service_linux.cc",
     38     "input_service_linux.h",
     39   ]
     40 
     41   deps = [
     42     "//base",
     43     "//net",
     44   ]
     45 
     46   if (is_linux) {
     47     configs += [
     48       "//build/config/linux:udev"
     49     ]
     50 
     51     deps += [
     52       "//device/udev_linux",
     53     ]
     54   }
     55 }
     56