Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index d783ee0bf7ba6ec441d517093e1cebf1c0890ce0..838c7e9eb108b82287f3d7de4c92dc89d4aa0759 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -850,11 +850,15 @@ component("base") { |
#cflags = [ "/wd4267" ] |
libs = [ |
+ "cfgmgr32.lib", |
"netapi32.lib", |
"powrprof.lib", |
+ "setupapi.lib", |
] |
ldflags = [ |
+ "/DELAYLOAD:cfgmgr32.dll", |
"/DELAYLOAD:powrprof.dll", |
+ "/DELAYLOAD:setupapi.dll", |
] |
} else if (!is_nacl) { |
# Non-Windows. |