mini_installer_syzygy.gyp revision ca12bfac764ba476d6cd062bf1dde12cc64c3f40
1# Copyright (c) 2011 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4{
5  'variables': {
6    'version_py': '<(DEPTH)/chrome/tools/build/version.py',
7    'version_path': '<(DEPTH)/chrome/VERSION',
8    'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
9    # 'branding_dir' is set in the 'conditions' section at the bottom.
10    'msvs_use_common_release': 0,
11    'msvs_use_common_linker_extras': 0,
12  },
13  'includes': [
14    '../../build/win_precompile.gypi',
15  ],
16  'conditions': [
17    # This target won't build in fastbuild, since there are no PDBs. 
18    ['OS=="win" and fastbuild==0 and chrome_multiple_dll==0', {
19      'targets': [
20        {
21          'target_name': 'mini_installer_syzygy',
22          'type': 'executable',
23          'product_name': 'mini_installer',
24
25          'variables': {
26            'chrome_dll_project': '../chrome_syzygy.gyp:chrome_dll_syzygy',
27            'chrome_dll_path': '<(PRODUCT_DIR)/syzygy/chrome.dll',
28            'output_dir': '<(PRODUCT_DIR)/syzygy',
29          },
30          # Bulk of the build configuration comes from here.
31          'includes': [ 'mini_installer.gypi', ],
32        },
33      ],
34    },{
35      'targets': [],
36    }],
37    [ 'branding == "Chrome"', {
38      'variables': {
39         'branding_dir': '../app/theme/google_chrome',
40      },
41    }, {  # else branding!="Chrome"
42      'variables': {
43         'branding_dir': '../app/theme/chromium',
44      },
45    }],
46  ],
47}
48