Build macOS with sync by default
This commit is contained in:
parent
b8c5bafd24
commit
9833b8e490
|
@ -176,8 +176,7 @@ case "$TARGET" in
|
||||||
"node")
|
"node")
|
||||||
download_server
|
download_server
|
||||||
start_server
|
start_server
|
||||||
bash "$SRCROOT/scripts/download-core.sh"
|
npm install --build-from-source
|
||||||
npm install --build-from-source --realm_enable_sync
|
|
||||||
|
|
||||||
# Change to a temp directory.
|
# Change to a temp directory.
|
||||||
cd "$(mktemp -q -d -t realm.node.XXXXXX)"
|
cd "$(mktemp -q -d -t realm.node.XXXXXX)"
|
||||||
|
|
|
@ -1,8 +1,18 @@
|
||||||
{
|
{
|
||||||
"variables": {
|
"variables": {
|
||||||
"use_realm_debug": "<!(echo $REALMJS_USE_DEBUG_CORE)",
|
"use_realm_debug": "<!(echo $REALMJS_USE_DEBUG_CORE)"
|
||||||
"realm_enable_sync%": "0"
|
|
||||||
},
|
},
|
||||||
|
"conditions": [
|
||||||
|
["OS=='mac'", {
|
||||||
|
"variables": {
|
||||||
|
"realm_enable_sync%": "1"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"variables": {
|
||||||
|
"realm_enable_sync%": "0"
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
],
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"target_name": "realm-core",
|
"target_name": "realm-core",
|
||||||
|
@ -72,6 +82,14 @@
|
||||||
},
|
},
|
||||||
"target_name": "vendored-realm",
|
"target_name": "vendored-realm",
|
||||||
"type": "none",
|
"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": [
|
"conditions": [
|
||||||
["realm_enable_sync", {
|
["realm_enable_sync", {
|
||||||
"all_dependent_settings": {
|
"all_dependent_settings": {
|
||||||
|
@ -83,14 +101,7 @@
|
||||||
"include_dirs": [ "<(module_root_dir)/vendor/core-node/include" ],
|
"include_dirs": [ "<(module_root_dir)/vendor/core-node/include" ],
|
||||||
"library_dirs": [ "<(module_root_dir)/vendor/core-node" ]
|
"library_dirs": [ "<(module_root_dir)/vendor/core-node" ]
|
||||||
},
|
},
|
||||||
"actions": [
|
|
||||||
{
|
|
||||||
"action_name": "download-realm",
|
|
||||||
"inputs": [ ],
|
|
||||||
"outputs": [ "<(module_root_dir)/vendor/core-node" ],
|
|
||||||
"action": [ "<(module_root_dir)/scripts/download-core.sh", "node" ]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}]
|
}]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue