summaryrefslogtreecommitdiffstats
path: root/chrome/installer/installer_tools.gyp
blob: 1f7474b42728bcdb1486ecefdd1332ad9f1bdc30 (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
{
  'variables': {
    'version_py': '<(DEPTH)/chrome/tools/build/version.py',
    'version_path': '<(DEPTH)/chrome/VERSION',
    'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
    # 'branding_dir' is set in the 'conditions' section at the bottom.
    'msvs_use_common_release': 0,
    'msvs_use_common_linker_extras': 0,
  },
  'conditions': [
    ['OS=="win"', {
      'targets': [
        {
          'target_name': 'validate_installation',
          'msvs_guid': '7CC08DA8-E9CA-4573-A8C4-E7F0D0CF8EBA',
          'type': 'executable',
          'dependencies': [
            '<(DEPTH)/chrome/chrome.gyp:common_constants',
            '<(DEPTH)/chrome/chrome.gyp:installer_util',
            '<(DEPTH)/chrome/chrome.gyp:installer_util_strings',
          ],
          'include_dirs': [
            '<(DEPTH)',
          ],
          'sources': [
            'tools/validate_installation_main.cc',
            'tools/validate_installation.rc',
            'tools/validate_installation_resource.h',
          ],
        },
      ],
    }],
    [ 'branding == "Chrome"', {
      'variables': {
         'branding_dir': '<(DEPTH)/chrome/app/theme/google_chrome',
      },
    }, { # else branding!="Chrome"
      'variables': {
         'branding_dir': '<(DEPTH)/chrome/app/theme/chromium',
      },
    }],
  ],
}

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