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

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

Issue 10519005: Fix libusb dependecy for Chromium with Android OS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | 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 '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
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
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 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698