forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp_installer.gypi
87 lines (86 loc) · 2.45 KB
/
app_installer.gypi
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# 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': [
{
'target_name': 'app_installer_util',
'type': 'static_library',
'dependencies': [
'common',
'installer_util',
'installer_util_strings',
'launcher_support',
'common_constants.gyp:common_constants',
'../base/base.gyp:base',
'../content/content.gyp:content_common',
'../net/net.gyp:net',
'../third_party/omaha/omaha.gyp:omaha_extractor',
],
'include_dirs': [
'..',
'<(INTERMEDIATE_DIR)',
],
'sources': [
'win/app_installer_util.cc',
'win/app_installer_util.h',
],
},
# TODO(jackhou): Add a version resource (using
# version_resource_rules.gypi).
{
'target_name': 'app_installer',
'type': 'executable',
'dependencies': [
'app_installer_util',
'../base/base.gyp:base',
],
'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',
],
},
},
},
{
'target_name': 'app_installer_unittests',
'type': 'executable',
'dependencies': [
'app_installer_util',
'../base/base.gyp:base',
'../base/base.gyp:run_all_unittests',
'../net/net.gyp:net_test_support',
'../testing/gtest.gyp:gtest',
],
'include_dirs': [
'..',
'<(INTERMEDIATE_DIR)',
],
'sources': [
'win/app_installer_util_unittest.cc',
],
'msvs_settings': {
'VCManifestTool': {
'AdditionalManifestFiles': [
'app_installer/win/app_installer.exe.manifest',
],
},
},
},
],
}],
],
}