diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 22:20:34 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 22:20:34 +0000 |
commit | 815a4ab4aacbf94435f376bbd054a2b69139e3b9 (patch) | |
tree | 3a17d4195963a493f784869780ccb5f3600cc85b /third_party/libusb/libusb.gyp | |
parent | 3f0ef8b8392c1bb93eab0918db0e9edce7d4bbcc (diff) | |
download | chromium_src-815a4ab4aacbf94435f376bbd054a2b69139e3b9.zip chromium_src-815a4ab4aacbf94435f376bbd054a2b69139e3b9.tar.gz chromium_src-815a4ab4aacbf94435f376bbd054a2b69139e3b9.tar.bz2 |
Make it possible for code that does not include src/ to use libusb.
Otherwise, third_party/libmtp has to #include ../../third_party/libusb/libusb.h or add '../..' as an includes directory.
Review URL: https://codereview.chromium.org/11183078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libusb/libusb.gyp')
-rw-r--r-- | third_party/libusb/libusb.gyp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/libusb/libusb.gyp b/third_party/libusb/libusb.gyp index d3ca1ea..c309fea 100644 --- a/third_party/libusb/libusb.gyp +++ b/third_party/libusb/libusb.gyp @@ -41,6 +41,11 @@ 'src/libusb', 'src/libusb/os', ], + 'direct_dependent_settings': { + 'include_dirs': [ + '.', + ], + }, 'conditions': [ [ 'OS == "linux" or OS == "android"', { 'sources': [ |