summaryrefslogtreecommitdiffstats
path: root/webkit/activex_shim_dll/activex_shim_dll.gyp
blob: 2b70f8454ca8fc2492bc5dc32b0bb64a657fd3cc (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 (c) 2009 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,
  },
  'includes': [
    '../../build/common.gypi',
  ],
  'conditions': [
    [ 'OS=="win"', {
      'targets': [
        {
          'target_name': 'activex_shim_dll',
          'type': 'shared_library',
          'dependencies': [
            '../../base/base.gyp:base',
            '../../third_party/npapi/npapi.gyp:npapi',
            '../activex_shim/activex_shim.gyp:activex_shim',
          ],
          'msvs_guid': '494E414B-1655-48CE-996D-6413ECFB7829',
          'msvs_settings': {
            'VCLinkerTool': {
              'RegisterOutput': 'false',
              'IgnoreImportLibrary': 'true',
              'OutputFile': '$(OutDir)/npaxshim.dll',
              'ModuleDefinitionFile': 'activex_shim_dll.def',
            },
          },
          'sources': [
            'activex_shim_dll.cc',
            'activex_shim_dll.def',
            'activex_shim_dll.rc',
            'resource.h',
          ],
          'link_settings': {
            'libraries': [
              '-lurlmon.lib',
            ],
          },
        },
      ],
    }],
  ],
}