| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'targets': [{ | 6 'targets': [{ |
| 7 # GN version: //components/usb_service |
| 7 'target_name': 'usb_service', | 8 'target_name': 'usb_service', |
| 8 'type': '<(component)', | 9 'type': '<(component)', |
| 9 'dependencies': [ | 10 'dependencies': [ |
| 10 '../base/base.gyp:base', | 11 '../base/base.gyp:base', |
| 11 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_a
nnotations', | 12 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_a
nnotations', |
| 12 '../content/content.gyp:content_browser', | 13 '../content/content.gyp:content_browser', |
| 13 '../net/net.gyp:net', | 14 '../net/net.gyp:net', |
| 14 '../third_party/libusb/libusb.gyp:libusb', | 15 '../third_party/libusb/libusb.gyp:libusb', |
| 15 ], | 16 ], |
| 16 'defines': [ | 17 'defines': [ |
| 17 'USB_SERVICE_IMPLEMENTATION', | 18 'USB_SERVICE_IMPLEMENTATION', |
| 18 ], | 19 ], |
| 19 'include_dirs': [ | 20 'include_dirs': [ |
| 20 '..', | 21 '..', |
| 21 ], | 22 ], |
| 22 'sources': [ | 23 'sources': [ |
| 24 # Note: sources list duplicated in GN build. |
| 23 'usb_service/usb_context.cc', | 25 'usb_service/usb_context.cc', |
| 24 'usb_service/usb_context.h', | 26 'usb_service/usb_context.h', |
| 25 'usb_service/usb_device_impl.cc', | 27 'usb_service/usb_device_impl.cc', |
| 26 'usb_service/usb_device_impl.h', | 28 'usb_service/usb_device_impl.h', |
| 27 'usb_service/usb_device.h', | 29 'usb_service/usb_device.h', |
| 28 'usb_service/usb_device_handle_impl.cc', | 30 'usb_service/usb_device_handle_impl.cc', |
| 29 'usb_service/usb_device_handle_impl.h', | 31 'usb_service/usb_device_handle_impl.h', |
| 30 'usb_service/usb_device_handle.h', | 32 'usb_service/usb_device_handle.h', |
| 31 'usb_service/usb_error.cc', | 33 'usb_service/usb_error.cc', |
| 32 'usb_service/usb_error.h', | 34 'usb_service/usb_error.h', |
| 33 'usb_service/usb_interface.h', | 35 'usb_service/usb_interface.h', |
| 34 'usb_service/usb_interface_impl.cc', | 36 'usb_service/usb_interface_impl.cc', |
| 35 'usb_service/usb_interface_impl.h', | 37 'usb_service/usb_interface_impl.h', |
| 36 'usb_service/usb_service.h', | 38 'usb_service/usb_service.h', |
| 37 'usb_service/usb_service_impl.cc', | 39 'usb_service/usb_service_impl.cc', |
| 38 ], | 40 ], |
| 39 'conditions': [ | 41 'conditions': [ |
| 40 ['OS == "linux"', { | 42 ['OS == "linux"', { |
| 41 'dependencies': [ | 43 'dependencies': [ |
| 42 '../build/linux/system.gyp:udev', | 44 '../build/linux/system.gyp:udev', |
| 43 ], | 45 ], |
| 44 }] | 46 }] |
| 45 ] | 47 ] |
| 46 }], | 48 }], |
| 47 } | 49 } |
| OLD | NEW |