OLD | NEW |
| (Empty) |
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 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'targets': [ | |
10 { | |
11 'target_name': 'device_core', | |
12 'type': '<(component)', | |
13 'include_dirs': [ | |
14 '../..', | |
15 ], | |
16 'defines': [ | |
17 'DEVICE_CORE_IMPLEMENTATION', | |
18 ], | |
19 'sources': [ | |
20 'device_client.cc', | |
21 'device_client.h', | |
22 'device_info_query_win.cc', | |
23 'device_info_query_win.h', | |
24 'device_monitor_win.cc', | |
25 'device_monitor_win.h', | |
26 ], | |
27 'dependencies': [ | |
28 '../../base/base.gyp:base', | |
29 ], | |
30 'conditions': [ | |
31 ['use_udev==1', { | |
32 'dependencies': [ | |
33 '../udev_linux/udev.gyp:udev_linux', | |
34 ], | |
35 'sources': [ | |
36 'device_monitor_linux.cc', | |
37 'device_monitor_linux.h', | |
38 ], | |
39 }], | |
40 ] | |
41 }, | |
42 { | |
43 'target_name': 'device_core_mocks', | |
44 'type': 'static_library', | |
45 'include_dirs': [ | |
46 '../..', | |
47 ], | |
48 'dependencies': [ | |
49 '../../testing/gmock.gyp:gmock', | |
50 'device_core', | |
51 ], | |
52 'sources': [ | |
53 'mock_device_client.cc', | |
54 'mock_device_client.h', | |
55 ], | |
56 }, | |
57 ], | |
58 } | |
OLD | NEW |