Index: components/wifi.gypi |
diff --git a/components/wifi.gypi b/components/wifi.gypi |
index 9b6d4d1125194d82f4dd574ea4e4f68834521c6a..ad30b344e2af769b00352324502c99222009750f 100644 |
--- a/components/wifi.gypi |
+++ b/components/wifi.gypi |
@@ -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,27 @@ |
], |
}, |
{ |
+ 'target_name': 'wifi_test_support', |
+ 'type': '<(component)', |
+ 'dependencies': [ |
+ 'onc_component', |
+ 'wifi_component', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'wifi/fake_wifi_service.cc', |
+ ], |
+ }, |
+ { |
'target_name': 'wifi_test', |
'type': 'executable', |
'dependencies': [ |
'../base/base.gyp:base', |
'onc_component', |
'wifi_component', |
+ 'wifi_test_support', |
], |
'include_dirs': [ |
'..', |