Index: components/wifi.gypi |
diff --git a/components/wifi.gypi b/components/wifi.gypi |
index f65bdaa5981f1f19da7c154400106d10ed066673..9685e1101b6c9a6ecc9bd8910f996cb9a9330b7e 100644 |
--- a/components/wifi.gypi |
+++ b/components/wifi.gypi |
@@ -22,6 +22,31 @@ |
'wifi/wifi_service.cc', |
'wifi/wifi_service.h', |
'wifi/fake_wifi_service.cc', |
+ 'wifi/wifi_service_win.cc', |
+ ], |
+ 'conditions': [ |
+ ['OS == "win"', { |
+ 'link_settings': { |
+ 'libraries': [ |
+ '-liphlpapi.lib', |
+ ], |
+ }, |
+ }], |
+ ], |
+ }, |
+ { |
+ 'target_name': 'wifi_test', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'wifi_component', |
+ '../base/base.gyp:base', |
+ '../components/components.gyp:onc_component', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'wifi/wifi_test.cc', |
], |
}, |
], |