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 # GN version: //components/usb_service |
8 'target_name': 'usb_service', | 8 'target_name': 'usb_service', |
9 'type': '<(component)', | 9 'type': '<(component)', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 21 matching lines...) Expand all Loading... |
32 'usb_service/usb_device_handle.h', | 32 'usb_service/usb_device_handle.h', |
33 'usb_service/usb_error.cc', | 33 'usb_service/usb_error.cc', |
34 'usb_service/usb_error.h', | 34 'usb_service/usb_error.h', |
35 'usb_service/usb_interface.h', | 35 'usb_service/usb_interface.h', |
36 'usb_service/usb_interface_impl.cc', | 36 'usb_service/usb_interface_impl.cc', |
37 'usb_service/usb_interface_impl.h', | 37 'usb_service/usb_interface_impl.h', |
38 'usb_service/usb_service.h', | 38 'usb_service/usb_service.h', |
39 'usb_service/usb_service_impl.cc', | 39 'usb_service/usb_service_impl.cc', |
40 ], | 40 ], |
41 'conditions': [ | 41 'conditions': [ |
42 ['OS == "linux"', { | 42 ['use_udev == 1', { |
43 'dependencies': [ | 43 'dependencies': [ |
44 '../build/linux/system.gyp:udev', | 44 '../build/linux/system.gyp:udev', |
45 ], | 45 ], |
46 }], | 46 }], |
47 ['chromeos==1', { | 47 ['chromeos==1', { |
48 'dependencies': [ | 48 'dependencies': [ |
49 '../chromeos/chromeos.gyp:chromeos', | 49 '../chromeos/chromeos.gyp:chromeos', |
50 ], | 50 ], |
51 }], | 51 }], |
52 ] | 52 ] |
53 }], | 53 }], |
54 } | 54 } |
OLD | NEW |