Index: components/wifi.gypi |
diff --git a/components/wifi.gypi b/components/wifi.gypi |
index 9685e1101b6c9a6ecc9bd8910f996cb9a9330b7e..0565db42b51e40396abe2ed79af6edefd3850d26 100644 |
--- a/components/wifi.gypi |
+++ b/components/wifi.gypi |
@@ -9,7 +9,7 @@ |
'type': '<(component)', |
'dependencies': [ |
'../base/base.gyp:base', |
- '../components/components.gyp:onc_component', |
+ '../components/components.gyp:onc_component', |
], |
'include_dirs': [ |
'..', |
@@ -22,6 +22,7 @@ |
'wifi/wifi_service.cc', |
'wifi/wifi_service.h', |
'wifi/fake_wifi_service.cc', |
+ 'wifi/wifi_service_mac.mm', |
'wifi/wifi_service_win.cc', |
], |
'conditions': [ |
@@ -32,6 +33,13 @@ |
], |
}, |
}], |
+ ['OS=="mac"', { |
+ 'link_settings': { |
+ 'libraries': [ |
+ '$(SDKROOT)/System/Library/Frameworks/CoreWLAN.framework', |
+ ], |
+ }, |
+ }], |
], |
}, |
{ |