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

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

Issue 9969185: third_party/libusb: vs2010 build fixes and android-conditional build (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 | « chrome/chrome_browser.gypi ('k') | third_party/libusb/libusb/os/windows_usb.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'libusb', 8 'target_name': 'libusb',
9 'type': '<(library)', 9 'type': '<(library)',
10 'sources': [ 10 'sources': [
(...skipping 18 matching lines...) Expand all
29 'HAVE_POLL_H=1', 29 'HAVE_POLL_H=1',
30 'HAVE_SYS_TIME_H=1', 30 'HAVE_SYS_TIME_H=1',
31 'OS_LINUX=1', 31 'OS_LINUX=1',
32 'POLL_NFDS_TYPE=nfds_t', 32 'POLL_NFDS_TYPE=nfds_t',
33 'THREADS_POSIX=1', 33 'THREADS_POSIX=1',
34 '_GNU_SOURCE=1', 34 '_GNU_SOURCE=1',
35 ], 35 ],
36 }], 36 }],
37 [ 'OS == "win"', { 37 [ 'OS == "win"', {
38 'sources': [ 38 'sources': [
39 'libusb/os/poll_windows.c',
40 'libusb/os/threads_windows.c',
39 'libusb/os/windows_usb.c', 41 'libusb/os/windows_usb.c',
40 'libusb/os/threads_windows.c',
41 ], 42 ],
42 'include_dirs!': [ 43 'include_dirs!': [
43 '.', 44 '.',
44 ], 45 ],
45 'include_dirs': [ 46 'include_dirs': [
46 'msvc', 47 'msvc',
47 ], 48 ],
48 }], 49 }],
49 [ 'OS == "mac"', { 50 [ 'OS == "mac"', {
50 'sources': [ 51 'sources': [
51 'libusb/os/darwin_usb.c', 52 'libusb/os/darwin_usb.c',
52 'libusb/os/threads_posix.c', 53 'libusb/os/threads_posix.c',
53 ], 54 ],
54 'defines': [ 55 'defines': [
55 'DEFAULT_VISIBILITY=', 56 'DEFAULT_VISIBILITY=',
56 'HAVE_POLL_H=1', 57 'HAVE_POLL_H=1',
57 'HAVE_SYS_TIME_H=1', 58 'HAVE_SYS_TIME_H=1',
58 'OS_DARWIN=1', 59 'OS_DARWIN=1',
59 'POLL_NFDS_TYPE=nfds_t', 60 'POLL_NFDS_TYPE=nfds_t',
60 'THREADS_POSIX=1', 61 'THREADS_POSIX=1',
61 '_GNU_SOURCE=1', 62 '_GNU_SOURCE=1',
62 ], 63 ],
63 }], 64 }],
64 ], 65 ],
65 }, 66 },
66 ], 67 ],
67 } 68 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | third_party/libusb/libusb/os/windows_usb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698