summaryrefslogtreecommitdiffstats
path: root/cloud_print/virtual_driver/virtual_driver.gyp
blob: b7435ea760bf148b90e1b7518c441a505fda9ab3 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Copyright (c) 2011 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.

{
  'includes': [
    '../../build/common.gypi',
  ],
  'target_defaults': {
    'variables': {
      'chromium_code': 1,
      'version_py_path': '../../chrome/tools/build/version.py',
      'version_path': 'VERSION',
    },
    'include_dirs': [
      '../..',
    ],
    'libraries': [
      'userenv.lib',
    ],
    'sources': [
      'win/port_monitor/port_monitor.cc',
      'win/port_monitor/port_monitor.h',
      'win/port_monitor/port_monitor.def',
    ],
  },
  'conditions': [
    ['OS=="win"', {
      'targets' : [
      {
        'target_name': 'gcp_portmon',
        'type': 'loadable_module',
        'dependencies': [
          '../../base/base.gyp:base',
        ],
        'msvs_guid': 'ED3D7186-C94E-4D8B-A8E7-B7260F638F46',
      },
      {
        'target_name': 'gcp_portmon64',
        'type': 'loadable_module',
        'defines': [
          '<@(nacl_win64_defines)',
        ],
        'dependencies': [
          '../../base/base.gyp:base_nacl_win64',
        ],
        'msvs_guid': '9BB292F4-6104-495A-B415-C3E314F46D6F',
        'configurations': {
          'Common_Base': {
            'msvs_target_platform': 'x64',
          },
        },
      },
      {
        'target_name': 'virtual_driver_unittests',
        'type': 'executable',
        'msvs_guid': '97F82D29-58D8-4909-86C8-F2BBBCC4FEBF',
        'dependencies': [
          '../../base/base.gyp:base',
          '../../base/base.gyp:test_support_base',
          '../../testing/gmock.gyp:gmock',
          '../../testing/gtest.gyp:gtest',
        ],
        'sources': [
        # Infrastructure files.
          '../../base/test/run_all_unittests.cc',
          'win/port_monitor/port_monitor_unittest.cc'
        ],
      },
    ],
    },
  ],
  ]
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: