| 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 'device_usb_mojo_bindings_lib', |
| 14 '../../components/components.gyp:device_event_log_component', | 15 '../../components/components.gyp:device_event_log_component', |
| 15 '../../net/net.gyp:net', | 16 '../../net/net.gyp:net', |
| 16 '../../third_party/libusb/libusb.gyp:libusb', | 17 '../../third_party/libusb/libusb.gyp:libusb', |
| 18 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 17 ], | 19 ], |
| 18 'include_dirs': [ | 20 'include_dirs': [ |
| 19 '../..', | 21 '../..', |
| 20 ], | 22 ], |
| 21 'sources': [ | 23 'sources': [ |
| 24 'device_impl.cc', |
| 25 'device_impl.h', |
| 26 'device_manager_impl.cc', |
| 27 'device_manager_impl.h', |
| 28 # TODO(rockot/reillyg): Split out public sources into their own target |
| 29 # once all device/usb consumers have transitioned to the new public API. |
| 30 'public/cpp/device_manager_delegate.h', |
| 31 'public/cpp/device_manager_factory.h', |
| 32 'type_converters.cc', |
| 33 'type_converters.h', |
| 22 'usb_context.cc', | 34 'usb_context.cc', |
| 23 'usb_context.h', | 35 'usb_context.h', |
| 24 'usb_descriptors.cc', | 36 'usb_descriptors.cc', |
| 25 'usb_descriptors.h', | 37 'usb_descriptors.h', |
| 26 'usb_device_impl.cc', | 38 'usb_device_impl.cc', |
| 27 'usb_device_impl.h', | 39 'usb_device_impl.h', |
| 28 'usb_device.cc', | 40 'usb_device.cc', |
| 29 'usb_device.h', | 41 'usb_device.h', |
| 30 'usb_device_filter.cc', | 42 'usb_device_filter.cc', |
| 31 'usb_device_filter.h', | 43 'usb_device_filter.h', |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 ], | 83 ], |
| 72 }], | 84 }], |
| 73 ['chromeos==1', { | 85 ['chromeos==1', { |
| 74 'dependencies': [ | 86 'dependencies': [ |
| 75 '../../chromeos/chromeos.gyp:chromeos', | 87 '../../chromeos/chromeos.gyp:chromeos', |
| 76 ], | 88 ], |
| 77 }], | 89 }], |
| 78 ] | 90 ] |
| 79 }, | 91 }, |
| 80 { | 92 { |
| 93 'target_name': 'device_usb_mojo_bindings', |
| 94 'type': 'none', |
| 95 'variables': { |
| 96 'mojom_files': [ |
| 97 'public/interfaces/device.mojom', |
| 98 'public/interfaces/device_manager.mojom', |
| 99 ], |
| 100 }, |
| 101 'includes': [ |
| 102 '../../third_party/mojo/mojom_bindings_generator_explicit.gypi', |
| 103 ], |
| 104 }, |
| 105 { |
| 106 'target_name': 'device_usb_mojo_bindings_lib', |
| 107 'type': 'static_library', |
| 108 'dependencies': [ |
| 109 'device_usb_mojo_bindings', |
| 110 ], |
| 111 }, |
| 112 { |
| 81 'target_name': 'device_usb_mocks', | 113 'target_name': 'device_usb_mocks', |
| 82 'type': 'static_library', | 114 'type': 'static_library', |
| 83 'include_dirs': [ | 115 'include_dirs': [ |
| 84 '../..', | 116 '../..', |
| 85 ], | 117 ], |
| 86 'dependencies': [ | 118 'dependencies': [ |
| 87 '../../testing/gmock.gyp:gmock', | 119 '../../testing/gmock.gyp:gmock', |
| 88 'device_usb', | 120 'device_usb', |
| 89 ], | 121 ], |
| 90 'sources': [ | 122 'sources': [ |
| 91 'mock_usb_device.cc', | 123 'mock_usb_device.cc', |
| 92 'mock_usb_device.h', | 124 'mock_usb_device.h', |
| 93 'mock_usb_device_handle.cc', | 125 'mock_usb_device_handle.cc', |
| 94 'mock_usb_device_handle.h', | 126 'mock_usb_device_handle.h', |
| 95 'mock_usb_service.cc', | 127 'mock_usb_service.cc', |
| 96 'mock_usb_service.h', | 128 'mock_usb_service.h', |
| 97 ], | 129 ], |
| 98 }, | 130 }, |
| 99 ], | 131 ], |
| 100 } | 132 } |
| OLD | NEW |