Update parsing of dumpsys batterystats
[chromium-blink-merge.git] / components / usb_service.gypi
blob5f85452225d35d156983c23e05b4492d9c237fba
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.
6   'targets': [{
7     # GN version: //components/usb_service
8     'target_name': 'usb_service',
9     'type': '<(component)',
10     'dependencies': [
11       '../base/base.gyp:base',
12       '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
13       '../content/content.gyp:content_browser',
14       '../net/net.gyp:net',
15       '../third_party/libusb/libusb.gyp:libusb',
16     ],
17     'defines': [
18       'USB_SERVICE_IMPLEMENTATION',
19     ],
20     'include_dirs': [
21       '..',
22     ],
23     'sources': [
24       # Note: sources list duplicated in GN build.
25       'usb_service/usb_context.cc',
26       'usb_service/usb_context.h',
27       'usb_service/usb_device_impl.cc',
28       'usb_service/usb_device_impl.h',
29       'usb_service/usb_device.h',
30       'usb_service/usb_device_handle_impl.cc',
31       'usb_service/usb_device_handle_impl.h',
32       'usb_service/usb_device_handle.h',
33       'usb_service/usb_error.cc',
34       'usb_service/usb_error.h',
35       'usb_service/usb_interface.h',
36       'usb_service/usb_interface_impl.cc',
37       'usb_service/usb_interface_impl.h',
38       'usb_service/usb_service.h',
39       'usb_service/usb_service_impl.cc',
40     ],
41     'conditions': [
42       ['OS == "linux"', {
43         'dependencies': [
44           '../build/linux/system.gyp:udev',
45         ],
46       }],
47       ['chromeos==1', {
48         'dependencies': [
49           '../chromeos/chromeos.gyp:chromeos',
50         ],
51       }],
52     ]
53   }],