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 component("core") { | 5 component("core") { |
6 output_name = "device_core" | 6 output_name = "device_core" |
7 | 7 |
8 sources = [ | 8 sources = [ |
9 "device_client.cc", | 9 "device_client.cc", |
10 "device_client.h", | 10 "device_client.h", |
| 11 "device_info_query_win.cc", |
| 12 "device_info_query_win.h", |
11 "device_monitor_win.cc", | 13 "device_monitor_win.cc", |
12 "device_monitor_win.h", | 14 "device_monitor_win.h", |
13 ] | 15 ] |
14 | 16 |
15 defines = [ "DEVICE_CORE_IMPLEMENTATION" ] | 17 defines = [ "DEVICE_CORE_IMPLEMENTATION" ] |
16 | 18 |
17 public_deps = [ | 19 public_deps = [ |
18 "//base", | 20 "//base", |
19 ] | 21 ] |
| 22 |
| 23 if (is_win) { |
| 24 libs = [ "setupapi.lib" ] |
| 25 } |
20 } | 26 } |
OLD | NEW |