OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2016 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. | |
4 | |
5 # The install_static_util target should only depend on functions in kernel32 | |
6 # and advapi32. Please don't add dependencies on other system libraries. | |
7 { | |
8 'target_defaults': { | |
9 'variables': { | |
10 'installer_static_target': 0, | |
11 }, | |
12 'target_conditions': [ | |
13 # This part is shared between the two versions of the target. | |
14 ['installer_static_target==1', { | |
15 'sources': [ | |
16 'install_static/install_util.h', | |
17 'install_static/install_util.cc', | |
18 ], | |
19 'include_dirs': [ | |
20 '<(DEPTH)', | |
21 ], | |
22 }], | |
23 ], | |
24 }, | |
25 'conditions': [ | |
26 ['OS=="win"', { | |
27 'targets': [ | |
28 { | |
29 # GN version: //chrome/install_static | |
30 'target_name': 'install_static_util', | |
31 'type': 'static_library', | |
32 'variables': { | |
33 'installer_static_target': 1, | |
34 }, | |
35 'dependencies': [ | |
36 'installer_util_strings', | |
37 '<(DEPTH)/base/base.gyp:base', | |
38 ], | |
39 'msvs_settings': { | |
40 'VCLinkerTool': { | |
41 # Please don't add dependencies on other system librar ies. | |
robertshield
2016/04/21 00:18:30
nit: indent
ananta
2016/04/21 00:33:47
Done.
| |
42 'AdditionalDependencies': [ | |
43 'kernel32.lib', | |
44 'advapi32.lib', | |
45 ], | |
46 }, | |
47 }, | |
robertshield
2016/04/21 00:18:31
indent
ananta
2016/04/21 00:33:46
Done.
| |
48 }, | |
49 ], | |
50 }], | |
51 ['OS=="win" and target_arch=="ia32"', { | |
52 'targets': [ | |
53 { | |
54 'target_name': 'install_static_util_nacl_win64', | |
55 'type': 'static_library', | |
56 'variables': { | |
57 'installer_static_target': 1, | |
58 }, | |
59 'dependencies': [ | |
60 'installer_util_strings', | |
61 ], | |
62 'include_dirs': [ | |
63 '<(SHARED_INTERMEDIATE_DIR)', | |
64 ], | |
65 'configurations': { | |
66 'Common_Base': { | |
67 'msvs_target_platform': 'x64', | |
68 }, | |
69 }, | |
70 'msvs_settings': { | |
71 'VCLinkerTool': { | |
72 # Please don't add dependencies on other system librar ies. | |
robertshield
2016/04/21 00:18:31
indent
ananta
2016/04/21 00:33:47
Done.
| |
73 'AdditionalDependencies': [ | |
74 'kernel32.lib', | |
75 'advapi32.lib', | |
76 ], | |
77 }, | |
78 }, | |
robertshield
2016/04/21 00:18:30
indent
ananta
2016/04/21 00:33:47
Done.
| |
79 }, | |
80 ], | |
81 }], | |
82 ], | |
83 } | |
OLD | NEW |