| 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 { |
| 11 'target_name': 'device_usb', | 11 'target_name': 'device_usb', |
| 12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '../../components/components.gyp:device_event_log_component', | 14 '../../components/components.gyp:device_event_log_component', |
| 15 '../../net/net.gyp:net', | 15 '../../net/net.gyp:net', |
| 16 '../../third_party/libusb/libusb.gyp:libusb', | 16 '../../third_party/libusb/libusb.gyp:libusb', |
| 17 '../core/core.gyp:device_core', | 17 '../core/core.gyp:device_core', |
| 18 ], | 18 ], |
| 19 'include_dirs': [ | 19 'include_dirs': [ |
| 20 '../..', | 20 '../..', |
| 21 ], | 21 ], |
| 22 'sources': [ | 22 'sources': [ |
| 23 'android/usb_jni_registrar.cc', | 23 'android/usb_jni_registrar.cc', |
| 24 'android/usb_jni_registrar.h', | 24 'android/usb_jni_registrar.h', |
| 25 'mojo/device_impl.cc', |
| 26 'mojo/device_impl.h', |
| 27 'mojo/device_manager_impl.cc', |
| 28 'mojo/device_manager_impl.h', |
| 29 'mojo/type_converters.cc', |
| 30 'mojo/type_converters.h', |
| 25 'usb_configuration_android.cc', | 31 'usb_configuration_android.cc', |
| 26 'usb_configuration_android.h', | 32 'usb_configuration_android.h', |
| 27 'usb_context.cc', | 33 'usb_context.cc', |
| 28 'usb_context.h', | 34 'usb_context.h', |
| 29 'usb_descriptors.cc', | 35 'usb_descriptors.cc', |
| 30 'usb_descriptors.h', | 36 'usb_descriptors.h', |
| 31 'usb_device_impl.cc', | 37 'usb_device_impl.cc', |
| 32 'usb_device_impl.h', | 38 'usb_device_impl.h', |
| 33 'usb_device.cc', | 39 'usb_device.cc', |
| 34 'usb_device.h', | 40 'usb_device.h', |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 ] | 115 ] |
| 110 }], | 116 }], |
| 111 ['chromeos==1', { | 117 ['chromeos==1', { |
| 112 'dependencies': [ | 118 'dependencies': [ |
| 113 '../../chromeos/chromeos.gyp:chromeos', | 119 '../../chromeos/chromeos.gyp:chromeos', |
| 114 ], | 120 ], |
| 115 }], | 121 }], |
| 116 ] | 122 ] |
| 117 }, | 123 }, |
| 118 { | 124 { |
| 125 'target_name': 'device_usb_mojo_bindings', |
| 126 'type': 'static_library', |
| 127 'sources': [ |
| 128 'public/interfaces/device.mojom', |
| 129 'public/interfaces/device_manager.mojom', |
| 130 'public/interfaces/permission_provider.mojom', |
| 131 ], |
| 132 'includes': [ |
| 133 '../../mojo/mojom_bindings_generator.gypi', |
| 134 ], |
| 135 }, |
| 136 { |
| 119 'target_name': 'device_usb_mocks', | 137 'target_name': 'device_usb_mocks', |
| 120 'type': 'static_library', | 138 'type': 'static_library', |
| 121 'include_dirs': [ | 139 'include_dirs': [ |
| 122 '../..', | 140 '../..', |
| 123 ], | 141 ], |
| 124 'dependencies': [ | 142 'dependencies': [ |
| 125 '../../testing/gmock.gyp:gmock', | 143 '../../testing/gmock.gyp:gmock', |
| 126 'device_usb', | 144 'device_usb', |
| 127 ], | 145 ], |
| 128 'sources': [ | 146 'sources': [ |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 'type': 'none', | 188 'type': 'none', |
| 171 'variables': { | 189 'variables': { |
| 172 'source_file': 'usb_descriptors.h', | 190 'source_file': 'usb_descriptors.h', |
| 173 }, | 191 }, |
| 174 'includes': [ '../../build/android/java_cpp_enum.gypi' ], | 192 'includes': [ '../../build/android/java_cpp_enum.gypi' ], |
| 175 }, | 193 }, |
| 176 ], | 194 ], |
| 177 }], | 195 }], |
| 178 ], | 196 ], |
| 179 } | 197 } |
| OLD | NEW |