| 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") | 5 import("//build/config/features.gni") |
| 6 | 6 |
| 7 component("core") { | 7 component("base") { |
| 8 output_name = "device_core" | 8 output_name = "device_base" |
| 9 | 9 |
| 10 sources = [ | 10 sources = [ |
| 11 "device_client.cc", | 11 "device_client.cc", |
| 12 "device_client.h", | 12 "device_client.h", |
| 13 "device_info_query_win.cc", | 13 "device_info_query_win.cc", |
| 14 "device_info_query_win.h", | 14 "device_info_query_win.h", |
| 15 "device_monitor_win.cc", | 15 "device_monitor_win.cc", |
| 16 "device_monitor_win.h", | 16 "device_monitor_win.h", |
| 17 ] | 17 ] |
| 18 | 18 |
| 19 defines = [ "DEVICE_CORE_IMPLEMENTATION" ] | 19 defines = [ "DEVICE_BASE_IMPLEMENTATION" ] |
| 20 | 20 |
| 21 deps = [] | 21 deps = [] |
| 22 | 22 |
| 23 public_deps = [ | 23 public_deps = [ |
| 24 "//base", | 24 "//base", |
| 25 ] | 25 ] |
| 26 | 26 |
| 27 if (use_udev) { | 27 if (use_udev) { |
| 28 sources += [ | 28 sources += [ |
| 29 "device_monitor_linux.cc", | 29 "device_monitor_linux.cc", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 source_set("mocks") { | 41 source_set("mocks") { |
| 42 testonly = true | 42 testonly = true |
| 43 | 43 |
| 44 sources = [ | 44 sources = [ |
| 45 "mock_device_client.cc", | 45 "mock_device_client.cc", |
| 46 "mock_device_client.h", | 46 "mock_device_client.h", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 deps = [ | 49 deps = [ |
| 50 ":core", | 50 ":base", |
| 51 "//device/hid:mocks", | 51 "//device/hid:mocks", |
| 52 "//device/usb:test_support", | 52 "//device/usb:test_support", |
| 53 ] | 53 ] |
| 54 } | 54 } |
| OLD | NEW |