summaryrefslogtreecommitdiffstats
path: root/device/core/core.gyp
blob: 19754cbe23e5f565dadfb6a2511e06464b34e165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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.

{
  'variables': {
    'chromium_code': 1,
  },
  'targets': [
    {
      'target_name': 'device_core',
      'type': '<(component)',
      'include_dirs': [
        '../..',
      ],
      'defines': [
        'DEVICE_CORE_IMPLEMENTATION',
      ],
      'sources': [
        'device_client.cc',
        'device_client.h',
        'device_info_query_win.cc',
        'device_info_query_win.h',
        'device_monitor_win.cc',
        'device_monitor_win.h',
      ],
      'dependencies': [
        '../../base/base.gyp:base',
      ]
    },
    {
      'target_name': 'device_core_mocks',
      'type': 'static_library',
      'include_dirs': [
        '../..',
      ],
      'dependencies': [
        '../../testing/gmock.gyp:gmock',
        'device_core',
      ],
      'sources': [
        'mock_device_client.cc',
        'mock_device_client.h',
      ],
    },
  ],
}