Commit graph

34 commits

Author SHA1 Message Date
Darcy Wong
cd2d2b794b fix(android): Move cp from configure to build actions 2023-03-31 13:22:28 +07:00
Darcy Wong
ff6d5dbd44 chore(android): Update Android projects for Java 11 2023-03-29 09:46:27 +07:00
Darcy Wong
1a8d047ba1
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-13 11:13:14 +07:00
Darcy Wong
78adb337a1 refactor(android): Use builder_is_debug_build 2023-03-08 09:57:36 +07:00
Darcy Wong
55349e32cf fix(android): Have top level builder handle cleaning up upload 2023-03-03 13:21:16 +07:00
Darcy Wong
5be02f49a1 fix(oem/fv/android): Build output 2023-03-03 11:13:07 +07:00
Darcy Wong
6ab7068e0c
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-03 07:57:42 +07:00
Darcy Wong
5265058be1 refactor(android): Fix test actions 2023-03-02 11:18:56 +07:00
Darcy Wong
f70044029c fix(android): Configure path 2023-02-28 08:41:55 +07:00
Darcy Wong
576e1b1bfe refactor(oem/fv/android): Upgrade Gradle for final apk name 2023-02-27 11:46:27 +07:00
Darcy Wong
90b1bc82f2 fix(android): Include config in path to keyman-engine.aar 2023-02-27 11:42:24 +07:00
Darcy Wong
e1820013c6 fix(android): Fix output paths 2023-02-24 13:46:00 +07:00
Darcy Wong
7a1f80e70d fix(android): Update configure actions 2023-02-24 11:33:26 +07:00
Darcy Wong
da00510ca3 fix(android): Fix several scripts 2023-02-24 10:31:44 +07:00
Darcy Wong
2bb7443cc6 refactor(oem/fv/android): Update builder script 2023-02-23 16:33:30 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Darcy Wong
d85af16858 feat(oem/fv/android): Add keyboard and dictionary controls 2022-03-02 12:30:51 +07:00
Marc Durdin
5fac633fb6 fix(common): build script help param
When working on a new build script, I tripped over the `-?` question
mark help parameter here, as it needs to be escaped. Opted to fix all
the instances in our scripts, although AFAICT there would not have been
current bugs arising from this, as there were no conflicting one
character options lower in the case list.
2021-05-28 09:50:40 +10:00
Darcy Wong
8bb8fe4c92 feat(android/oem): Add nrc.str.sencoten to FV app
* Update FV build to download nrc.str.sencoten.model.kmp
* Update FV app to install the model
* Rebuild active keyboards list using keyboard info from kmp.json
2020-07-10 08:55:53 +07:00
Darcy Wong
ef11647b5a feat(android): Use build-download-resources.sh for KMApro and FV apps
Follow-on to #3300

* Update the FV Android app to use the same build script to download its default keyboard package. (fv_all.kmp)
    * This means downloading fv_all.kmp is the only valid option for the build (remove option to copy/rebuild keyboards)
* Reduce the number of exports in the Bash scripts
* Also removes sil_euro_latin.kmp since the app will fallback to fv_all/sil_euro_latin (in a future PR)
2020-07-08 14:03:02 +07:00
Darcy Wong
e5ae3d1d87 fix(oem): Address additional review comments 2020-05-01 08:16:43 +07:00
Darcy Wong
6b53667643 fix(oem,common): Update FirstVoices build_keyboards.sh script
Incorporate changes from #3040 into oem/firstvoices/common/build_keyboards.sh

I had to include sil_euro_latin.kmp because KMManager reverts to default package ID (sil_euro_latin) on KMW exceptions.

This will also need a keyboards build of fv_all.kmp (next version 12.2 should include touch keyboards)
2020-04-29 17:16:12 +07:00
Marc Durdin
ccf1db9336 Address review comments 2019-08-12 14:18:24 +10:00
Marc Durdin
13f7a1cca7 Update language names with Latin as well as Syllabics 2019-07-02 04:58:55 +10:00
Marc Durdin
fa8f834cf6 Remove old todo comment 2019-06-12 13:54:16 +10:00
Marc Durdin
ec858c3596 Rearrange build scripts for OEM to share keyboards build script 2019-06-12 13:52:17 +10:00
Marc Durdin
3ab5c05024 [Android] Update scripts to use /bin/bash instead of /bin/sh 2019-06-03 10:01:53 +10:00
Marc Durdin
cff409cb18 [Android] Make build scripts executable on POSIX 2019-06-03 09:58:55 +10:00
Marc Durdin
5da3c751ff [Android] remove temp -copy-keyboards flag 2019-05-27 10:43:33 +10:00
Marc Durdin
92fd5d945c [Android] Add FV app to build scripts 2019-05-27 09:32:58 +10:00
Marc Durdin
0506a88823 [Android] FirstVoices app now runs and installs/removes keyboards, basic administration working. Lots of cleanup to go. 2019-05-25 14:02:19 +10:00
Marc Durdin
abf1251cb4 [Android] FirstVoices app initial seed (builds) 2019-05-24 16:26:15 +10:00