~oxide-developers/oxide/1.2

« back to all changes in this revision

Viewing changes to oxide/oxide_common.gyp

  • Committer: Chris Coulson
  • Date: 2013-07-23 11:40:24 UTC
  • Revision ID: chris.coulson@canonical.com-20130723114024-p7z00cs9p0s5te6e
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2013 Canonical Ltd.
 
2
 
 
3
# This library is free software; you can redistribute it and/or
 
4
# modify it under the terms of the GNU Lesser General Public
 
5
# License as published by the Free Software Foundation; either
 
6
# version 2.1 of the License, or (at your option) any later version.
 
7
 
 
8
# This library is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
11
# Lesser General Public License for more details.
 
12
 
 
13
# You should have received a copy of the GNU Lesser General Public
 
14
# License along with this library; if not, write to the Free Software
 
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
16
 
 
17
{
 
18
  'targets': [
 
19
    {
 
20
      'target_name': 'oxide_private_generated',
 
21
      'type': 'none',
 
22
      'all_dependent_settings': {
 
23
        'include_dirs': [
 
24
          '<(SHARED_INTERMEDIATE_DIR)/oxide'
 
25
        ]
 
26
      },
 
27
      'actions': [
 
28
        {
 
29
          'action_name': 'chrome_version_header',
 
30
          'inputs': [
 
31
            'common/chrome_version.h.in'
 
32
          ],
 
33
          'outputs': [
 
34
            '<(SHARED_INTERMEDIATE_DIR)/oxide/common/chrome_version.h'
 
35
          ],
 
36
          'action': [
 
37
            'python',
 
38
            '<(DEPTH)/chrome/tools/build/version.py',
 
39
            '-f', '<(DEPTH)/chrome/VERSION',
 
40
            '-i', '<@(_inputs)',
 
41
            '-o', '<@(_outputs)'
 
42
          ]
 
43
        }
 
44
      ]
 
45
    },
 
46
    {
 
47
      'target_name': 'oxide_private_common',
 
48
      'type': '<(component)',
 
49
      'all_dependent_settings': {
 
50
        'include_dirs': [
 
51
          '.',
 
52
          '<(DEPTH)'
 
53
        ],
 
54
        'variables': {
 
55
          'chromium_code': 1
 
56
        }
 
57
      },
 
58
      'defines': [
 
59
        'OXIDE_CORE_IMPLEMENTATION'
 
60
      ],
 
61
      'dependencies': [
 
62
        'oxide_private_generated',
 
63
        '<(DEPTH)/base/base.gyp:base',
 
64
        '<(DEPTH)/content/content.gyp:content_app',
 
65
        '<(DEPTH)/content/content.gyp:content_browser',
 
66
        '<(DEPTH)/content/content.gyp:content_common',
 
67
        '<(DEPTH)/net/net.gyp:net',
 
68
        '<(DEPTH)/skia/skia.gyp:skia',
 
69
        '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent'
 
70
      ],
 
71
      'include_dirs': [
 
72
        '.',
 
73
        '<(DEPTH)'
 
74
      ],
 
75
      'sources': [
 
76
        'browser/oxide_browser_context.cc',
 
77
        'browser/oxide_browser_context.h',
 
78
        'browser/oxide_browser_context_impl.cc',
 
79
        'browser/oxide_browser_context_impl.h',
 
80
        'browser/oxide_browser_main_parts.cc',
 
81
        'browser/oxide_browser_main_parts.h',
 
82
        'browser/oxide_browser_process_main.cc',
 
83
        'browser/oxide_browser_process_main.h',
 
84
        'browser/oxide_content_browser_client.cc',
 
85
        'browser/oxide_content_browser_client.h',
 
86
        'browser/oxide_http_user_agent_settings.cc',
 
87
        'browser/oxide_http_user_agent_settings.h',
 
88
        'browser/oxide_io_thread_delegate.cc',
 
89
        'browser/oxide_io_thread_delegate.h',
 
90
        'browser/oxide_message_pump.cc',
 
91
        'browser/oxide_message_pump.h',
 
92
        'browser/oxide_network_delegate.cc',
 
93
        'browser/oxide_network_delegate.h',
 
94
        'browser/oxide_off_the_record_browser_context_impl.cc',
 
95
        'browser/oxide_off_the_record_browser_context_impl.h',
 
96
        'browser/oxide_render_widget_host_view.cc',
 
97
        'browser/oxide_render_widget_host_view.h',
 
98
        'browser/oxide_ssl_config_service.cc',
 
99
        'browser/oxide_ssl_config_service.h',
 
100
        'browser/oxide_url_request_context.cc',
 
101
        'browser/oxide_url_request_context.h',
 
102
        'browser/oxide_web_contents_view.cc',
 
103
        'browser/oxide_web_contents_view.h',
 
104
        'browser/oxide_web_contents_view_delegate.h',
 
105
        'browser/oxide_web_view_host.cc',
 
106
        'browser/oxide_web_view_host.h',
 
107
        'common/oxide_constants.cc',
 
108
        'common/oxide_constants.h',
 
109
        'common/oxide_content_client.cc',
 
110
        'common/oxide_content_client.h',
 
111
        'common/oxide_content_main_delegate.cc',
 
112
        'common/oxide_content_main_delegate.h',
 
113
        'common/oxide_core_export.h',
 
114
        'public/browser/oxide_browser_process_handle.cc',
 
115
        'public/browser/oxide_browser_process_handle.h',
 
116
        'public/browser/oxide_global_settings.cc',
 
117
        'public/browser/oxide_global_settings.h',
 
118
        'public/common/oxide_export.h'
 
119
      ],
 
120
      'variables': {
 
121
        'chromium_code': 1
 
122
      }
 
123
    }
 
124
  ]
 
125
}