forked from nodegit/nodegit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibssh2.gyp
More file actions
38 lines (37 loc) · 1.01 KB
/
libssh2.gyp
File metadata and controls
38 lines (37 loc) · 1.01 KB
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
{
"variables": {
"is_electron%": "<!(node ../utils/isBuildingForElectron.js <(node_root_dir))",
"macOS_deployment_target": "10.11"
},
"targets": [
{
"target_name": "acquireOpenSSL",
"type": "none",
"conditions": [
["<(is_electron) == 1 and <!(node -p \"process.env.npm_config_openssl_dir ? 0 : 1\")", {
"actions": [{
"action_name": "acquire",
"action": ["node", "../utils/acquireOpenSSL.mjs", "<(macOS_deployment_target)"],
"inputs": [""],
"outputs": ["./openssl"],
"message": "Acquiring OpenSSL binaries and headers"
}]
}]
]
},
{
"target_name": "configureLibssh2",
"type": "none",
"actions": [{
"action_name": "configure",
"action": ["node", "../utils/configureLibssh2.js"],
"inputs": [""],
"outputs": [""],
"message": "Confioguring libssh2"
}],
"dependencies": [
"acquireOpenSSL"
]
}
]
}