summaryrefslogtreecommitdiffstats
path: root/ceee/ie/common/common.gyp
blob: 9c08789d8ed10926d2b367081539ad5567355437 (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Copyright (c) 2010 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',
  ],
  'targets': [
    {
      'target_name': 'ie_common_settings',
      'type': 'none',
      'direct_dependent_settings': {
        'defines': [
          # TODO(joi@chromium.org) Put into an include somewhere.
          '_WIN32_WINDOWS=0x0410',
          '_WIN32_IE=0x0600',
          '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS',
          '_ATL_STATIC_REGISTRY',
          '_WTL_NO_CSTRING',
        ],
        'include_dirs': [
          '../../../third_party/wtl/include',
        ],
      },
    },
    {
      'target_name': 'ie_guids',
      'type': 'static_library',
      'dependencies': [
        'ie_common_settings',
        '../plugin/toolband/toolband.gyp:toolband_idl',
        '<(DEPTH)/chrome_frame/chrome_frame.gyp:chrome_tab_idl',
      ],
      'sources': [
        'ie_guids.cc',
      ],
      'include_dirs': [
        '../../..',
        # For chrome_tab.h
        '<(SHARED_INTERMEDIATE_DIR)',
      ],
    },
    {
      'target_name': 'ie_common',
      'type': 'static_library',
      'dependencies': [
        'ie_common_settings',
        '../../../base/base.gyp:base',
        '../../../breakpad/breakpad.gyp:breakpad_handler',
        '../../../build/temp_gyp/googleurl.gyp:googleurl',
        '../../../net/net.gyp:net_base',
        '../../../ceee/common/common.gyp:initializing_coclass',
        '../../../ceee/common/common.gyp:ceee_common',
        '../../../ceee/testing/utils/test_utils.gyp:test_utils',
        '<(DEPTH)/chrome_frame/chrome_frame.gyp:chrome_tab_idl',
        '../plugin/toolband/toolband.gyp:toolband_idl',
      ],
      'sources': [
        'api_registration.h',
        'chrome_frame_host.cc',
        'chrome_frame_host.h',
        'constants.cc',
        'constants.h',
        'crash_reporter.cc',
        'crash_reporter.h',
        'extension_manifest.cc',
        'extension_manifest.h',
        'ie_tab_interfaces.cc',
        'ie_tab_interfaces.h',
        'ie_util.cc',
        'ie_util.h',
        'mock_ie_tab_interfaces.h',
        'precompile.cc',
        'precompile.h',
        'ceee_module_util.cc',
        'ceee_module_util.h',

        # TODO(joi@chromium.org) Refactor to use chrome/common library.
        '../../../chrome/browser/automation/extension_automation_constants.cc',
        '../../../chrome/browser/extensions/'
            'extension_bookmarks_module_constants.cc',
        '../../../chrome/browser/extensions/extension_event_names.cc',
        '../../../chrome/browser/extensions/'
            'extension_page_actions_module_constants.cc',
        '../../../chrome/browser/extensions/extension_cookies_api_constants.cc',
        '../../../chrome/browser/extensions/'
            'extension_infobar_module_constants.cc',
        '../../../chrome/browser/extensions/extension_tabs_module_constants.cc',
        '../../../chrome/browser/extensions/'
            'extension_webnavigation_api_constants.cc',
        '../../../chrome/browser/extensions/'
            'extension_webrequest_api_constants.cc',
        '../../../chrome/common/chrome_switches.cc',
        '../../../chrome/common/chrome_switches.h',
        '../../../chrome/common/url_constants.cc',
        '../../../chrome/common/url_constants.h',
        '../../../chrome/common/extensions/extension_constants.cc',
        '../../../chrome/common/extensions/extension_constants.h',
        '../../../chrome/common/extensions/extension_error_utils.cc',
        '../../../chrome/common/extensions/extension_error_utils.h',
        '../../../chrome/common/extensions/url_pattern.cc',
        '../../../chrome/common/extensions/url_pattern.h',
        '../../../chrome/common/extensions/user_script.cc',
        '../../../chrome/common/extensions/user_script.h',
      ],
      'include_dirs': [
        # For chrome_tab.h
        '<(SHARED_INTERMEDIATE_DIR)',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          # Because we use some of the chrome files above directly, we need
          # to specify thess include paths which they depend on.
          '../../../skia/config/win',
          '../../../third_party/skia/include/config',
        ],
      },
      'configurations': {
        'Debug': {
          'msvs_precompiled_source': 'precompile.cc',
          'msvs_precompiled_header': 'precompile.h',
        },
      },
    },
  ]
}