Index: device/core/BUILD.gn |
diff --git a/device/core/BUILD.gn b/device/core/BUILD.gn |
index e85acb6a5a57d3b485d6bf497be510589e4fcd43..b7e6ac2c0b6abae603ad26e2bee5b6bbda422c24 100644 |
--- a/device/core/BUILD.gn |
+++ b/device/core/BUILD.gn |
@@ -8,6 +8,8 @@ component("core") { |
sources = [ |
"device_client.cc", |
"device_client.h", |
+ "device_info_query_win.cc", |
+ "device_info_query_win.h", |
"device_monitor_win.cc", |
"device_monitor_win.h", |
] |
@@ -17,4 +19,8 @@ component("core") { |
public_deps = [ |
"//base", |
] |
+ |
+ if (is_win) { |
+ libs = [ "setupapi.lib" ] |
+ } |
} |