Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2008)

Unified Diff: device/geolocation/BUILD.gn

Issue 2842613002: Geolocation Win: remove Xp/Vista specific WindowsNdisApi class (Closed)
Patch Set: robliao@s comments - static lib loading Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/geolocation/BUILD.gn
diff --git a/device/geolocation/BUILD.gn b/device/geolocation/BUILD.gn
index 19ba0bf135b1eeff7882d3c387f703e76fcb961c..33f9158bcdf8a6228cc8644c7202db382ebb0d88 100644
--- a/device/geolocation/BUILD.gn
+++ b/device/geolocation/BUILD.gn
@@ -112,6 +112,11 @@ component("geolocation") {
"Foundation.framework",
]
}
+
+ if (is_win) {
+ libs = [ "wlanapi.lib" ]
+ ldflags = [ "/DELAYLOAD:wlanapi.dll" ]
+ }
}
if (is_android) {
« no previous file with comments | « no previous file | device/geolocation/wifi_data_provider_win.cc » ('j') | device/geolocation/wifi_data_provider_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698