summaryrefslogtreecommitdiffstats
path: root/webkit/activex_shim/activex_shim.gyp
blob: 7f08aafd0139a5be5156d9a7a3b33a6d709d3699 (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
# 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',
          'type': '<(library)',
          'msvs_guid': 'F4F4BCAA-EA59-445C-A119-3E6C29647A51',
          'dependencies': [
            '../../base/base.gyp:base',
            '../../third_party/npapi/npapi.gyp:npapi',
            '../../build/temp_gyp/googleurl.gyp:googleurl',
          ],
          'sources': [
            'activex_plugin.cc',
            'activex_plugin.h',
            'activex_shared.cc',
            'activex_shared.h',
            'activex_util.cc',
            'activex_util.h',
            'dispatch_object.cc',
            'dispatch_object.h',
            'ihtmldocument_impl.h',
            'iwebbrowser_impl.h',
            'npn_scripting.cc',
            'npn_scripting.h',
            'npp_impl.cc',
            'npp_impl.h',
            'README',
            'web_activex_container.cc',
            'web_activex_container.h',
            'web_activex_site.cc',
            'web_activex_site.h',
          ],
          # TODO(bradnelson): Add direct support for this kind of thing to gyp.
          'msvs_settings': {
            'VCLibrarianTool': {
              'AdditionalDependencies': 'urlmon.lib',
            },
          },
          'link_settings': {
            'libraries': [
              '-lurlmon.lib',
            ],
          },
        },
      ],
    }],
  ],
}