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

Unified Diff: components/wifi.gypi

Issue 243343002: Remove fake_wifi_service.cc from production wifi component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wifi_test_support depends on onc_component. Created 6 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': [
'..',
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698