shill: Add simple "shill_setup_wifi" command
This test exercises the D-Bus API to configure and connect to
a WiFi service.
BUG=chromium:447250
TEST=Run command
Change-Id: Ic13e9fb1c2682a01561a72887b2d212d47cfb0f7
Reviewed-on: https://chromium-review.googlesource.com/241735
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
diff --git a/shill.gyp b/shill.gyp
index f1b9b71..32a572e 100644
--- a/shill.gyp
+++ b/shill.gyp
@@ -788,6 +788,27 @@
}],
],
},
+ {
+ 'target_name': 'shill_setup_wifi',
+ 'type': 'executable',
+ 'sources': [
+ 'setup_wifi/main.cc'
+ ],
+ 'actions': [
+ {
+ 'action_name': 'generate-shill-proxies',
+ 'variables': {
+ 'proxy_output_file':
+ 'include/shill/dbus_proxies/shill_proxies.h',
+ },
+ 'sources': [
+ 'dbus_bindings/org.chromium.flimflam.Manager.xml',
+ 'dbus_bindings/org.chromium.flimflam.Service.xml',
+ ],
+ 'includes': ['../common-mk/generate-dbus-proxies.gypi'],
+ },
+ ],
+ },
],
}],
],