| OLD | NEW |
| 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 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 ], | 96 ], |
| 97 }], | 97 }], |
| 98 ['OS=="android"', { | 98 ['OS=="android"', { |
| 99 'dependencies': [ | 99 'dependencies': [ |
| 100 'device_usb_java', | 100 'device_usb_java', |
| 101 'device_usb_jni_headers', | 101 'device_usb_jni_headers', |
| 102 ], | 102 ], |
| 103 'dependencies!': [ | 103 'dependencies!': [ |
| 104 '../../third_party/libusb/libusb.gyp:libusb', | 104 '../../third_party/libusb/libusb.gyp:libusb', |
| 105 ], | 105 ], |
| 106 'sources': [ | |
| 107 'usb_device_handle_usbfs.cc', | |
| 108 'usb_device_handle_usbfs.h', | |
| 109 ], | |
| 110 # These sources are libusb-specific. | 106 # These sources are libusb-specific. |
| 111 'sources!': [ | 107 'sources!': [ |
| 112 'usb_context.cc', | 108 'usb_context.cc', |
| 113 'usb_context.h', | 109 'usb_context.h', |
| 114 'usb_device_handle_impl.cc', | 110 'usb_device_handle_impl.cc', |
| 115 'usb_device_handle_impl.h', | 111 'usb_device_handle_impl.h', |
| 116 'usb_device_impl.cc', | 112 'usb_device_impl.cc', |
| 117 'usb_device_impl.h', | 113 'usb_device_impl.h', |
| 118 'usb_error.cc', | 114 'usb_error.cc', |
| 119 'usb_error.h', | 115 'usb_error.h', |
| 120 'usb_service_impl.cc', | 116 'usb_service_impl.cc', |
| 121 'usb_service_impl.h', | 117 'usb_service_impl.h', |
| 122 ] | 118 ] |
| 123 }], | 119 }], |
| 124 ['chromeos==1', { | 120 ['chromeos==1', { |
| 125 'dependencies': [ | 121 'dependencies': [ |
| 126 '../../chromeos/chromeos.gyp:chromeos', | 122 '../../chromeos/chromeos.gyp:chromeos', |
| 127 ], | 123 ], |
| 128 }], | 124 }], |
| 129 ['OS=="linux"', { | |
| 130 'sources': [ | |
| 131 'usb_device_handle_usbfs.cc', | |
| 132 'usb_device_handle_usbfs.h', | |
| 133 ], | |
| 134 'sources!': [ | |
| 135 'usb_device_handle_impl.cc', | |
| 136 'usb_device_handle_impl.h', | |
| 137 ] | |
| 138 }] | |
| 139 ] | 125 ] |
| 140 }, | 126 }, |
| 141 { | 127 { |
| 142 'target_name': 'device_usb_mojo_bindings', | 128 'target_name': 'device_usb_mojo_bindings', |
| 143 'type': 'static_library', | 129 'type': 'static_library', |
| 144 'sources': [ | 130 'sources': [ |
| 145 'public/interfaces/chooser_service.mojom', | 131 'public/interfaces/chooser_service.mojom', |
| 146 'public/interfaces/device.mojom', | 132 'public/interfaces/device.mojom', |
| 147 'public/interfaces/device_manager.mojom', | 133 'public/interfaces/device_manager.mojom', |
| 148 ], | 134 ], |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 'type': 'none', | 191 'type': 'none', |
| 206 'variables': { | 192 'variables': { |
| 207 'source_file': 'usb_descriptors.h', | 193 'source_file': 'usb_descriptors.h', |
| 208 }, | 194 }, |
| 209 'includes': [ '../../build/android/java_cpp_enum.gypi' ], | 195 'includes': [ '../../build/android/java_cpp_enum.gypi' ], |
| 210 }, | 196 }, |
| 211 ], | 197 ], |
| 212 }], | 198 }], |
| 213 ], | 199 ], |
| 214 } | 200 } |
| OLD | NEW |