summaryrefslogtreecommitdiffstats
path: root/third_party/libusb
diff options
context:
space:
mode:
authorreillyg@chromium.org <reillyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 18:13:59 +0000
committerreillyg@chromium.org <reillyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 18:13:59 +0000
commit3782a82b5d0c8f59a660d73b1bc9aada527dd6d8 (patch)
tree2da1871fbfbccc1bbfc6afa8d6c4358a36d5f8aa /third_party/libusb
parentfc3f8c208f78c6b5127d4f5ac866ef1a46088c89 (diff)
downloadchromium_src-3782a82b5d0c8f59a660d73b1bc9aada527dd6d8.zip
chromium_src-3782a82b5d0c8f59a660d73b1bc9aada527dd6d8.tar.gz
chromium_src-3782a82b5d0c8f59a660d73b1bc9aada527dd6d8.tar.bz2
Log errors from libusb.
Convert numeric error code from libusb into human readable strings and log them. Some of these errors should, in addition, be passed up to the running script. BUG= Review URL: https://codereview.chromium.org/344793009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278769 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libusb')
-rw-r--r--third_party/libusb/libusb.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/libusb/libusb.gyp b/third_party/libusb/libusb.gyp
index 0aba182..9ea8af5 100644
--- a/third_party/libusb/libusb.gyp
+++ b/third_party/libusb/libusb.gyp
@@ -18,6 +18,7 @@
'src/libusb/io.c',
'src/libusb/libusb.h',
'src/libusb/libusbi.h',
+ 'src/libusb/strerror.c',
'src/libusb/sync.c',
'src/libusb/version.h',
'src/libusb/version_nano.h',