android: shasum pin barcode scanner
pins the barcode scanner aar used in the android build and its 2 dependencies to a sha256 hash using a script `fetch_barcode_scanner.sh` which is called in the process of building the apk by `make_apk.sh`. It fetches the 3 aar files if not already existing, puts them in `/contrib/android/aars` and verifies their shasum against the hardcoded hashes in `fetch_barcode_scanner.sh`.
This commit is contained in:
@@ -27,6 +27,10 @@ info "preparing electrum-locale."
|
||||
rm -r "$PROJECT_ROOT/electrum/locale/locale"/*/electrum.po
|
||||
)
|
||||
|
||||
# fetch barcode scanner aars
|
||||
info "fetching barcode scanner aars."
|
||||
"$CONTRIB_ANDROID"/fetch_barcode_scanner.sh || fail "fetch_barcode_scanner.sh failed"
|
||||
|
||||
pushd "$CONTRIB_ANDROID"
|
||||
|
||||
info "apk building phase starts."
|
||||
|
||||
Reference in New Issue
Block a user