diff options
author | Josh Gao <jmgao@google.com> | 2017-02-22 17:07:01 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-02-22 18:19:21 -0800 |
commit | 64fda63d063e9782e20ed7d6640091fd6a85855f (patch) | |
tree | 5f7f620de4c51f1f530aec77b34b3892b101324c /transport.h | |
parent | 9de081be1cfa7bcbc1c2f5cc79970ada7c12f8ce (diff) | |
download | adb-64fda63d063e9782e20ed7d6640091fd6a85855f.tar.gz |
adb: add `adb host-features`, report libusb status.
Add a 'host-features' command to get the features of the currently
running host adb server. Abuse it to report libusb status.
Bug: http://b/34983123
Test: adb host-features; adb kill-server; ADB_LIBUSB=1 adb start-server; adb host-features
Change-Id: I0e8d503a2dbdff9002ebb6ce8a298498a9421422
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/transport.h b/transport.h index 3306388..490e513 100644 --- a/transport.h +++ b/transport.h @@ -47,6 +47,8 @@ extern const char* const kFeatureShell2; // The 'cmd' command is available extern const char* const kFeatureCmd; extern const char* const kFeatureStat2; +// The server is running with libusb enabled. +extern const char* const kFeatureLibusb; class atransport { public: |