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 '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': [ |
11 'src/config.h', | 11 'src/config.h', |
12 'src/libusb/core.c', | 12 'src/libusb/core.c', |
13 'src/libusb/descriptor.c', | 13 'src/libusb/descriptor.c', |
14 'src/libusb/hotplug.c', | 14 'src/libusb/hotplug.c', |
15 'src/libusb/hotplug.h', | 15 'src/libusb/hotplug.h', |
16 'src/libusb/interrupt.c', | 16 'src/libusb/interrupt.c', |
17 'src/libusb/interrupt.h', | 17 'src/libusb/interrupt.h', |
18 'src/libusb/io.c', | 18 'src/libusb/io.c', |
19 'src/libusb/libusb.h', | 19 'src/libusb/libusb.h', |
20 'src/libusb/libusbi.h', | 20 'src/libusb/libusbi.h', |
21 'src/libusb/strerror.c', | 21 'src/libusb/strerror.c', |
22 'src/libusb/sync.c', | 22 'src/libusb/sync.c', |
23 'src/libusb/version.h', | 23 'src/libusb/version.h', |
24 'src/libusb/version_nano.h', | 24 'src/libusb/version_nano.h', |
25 ], | 25 ], |
| 26 'variables': { |
| 27 'clang_warning_flags': [ |
| 28 # guid_eq in windows_usb.c is unused. |
| 29 '-Wno-unused-function', |
| 30 ], |
| 31 }, |
26 'include_dirs': [ | 32 'include_dirs': [ |
27 'src', | 33 'src', |
28 'src/libusb', | 34 'src/libusb', |
29 'src/libusb/os', | 35 'src/libusb/os', |
30 ], | 36 ], |
31 'direct_dependent_settings': { | 37 'direct_dependent_settings': { |
32 'include_dirs': [ | 38 'include_dirs': [ |
33 'src/libusb', | 39 'src/libusb', |
34 ], | 40 ], |
35 }, | 41 }, |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 ], | 124 ], |
119 'include_dirs': [ | 125 'include_dirs': [ |
120 'src/msvc', | 126 'src/msvc', |
121 ], | 127 ], |
122 'msvs_disabled_warnings': [ 4267 ], | 128 'msvs_disabled_warnings': [ 4267 ], |
123 }], | 129 }], |
124 ], | 130 ], |
125 }, | 131 }, |
126 ], | 132 ], |
127 } | 133 } |
OLD | NEW |