diff options
Diffstat (limited to 'chromium/components/usb_service.gypi')
-rw-r--r-- | chromium/components/usb_service.gypi | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/chromium/components/usb_service.gypi b/chromium/components/usb_service.gypi new file mode 100644 index 00000000000..33b38a6dd98 --- /dev/null +++ b/chromium/components/usb_service.gypi @@ -0,0 +1,47 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [{ + 'target_name': 'usb_service', + 'type': '<(component)', + 'dependencies': [ + '../base/base.gyp:base', + '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', + '../content/content.gyp:content_browser', + '../net/net.gyp:net', + '../third_party/libusb/libusb.gyp:libusb', + ], + 'defines': [ + 'USB_SERVICE_IMPLEMENTATION', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'usb_service/usb_context.cc', + 'usb_service/usb_context.h', + 'usb_service/usb_device_impl.cc', + 'usb_service/usb_device_impl.h', + 'usb_service/usb_device.h', + 'usb_service/usb_device_handle_impl.cc', + 'usb_service/usb_device_handle_impl.h', + 'usb_service/usb_device_handle.h', + 'usb_service/usb_error.cc', + 'usb_service/usb_error.h', + 'usb_service/usb_interface.h', + 'usb_service/usb_interface_impl.cc', + 'usb_service/usb_interface_impl.h', + 'usb_service/usb_service.h', + 'usb_service/usb_service_impl.cc', + ], + 'conditions': [ + ['OS == "linux"', { + 'dependencies': [ + '../build/linux/system.gyp:udev', + ], + }] + ] + }], +} |