mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-24 08:37:42 +00:00
fix(android): Require RELEASE_OEM env vars to build FirstVoices Android
This commit is contained in:
parent
e545a3578b
commit
157b7bb54b
1 changed files with 19 additions and 1 deletions
|
|
@ -2,6 +2,11 @@
|
|||
#
|
||||
# Build Keyman Engine for Android, Keyman for Android, OEM FirstVoices Android app,
|
||||
# Samples: KMsample1 and KMSample2, Test - KeyboardHarness
|
||||
#
|
||||
# OEM FirstVoices Android app requires the following env vars set:
|
||||
# RELEASE_OEM should be set
|
||||
# RELEASE_OEM_FIRSTVOICES should be true
|
||||
|
||||
## START STANDARD BUILD SCRIPT INCLUDE
|
||||
# adjust relative paths as necessary
|
||||
THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
|
||||
|
|
@ -12,6 +17,19 @@ THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
|
|||
|
||||
################################ Main script ################################
|
||||
|
||||
#
|
||||
# Restrict available OEM publish targets to those that can be built on the current system
|
||||
#
|
||||
|
||||
oemtargets=()
|
||||
if [ ! -z "${RELEASE_OEM+x}" ]; then
|
||||
if [ "${RELEASE_OEM_FIRSTVOICES}" = true ]; then
|
||||
oemtargets+=(":fv=../oem/firstvoices/android OEM FirstVoices for Android app")
|
||||
fi
|
||||
fi
|
||||
|
||||
builder_warn "oemtargets: ${oemtargets[@]}"
|
||||
|
||||
builder_describe \
|
||||
"Build Keyman Engine for Android, Keyman for Android, and FirstVoices Android app." \
|
||||
"@/resources/tools/check-markdown test:help" \
|
||||
|
|
@ -28,7 +46,7 @@ builder_describe \
|
|||
":sample1=Samples/KMSample1 Sample app: KMSample1" \
|
||||
":sample2=Samples/KMSample2 Sample app: KMSample2" \
|
||||
":keyboardharness=Tests/KeyboardHarness Test app: KeyboardHarness" \
|
||||
":fv=../oem/firstvoices/android OEM FirstVoices for Android app"
|
||||
"${oemtargets[@]}" \
|
||||
|
||||
builder_parse "$@"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue