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

Side by Side Diff: device/usb/usb.gyp

Issue 1850023002: Consume Mojo services directly in Blink's WebUSB implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't do assignments in if statements. Created 4 years, 8 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'mojom_files': [
9 'public/interfaces/chooser_service.mojom',
10 'public/interfaces/device.mojom',
11 'public/interfaces/device_manager.mojom',
12 ],
8 }, 13 },
9 'targets': [ 14 'targets': [
10 { 15 {
11 'target_name': 'device_usb', 16 'target_name': 'device_usb',
12 'type': 'static_library', 17 'type': 'static_library',
13 'dependencies': [ 18 'dependencies': [
14 'device_usb_mojo_bindings', 19 'device_usb_mojo_bindings',
15 '../../components/components.gyp:device_event_log_component', 20 '../../components/components.gyp:device_event_log_component',
16 '../../net/net.gyp:net', 21 '../../net/net.gyp:net',
17 '../../third_party/libusb/libusb.gyp:libusb', 22 '../../third_party/libusb/libusb.gyp:libusb',
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 'sources!': [ 139 'sources!': [
135 'usb_device_handle_impl.cc', 140 'usb_device_handle_impl.cc',
136 'usb_device_handle_impl.h', 141 'usb_device_handle_impl.h',
137 ] 142 ]
138 }] 143 }]
139 ] 144 ]
140 }, 145 },
141 { 146 {
142 'target_name': 'device_usb_mojo_bindings', 147 'target_name': 'device_usb_mojo_bindings',
143 'type': 'static_library', 148 'type': 'static_library',
144 'sources': [ 149 'sources': [ '<@(mojom_files)' ],
145 'public/interfaces/chooser_service.mojom',
146 'public/interfaces/device.mojom',
147 'public/interfaces/device_manager.mojom',
148 ],
149 'includes': [ 150 'includes': [
150 '../../mojo/mojom_bindings_generator.gypi', 151 '../../mojo/mojom_bindings_generator.gypi',
151 ], 152 ],
153 },
154 {
155 'target_name': 'device_usb_mojo_bindings_for_blink',
156 'type': 'static_library',
157 'sources': [ '<@(mojom_files)' ],
158 'variables': {
159 'mojom_variant': 'wtf',
160 'for_blink': 'true',
161 },
162 'includes': [
163 '../../mojo/mojom_bindings_generator.gypi',
164 ],
152 }, 165 },
153 { 166 {
154 'target_name': 'device_usb_mocks', 167 'target_name': 'device_usb_mocks',
155 'type': 'static_library', 168 'type': 'static_library',
156 'include_dirs': [ 169 'include_dirs': [
157 '../..', 170 '../..',
158 ], 171 ],
159 'dependencies': [ 172 'dependencies': [
160 '../../testing/gmock.gyp:gmock', 173 '../../testing/gmock.gyp:gmock',
161 'device_usb', 174 'device_usb',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 'type': 'none', 218 'type': 'none',
206 'variables': { 219 'variables': {
207 'source_file': 'usb_descriptors.h', 220 'source_file': 'usb_descriptors.h',
208 }, 221 },
209 'includes': [ '../../build/android/java_cpp_enum.gypi' ], 222 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
210 }, 223 },
211 ], 224 ],
212 }], 225 }],
213 ], 226 ],
214 } 227 }
OLDNEW
« no previous file with comments | « device/usb/public/interfaces/BUILD.gn ('k') | third_party/WebKit/LayoutTests/usb/usbDevice.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698