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

Unified Diff: components/wifi.gypi

Issue 264773017: components: Do not include test code in wifi_component target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: components/wifi.gypi
diff --git a/components/wifi.gypi b/components/wifi.gypi
index 9b6d4d1125194d82f4dd574ea4e4f68834521c6a..178675829b1fceb95378aa8036a99e836710a22d 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,6 +44,22 @@
],
},
{
+ 'target_name': 'wifi_test_support',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ 'onc_component',
+ 'wifi_component',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'wifi/fake_wifi_service.cc',
+ 'wifi/fake_wifi_service.h',
+ ],
+ },
+ {
'target_name': 'wifi_test',
'type': 'executable',
'dependencies': [

Powered by Google App Engine
This is Rietveld 408576698