Fix broken path in extensions/common/PRESUBMIT.py
[chromium-blink-merge.git] / chrome / app_installer / app_installer.gypi
blobac382b56913dd2cb9fc63e00c3bf7c76b3bfad69
1 # Copyright 2014 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.
6   'conditions': [
7     ['OS=="win"', {
8       'targets': [
9         {
10           # GN version: //chrome/app_installer:util
11           'target_name': 'app_installer_util',
12           'type': 'static_library',
13           'dependencies': [
14             'common',
15             'installer_util',
16             'installer_util_strings',
17             'launcher_support',
18             'common_constants.gyp:common_constants',
19             '../base/base.gyp:base',
20             '../content/content.gyp:content_common',
21             '../net/net.gyp:net',
22             '../third_party/omaha/omaha.gyp:omaha_extractor',
23           ],
24           'include_dirs': [
25             '..',
26             '<(INTERMEDIATE_DIR)',
27           ],
28           'sources': [
29             'win/app_installer_util.cc',
30             'win/app_installer_util.h',
31           ],
32         },
33         # TODO(jackhou): Add a version resource (using
34         # version_resource_rules.gypi).
35         {
36           # GN version: //chrome/app_installer
37           'target_name': 'app_installer',
38           'type': 'executable',
39           'dependencies': [
40             'app_installer_util',
41             '../base/base.gyp:base',
42           ],
43           'include_dirs': [
44             '..',
45             '<(INTERMEDIATE_DIR)',
46           ],
47           'sources': [
48             'win/app_installer_main.cc',
49           ],
50           'msvs_settings': {
51             'VCLinkerTool': {
52               'SubSystem': '2',     # Set /SUBSYSTEM:WINDOWS
53             },
54             'VCManifestTool': {
55               'AdditionalManifestFiles': [
56                 'app_installer/win/app_installer.exe.manifest',
57               ],
58             },
59           },
60         },
61         {
62           # GN version: //chrome/installer/app_installer:app_installer_unittests
63           'target_name': 'app_installer_unittests',
64           'type': 'executable',
65           'dependencies': [
66             'app_installer_util',
67             '../base/base.gyp:base',
68             '../base/base.gyp:run_all_unittests',
69             '../net/net.gyp:net_test_support',
70             '../testing/gtest.gyp:gtest',
71           ],
72           'include_dirs': [
73             '..',
74             '<(INTERMEDIATE_DIR)',
75           ],
76           'sources': [
77             'win/app_installer_util_unittest.cc',
78           ],
79           'msvs_settings': {
80             'VCManifestTool': {
81               'AdditionalManifestFiles': [
82                 'app_installer/win/app_installer.exe.manifest',
83               ],
84             },
85           },
86         },
87       ],
88     }],
89   ],