forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchrome_installer_static.gypi
83 lines (82 loc) · 2.25 KB
/
chrome_installer_static.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
# Copyright 2016 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.
# The install_static_util target should only depend on functions in kernel32
# and advapi32. Please don't add dependencies on other system libraries.
{
'target_defaults': {
'variables': {
'installer_static_target': 0,
},
'target_conditions': [
# This part is shared between the two versions of the target.
['installer_static_target==1', {
'sources': [
'install_static/install_util.h',
'install_static/install_util.cc',
],
'include_dirs': [
'<(DEPTH)',
],
}],
],
},
'conditions': [
['OS=="win"', {
'targets': [
{
# GN version: //chrome/install_static
'target_name': 'install_static_util',
'type': 'static_library',
'variables': {
'installer_static_target': 1,
},
'dependencies': [
'installer_util_strings',
'<(DEPTH)/base/base.gyp:base',
],
'msvs_settings': {
'VCLinkerTool': {
# Please don't add dependencies on other system libraries.
'AdditionalDependencies': [
'kernel32.lib',
'advapi32.lib',
],
},
},
},
],
}],
['OS=="win" and target_arch=="ia32"', {
'targets': [
{
'target_name': 'install_static_util_nacl_win64',
'type': 'static_library',
'variables': {
'installer_static_target': 1,
},
'dependencies': [
'installer_util_strings',
],
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)',
],
'configurations': {
'Common_Base': {
'msvs_target_platform': 'x64',
},
},
'msvs_settings': {
'VCLinkerTool': {
# Please don't add dependencies on other system libraries.
'AdditionalDependencies': [
'kernel32.lib',
'advapi32.lib',
],
},
},
},
],
}],
],
}