OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//testing/libfuzzer/fuzzer_test.gni") | 6 import("//testing/libfuzzer/fuzzer_test.gni") |
7 | 7 |
8 assert(!is_ios) | 8 assert(!is_ios) |
9 | 9 |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 16 matching lines...) Expand all Loading... |
27 "usb_device_android.cc", | 27 "usb_device_android.cc", |
28 "usb_device_android.h", | 28 "usb_device_android.h", |
29 "usb_device_filter.cc", | 29 "usb_device_filter.cc", |
30 "usb_device_filter.h", | 30 "usb_device_filter.h", |
31 "usb_device_handle.cc", | 31 "usb_device_handle.cc", |
32 "usb_device_handle.h", | 32 "usb_device_handle.h", |
33 "usb_device_handle_android.cc", | 33 "usb_device_handle_android.cc", |
34 "usb_device_handle_android.h", | 34 "usb_device_handle_android.h", |
35 "usb_device_linux.cc", | 35 "usb_device_linux.cc", |
36 "usb_device_linux.h", | 36 "usb_device_linux.h", |
| 37 "usb_device_win.cc", |
| 38 "usb_device_win.h", |
37 "usb_endpoint_android.cc", | 39 "usb_endpoint_android.cc", |
38 "usb_endpoint_android.h", | 40 "usb_endpoint_android.h", |
39 "usb_ids.cc", | 41 "usb_ids.cc", |
40 "usb_ids.h", | 42 "usb_ids.h", |
41 "usb_interface_android.cc", | 43 "usb_interface_android.cc", |
42 "usb_interface_android.h", | 44 "usb_interface_android.h", |
43 "usb_service.cc", | 45 "usb_service.cc", |
44 "usb_service.h", | 46 "usb_service.h", |
45 "usb_service_android.cc", | 47 "usb_service_android.cc", |
46 "usb_service_android.h", | 48 "usb_service_android.h", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 "usb_device_impl.h", | 84 "usb_device_impl.h", |
83 "usb_error.cc", | 85 "usb_error.cc", |
84 "usb_error.h", | 86 "usb_error.h", |
85 "usb_service_impl.cc", | 87 "usb_service_impl.cc", |
86 "usb_service_impl.h", | 88 "usb_service_impl.h", |
87 ] | 89 ] |
88 | 90 |
89 deps += [ "//third_party/libusb" ] | 91 deps += [ "//third_party/libusb" ] |
90 } | 92 } |
91 | 93 |
| 94 if (is_win) { |
| 95 libs = [ "setupapi.lib" ] |
| 96 } |
| 97 |
92 if (is_android || is_chromeos || is_linux) { | 98 if (is_android || is_chromeos || is_linux) { |
93 sources += [ | 99 sources += [ |
94 "usb_device_handle_usbfs.cc", | 100 "usb_device_handle_usbfs.cc", |
95 "usb_device_handle_usbfs.h", | 101 "usb_device_handle_usbfs.h", |
96 ] | 102 ] |
97 } | 103 } |
98 | 104 |
99 if (is_chromeos) { | 105 if (is_chromeos) { |
100 deps += [ | 106 deps += [ |
101 "//chromeos", | 107 "//chromeos", |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 jni_package = "device" | 211 jni_package = "device" |
206 } | 212 } |
207 | 213 |
208 android_library("java") { | 214 android_library("java") { |
209 java_files = java_sources_needing_jni | 215 java_files = java_sources_needing_jni |
210 deps = [ | 216 deps = [ |
211 "//base:base_java", | 217 "//base:base_java", |
212 ] | 218 ] |
213 } | 219 } |
214 } | 220 } |
OLD | NEW |