summaryrefslogtreecommitdiffstats
path: root/webkit/default_plugin/default_plugin.gyp
blob: 5339a3dff3431a952494629eafe807cfdeac6a53 (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
# 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,
   },
  'targets': [
    {
      'target_name': 'default_plugin',
      'type': '<(library)',
      'dependencies': [
        '../../net/net.gyp:net_resources',
        '../../third_party/icu/icu.gyp:icui18n',
        '../../third_party/icu/icu.gyp:icuuc',
        '../../third_party/libxml/libxml.gyp:libxml',
        '../../third_party/npapi/npapi.gyp:npapi',
        '../support/webkit_support.gyp:webkit_resources',
        '../support/webkit_support.gyp:webkit_strings',
      ],
      'include_dirs': [
        '../..',
        '<(DEPTH)/third_party/wtl/include',
        # TODO(bradnelson): this should fall out of the dependencies.
        '<(SHARED_INTERMEDIATE_DIR)/webkit',
      ],
      'sources': [
        'default_plugin_shared.h',
        'plugin_impl_gtk.cc',
        'plugin_impl_gtk.h',
        'plugin_impl_mac.h',
        'plugin_impl_mac.mm',
        'plugin_impl_win.cc',
        'plugin_impl_win.h',
        'plugin_main.cc',
        'plugin_main.h',
      ],
      'conditions': [
         ['OS=="win"', {
            'msvs_guid': '5916D37D-8C97-424F-A904-74E52594C2D6',
            'link_settings': {
              'libraries': ['-lurlmon.lib'],
            },
            'sources': [
              'default_plugin_resources.h',
              'install_dialog.cc',
              'install_dialog.h',
              'plugin_database_handler.cc',
              'plugin_database_handler.h',
              'plugin_install_job_monitor.cc',
              'plugin_install_job_monitor.h',
            ],
         }],
         ['OS=="linux"', {
            'dependencies': [
              '../../build/linux/system.gyp:gtk',
            ],
         }],
      ],
    },
  ],
}

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