summaryrefslogtreecommitdiffstats
path: root/chrome/app_installer/app_installer.gypi
blob: f83df523ba6cf1e253922af42c24054a2e1468b1 (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
# Copyright 2014 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.

{
  'conditions': [
    ['OS=="win"', {
      'targets': [
        # TODO(jackhou): Add a version resource (using
        # version_resource_rules.gypi).
        {
          'target_name': 'app_installer',
          'type': 'executable',
          'dependencies': [
            'installer_util',
            'installer_util_strings',
            'launcher_support',
            'common_constants.gyp:common_constants',
            '../base/base.gyp:base',
            '../third_party/omaha/omaha.gyp:omaha_extractor',
          ],
          'include_dirs': [
            '..',
            '<(INTERMEDIATE_DIR)',
          ],
          'sources': [
            'win/app_installer_main.cc',
          ],
          'msvs_settings': {
            'VCLinkerTool': {
              'SubSystem': '2',     # Set /SUBSYSTEM:WINDOWS
            },
            'VCManifestTool': {
              'AdditionalManifestFiles': [
                'app_installer/win/app_installer.exe.manifest',
              ],
            },
          },
        },
      ],
    }],
  ],
}