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 3# found in the LICENSE file. 4 5{ 6 'targets': [{ 7 'target_name': 'usb_service', 8 'type': '<(component)', 9 'dependencies': [ 10 '../base/base.gyp:base', 11 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 12 '../content/content.gyp:content_browser', 13 '../net/net.gyp:net', 14 '../third_party/libusb/libusb.gyp:libusb', 15 ], 16 'defines': [ 17 'USB_SERVICE_IMPLEMENTATION', 18 ], 19 'include_dirs': [ 20 '..', 21 ], 22 'sources': [ 23 'usb_service/usb_context.cc', 24 'usb_service/usb_context.h', 25 'usb_service/usb_device_impl.cc', 26 'usb_service/usb_device_impl.h', 27 'usb_service/usb_device.h', 28 'usb_service/usb_device_handle_impl.cc', 29 'usb_service/usb_device_handle_impl.h', 30 'usb_service/usb_device_handle.h', 31 'usb_service/usb_error.cc', 32 'usb_service/usb_error.h', 33 'usb_service/usb_interface.h', 34 'usb_service/usb_interface_impl.cc', 35 'usb_service/usb_interface_impl.h', 36 'usb_service/usb_service.h', 37 'usb_service/usb_service_impl.cc', 38 ], 39 'conditions': [ 40 ['OS == "linux"', { 41 'dependencies': [ 42 '../build/linux/system.gyp:udev', 43 ], 44 }] 45 ] 46 }], 47} 48