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

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

Issue 1368773005: Enable timerfd in libusb. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't change OS X, udpate BUILD.gn as well. Created 5 years, 2 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 | « third_party/libusb/BUILD.gn ('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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'libusb', 8 'target_name': 'libusb',
9 'type': 'static_library', 9 'type': 'static_library',
10 'sources': [ 10 'sources': [
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 'THREADS_POSIX=1', 57 'THREADS_POSIX=1',
58 ], 58 ],
59 }], 59 }],
60 ['OS=="linux"', { 60 ['OS=="linux"', {
61 'sources': [ 61 'sources': [
62 'src/libusb/os/linux_usbfs.c', 62 'src/libusb/os/linux_usbfs.c',
63 'src/libusb/os/linux_usbfs.h', 63 'src/libusb/os/linux_usbfs.h',
64 ], 64 ],
65 'defines': [ 65 'defines': [
66 'OS_LINUX=1', 66 'OS_LINUX=1',
67 'USBI_TIMERFD_AVAILABLE',
67 '_GNU_SOURCE=1', 68 '_GNU_SOURCE=1',
68 ], 69 ],
69 }], 70 }],
70 ['use_udev==1', { 71 ['use_udev==1', {
71 'sources': [ 72 'sources': [
72 'src/libusb/os/linux_udev.cc', 73 'src/libusb/os/linux_udev.cc',
73 ], 74 ],
74 'defines': [ 75 'defines': [
75 'HAVE_LIBUDEV=1', 76 'HAVE_LIBUDEV=1',
76 'USE_UDEV=1', 77 'USE_UDEV=1',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 ], 125 ],
125 'include_dirs': [ 126 'include_dirs': [
126 'src/msvc', 127 'src/msvc',
127 ], 128 ],
128 'msvs_disabled_warnings': [ 4267 ], 129 'msvs_disabled_warnings': [ 4267 ],
129 }], 130 }],
130 ], 131 ],
131 }, 132 },
132 ], 133 ],
133 } 134 }
OLDNEW
« no previous file with comments | « third_party/libusb/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698