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

Side by Side Diff: device/usb/BUILD.gn

Issue 2702623002: Add support for reading USB descriptors to the new Windows backend. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | device/usb/usb_descriptors.h » ('j') | device/usb/usb_device_handle_win.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 14 matching lines...) Expand all
25 "usb_device.cc", 25 "usb_device.cc",
26 "usb_device.h", 26 "usb_device.h",
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_handle_win.cc",
36 "usb_device_handle_win.h",
35 "usb_device_linux.cc", 37 "usb_device_linux.cc",
36 "usb_device_linux.h", 38 "usb_device_linux.h",
37 "usb_device_win.cc", 39 "usb_device_win.cc",
38 "usb_device_win.h", 40 "usb_device_win.h",
39 "usb_endpoint_android.cc", 41 "usb_endpoint_android.cc",
40 "usb_endpoint_android.h", 42 "usb_endpoint_android.h",
41 "usb_ids.cc", 43 "usb_ids.cc",
42 "usb_ids.h", 44 "usb_ids.h",
43 "usb_interface_android.cc", 45 "usb_interface_android.cc",
44 "usb_interface_android.h", 46 "usb_interface_android.h",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 "usb_error.cc", 87 "usb_error.cc",
86 "usb_error.h", 88 "usb_error.h",
87 "usb_service_impl.cc", 89 "usb_service_impl.cc",
88 "usb_service_impl.h", 90 "usb_service_impl.h",
89 ] 91 ]
90 92
91 deps += [ "//third_party/libusb" ] 93 deps += [ "//third_party/libusb" ]
92 } 94 }
93 95
94 if (is_win) { 96 if (is_win) {
95 libs = [ "setupapi.lib" ] 97 libs = [
98 "setupapi.lib",
99 "winusb.lib",
100 ]
96 } 101 }
97 102
98 if (is_android || is_chromeos || is_linux) { 103 if (is_android || is_chromeos || is_linux) {
99 sources += [ 104 sources += [
100 "usb_device_handle_usbfs.cc", 105 "usb_device_handle_usbfs.cc",
101 "usb_device_handle_usbfs.h", 106 "usb_device_handle_usbfs.h",
102 ] 107 ]
103 } 108 }
104 109
105 if (is_chromeos) { 110 if (is_chromeos) {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 jni_package = "device" 216 jni_package = "device"
212 } 217 }
213 218
214 android_library("java") { 219 android_library("java") {
215 java_files = java_sources_needing_jni 220 java_files = java_sources_needing_jni
216 deps = [ 221 deps = [
217 "//base:base_java", 222 "//base:base_java",
218 ] 223 ]
219 } 224 }
220 } 225 }
OLDNEW
« no previous file with comments | « no previous file | device/usb/usb_descriptors.h » ('j') | device/usb/usb_device_handle_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698