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