| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/features.gni") |
| 6 |
| 5 source_set("hid") { | 7 source_set("hid") { |
| 6 sources = [ | 8 sources = [ |
| 7 "device_monitor_linux.cc", | 9 "device_monitor_linux.cc", |
| 8 "device_monitor_linux.h", | 10 "device_monitor_linux.h", |
| 9 "fake_input_service_linux.cc", | 11 "fake_input_service_linux.cc", |
| 10 "fake_input_service_linux.h", | 12 "fake_input_service_linux.h", |
| 11 "hid_collection_info.cc", | 13 "hid_collection_info.cc", |
| 12 "hid_collection_info.h", | 14 "hid_collection_info.h", |
| 13 "hid_connection.cc", | 15 "hid_connection.cc", |
| 14 "hid_connection.h", | 16 "hid_connection.h", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 42 "input_service_linux.h", | 44 "input_service_linux.h", |
| 43 ] | 45 ] |
| 44 | 46 |
| 45 deps = [ | 47 deps = [ |
| 46 "//base", | 48 "//base", |
| 47 "//components/device_event_log", | 49 "//components/device_event_log", |
| 48 "//device/core", | 50 "//device/core", |
| 49 "//net", | 51 "//net", |
| 50 ] | 52 ] |
| 51 | 53 |
| 52 if (is_linux) { | 54 if (use_udev) { |
| 53 deps += [ "//device/udev_linux" ] | 55 deps += [ "//device/udev_linux" ] |
| 54 } | 56 } |
| 55 if (is_chromeos) { | 57 if (is_chromeos) { |
| 56 deps += [ "//chromeos" ] | 58 deps += [ "//chromeos" ] |
| 57 } | 59 } |
| 58 } | 60 } |
| OLD | NEW |