forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathopenssl.gyp
38 lines (38 loc) · 1.05 KB
/
openssl.gyp
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
{
'targets': [
{
'target_name': 'openssl',
'type': '<(library)',
'includes': ['./openssl_common.gypi'],
'defines': [
# Compile out hardware engines. Most are stubs that dynamically load
# the real driver but that poses a security liability when an attacker
# is able to create a malicious DLL in one of the default search paths.
'OPENSSL_NO_HW',
],
'conditions': [
[ 'openssl_no_asm==0', {
'includes': ['./openssl_asm.gypi'],
}, {
'includes': ['./openssl_no_asm.gypi'],
}],
],
'direct_dependent_settings': {
'include_dirs': [ 'openssl/include']
}
}, {
# openssl-cli target
'target_name': 'openssl-cli',
'type': 'executable',
'dependencies': ['openssl'],
'includes': ['./openssl_common.gypi'],
'conditions': [
['openssl_no_asm==0', {
'includes': ['./openssl-cl_asm.gypi'],
}, {
'includes': ['./openssl-cl_no_asm.gypi'],
}],
],
},
],
}