summaryrefslogtreecommitdiffstats
path: root/o3d/installer/mac/installer.gyp
blob: 10435ce3bbec20a73dc29fd9c15bc8e97c4511f0 (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
# 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,
    'nppversion': '<!(python ../../plugin/version_info.py --commaversion)',
    'dotnppversion': '<!(python ../../plugin/version_info.py --version)',

    # We don't actually want the extras version to update by itself;
    # it should change only when we actually add something to the
    # installer or change the d3dx9 version.  This version is
    # therefore independent of the o3d plugin and sdk versions.
    'extrasversion': '0,1,1,0',
    'dotextrasversion': '0.1.1.0',
  },
  'includes': [
    '../../build/common.gypi',
  ],
  'targets': [
    {
      'target_name': 'installer',
      'type': 'none',
      'dependencies': [
        '../../converter/converter.gyp:o3dConverter',
        '../../breakpad/breakpad.gyp:reporter',
        '../../documentation/documentation.gyp:*',
        '../../plugin/plugin.gyp:npo3dautoplugin',
        '../../samples/samples.gyp:samples',
      ],
      'postbuilds': [
        {
          'variables': {
            'installer_script_path': './make_installer.sh',
          },
          'postbuild_name': 'Make Installer',
          'action': ['<(installer_script_path)', '<(dotnppversion)',],
        },
      ],
    },
    {
      'target_name': 'disk_image',
      'type': 'none',
      'dependencies': [
        'installer',
      ],
      'postbuilds': [
        {
          'variables': {
            'disk_image_script_path': './make_disk_image.sh',
          },
          'postbuild_name': 'Make Disk Image',
          'action': ['<(disk_image_script_path)', '<(dotnppversion)',],
        },
      ],
    },
  ],
}

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