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

Side by Side Diff: third_party/libusb/libusb.gyp

Issue 9866021: Revert 129069 - Import libusb 1.0.9-rc3 into third_party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/libusb/examples/lsusb.c ('k') | third_party/libusb/libusb-1.0.pc.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 {
8 'target_name': 'libusb',
9 'type': '<(library)',
10 'sources': [
11 'libusb/core.c',
12 'libusb/descriptor.c',
13 'libusb/io.c',
14 'libusb/sync.c',
15 ],
16 'include_dirs': [
17 '.',
18 'libusb',
19 'libusb/os',
20 ],
21 'conditions': [
22 [ 'OS == "linux"', {
23 'sources': [
24 'libusb/os/linux_usbfs.c',
25 'libusb/os/threads_posix.c',
26 ],
27 'defines': [
28 'HAVE_POLL_H=1',
29 'HAVE_SYS_TIME_H=1',
30 'OS_LINUX=1',
31 'POLL_NFDS_TYPE=nfds_t',
32 'THREADS_POSIX=1',
33 ],
34 }],
35 [ 'OS == "win"', {
36 'sources': [
37 'libusb/os/windows_usb.c',
38 'libusb/os/threads_windows.c',
39 ],
40 'include_dirs!': [
41 '.',
42 ],
43 'include_dirs': [
44 'msvc',
45 ],
46 }],
47 [ 'OS == "mac"', {
48 'sources': [
49 'libusb/os/darwin_usb.c',
50 'libusb/os/threads_posix.c',
51 ],
52 'defines': [
53 'HAVE_POLL_H=1',
54 'HAVE_SYS_TIME_H=1',
55 'OS_DARWIN=1',
56 'POLL_NFDS_TYPE=nfds_t',
57 'THREADS_POSIX=1',
58 ],
59 }],
60 ],
61 },
62 ],
63 }
OLDNEW
« no previous file with comments | « third_party/libusb/examples/lsusb.c ('k') | third_party/libusb/libusb-1.0.pc.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698