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

Unified Diff: third_party/libusb/libusb.gyp

Issue 11747019: Use generated shim headers for libusb (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix include path Created 7 years, 11 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
« no previous file with comments | « third_party/libusb/libusb.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libusb/libusb.gyp
diff --git a/third_party/libusb/libusb.gyp b/third_party/libusb/libusb.gyp
index c309fea999189baa4f2acbbe25779a1d04280be0..6ecba38f55472df64d45140be4d6d8483efcec8a 100644
--- a/third_party/libusb/libusb.gyp
+++ b/third_party/libusb/libusb.gyp
@@ -10,12 +10,18 @@
{
'target_name': 'libusb',
'conditions': [
- ['OS == "linux" and use_system_libusb', {
+ ['OS == "linux" and use_system_libusb==1', {
'type': 'none',
- 'direct_dependent_settings': {
- 'defines': [
- 'USE_SYSTEM_LIBUSB',
+ 'variables': {
+ 'headers_root_path': 'src/libusb',
+ 'header_filenames': [
+ 'libusb.h',
],
+ },
+ 'includes': [
+ '../../build/shim_headers.gypi',
+ ],
+ 'direct_dependent_settings': {
'cflags': [
'<!@(pkg-config --cflags libusb-1.0)',
],
@@ -43,7 +49,7 @@
],
'direct_dependent_settings': {
'include_dirs': [
- '.',
+ 'src/libusb',
],
},
'conditions': [
« no previous file with comments | « third_party/libusb/libusb.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698