Index: components/wifi.gypi |
diff --git a/components/wifi.gypi b/components/wifi.gypi |
index 3090bd2dc6259e38534f660e02cdf1ff817e0c45..2a9543baa4f5131eb8385ca4b1aabec0e05e86e1 100644 |
--- a/components/wifi.gypi |
+++ b/components/wifi.gypi |
@@ -9,8 +9,8 @@ |
'type': '<(component)', |
'dependencies': [ |
'../base/base.gyp:base', |
- '../components/components.gyp:onc_component', |
'../third_party/libxml/libxml.gyp:libxml', |
+ 'onc_component', |
], |
'include_dirs': [ |
'..', |
@@ -22,7 +22,6 @@ |
'wifi/wifi_export.h', |
'wifi/wifi_service.cc', |
'wifi/wifi_service.h', |
- 'wifi/fake_wifi_service.cc', |
'wifi/wifi_service_mac.mm', |
'wifi/wifi_service_win.cc', |
], |
@@ -45,12 +44,25 @@ |
], |
}, |
{ |
+ 'target_name': 'wifi_test_support', |
+ 'type': 'static_library', |
tfarina
2014/04/21 14:59:13
Yeah, I bet if you change this to <(component) it
|
+ 'dependencies': [ |
+ 'onc_component', |
+ 'wifi_component', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'wifi/fake_wifi_service.cc', |
+ ], |
+ }, |
+ { |
'target_name': 'wifi_test', |
'type': 'executable', |
'dependencies': [ |
- 'wifi_component', |
'../base/base.gyp:base', |
- '../components/components.gyp:onc_component', |
+ 'wifi_test_support', |
], |
'include_dirs': [ |
'..', |