mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
Add variable to enable skipping the download
This commit is contained in:
parent
900827d72f
commit
e268cfef58
@ -1,6 +1,7 @@
|
||||
{
|
||||
"variables": {
|
||||
"realm_node_build_as_library%": "0"
|
||||
"realm_node_build_as_library%": "0",
|
||||
"realm_download_binaries%": "1"
|
||||
},
|
||||
"includes": [
|
||||
"src/node/gyp/target_defaults.gypi",
|
||||
|
@ -82,14 +82,6 @@
|
||||
},
|
||||
"target_name": "vendored-realm",
|
||||
"type": "none",
|
||||
"actions": [
|
||||
{
|
||||
"action_name": "download-realm",
|
||||
"inputs": [ ],
|
||||
"outputs": [ "<(module_root_dir)/vendor/core-node" ],
|
||||
"action": [ "<(module_root_dir)/scripts/download-core.sh", "node" ]
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
["realm_enable_sync", {
|
||||
"all_dependent_settings": {
|
||||
@ -102,9 +94,18 @@
|
||||
"library_dirs": [ "<(module_root_dir)/vendor/core-node" ]
|
||||
},
|
||||
|
||||
}],
|
||||
["realm_download_binaries", {
|
||||
"actions": [
|
||||
{
|
||||
"action_name": "download-realm",
|
||||
"inputs": [ ],
|
||||
"outputs": [ "<(module_root_dir)/vendor/core-node" ],
|
||||
"action": [ "<(module_root_dir)/scripts/download-core.sh", "node", "<(realm_enable_sync)" ]
|
||||
}
|
||||
]
|
||||
}]
|
||||
]
|
||||
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user