| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'use_system_libusb%': 0, | 7 'use_system_libusb%': 0, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 'src/libusb/descriptor.c', | 35 'src/libusb/descriptor.c', |
| 36 'src/libusb/io.c', | 36 'src/libusb/io.c', |
| 37 'src/libusb/sync.c', | 37 'src/libusb/sync.c', |
| 38 ], | 38 ], |
| 39 'include_dirs': [ | 39 'include_dirs': [ |
| 40 'src', | 40 'src', |
| 41 'src/libusb', | 41 'src/libusb', |
| 42 'src/libusb/os', | 42 'src/libusb/os', |
| 43 ], | 43 ], |
| 44 'conditions': [ | 44 'conditions': [ |
| 45 [ 'OS == "linux"', { | 45 [ 'OS == "linux" or OS == "android"', { |
| 46 'sources': [ | 46 'sources': [ |
| 47 'src/libusb/os/linux_usbfs.c', | 47 'src/libusb/os/linux_usbfs.c', |
| 48 'src/libusb/os/threads_posix.c', | 48 'src/libusb/os/threads_posix.c', |
| 49 ], | 49 ], |
| 50 'defines': [ | 50 'defines': [ |
| 51 'DEFAULT_VISIBILITY=', | 51 'DEFAULT_VISIBILITY=', |
| 52 'HAVE_POLL_H=1', | 52 'HAVE_POLL_H=1', |
| 53 'HAVE_SYS_TIME_H=1', | 53 'HAVE_SYS_TIME_H=1', |
| 54 'OS_LINUX=1', | 54 'OS_LINUX=1', |
| 55 'POLL_NFDS_TYPE=nfds_t', | 55 'POLL_NFDS_TYPE=nfds_t', |
| (...skipping 28 matching lines...) Expand all Loading... |
| 84 'THREADS_POSIX=1', | 84 'THREADS_POSIX=1', |
| 85 '_GNU_SOURCE=1', | 85 '_GNU_SOURCE=1', |
| 86 ], | 86 ], |
| 87 }], | 87 }], |
| 88 ], | 88 ], |
| 89 }], | 89 }], |
| 90 ], | 90 ], |
| 91 }, | 91 }, |
| 92 ], | 92 ], |
| 93 } | 93 } |
| OLD | NEW |