Chromium Code Reviews| Index: third_party/libusb/libusb.gyp |
| diff --git a/third_party/libusb/libusb.gyp b/third_party/libusb/libusb.gyp |
| index 4fc0c7e6b9061108b2bff63121ecc54948e48b70..65923e987a2bf4fab7e7516d7589faa61f5b108b 100644 |
| --- a/third_party/libusb/libusb.gyp |
| +++ b/third_party/libusb/libusb.gyp |
| @@ -10,6 +10,21 @@ |
| { |
| 'target_name': 'libusb', |
| 'conditions': [ |
| + ['OS == "android"', { |
|
Lei Zhang
2012/06/05 18:22:53
Why is this in a separate section by itself, and n
Paweł Hajdan Jr.
2012/06/06 08:20:00
Please do what Lei said. It makes no sense to dupl
felipeg
2012/06/06 09:48:31
Done.
|
| + 'sources': [ |
| + 'src/libusb/os/linux_usbfs.c', |
| + 'src/libusb/os/threads_posix.c', |
| + ], |
| + 'defines': [ |
| + 'DEFAULT_VISIBILITY=', |
| + 'HAVE_POLL_H=1', |
| + 'HAVE_SYS_TIME_H=1', |
| + 'OS_LINUX=1', |
| + 'POLL_NFDS_TYPE=nfds_t', |
| + 'THREADS_POSIX=1', |
| + '_GNU_SOURCE=1', |
| + ], |
| + }], |
| ['OS == "linux" and use_system_libusb', { |
| 'type': 'none', |
| 'direct_dependent_settings': { |