From d0e8ef2e22f0f8126760019d104b8858daf7cfa1 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 10 Dec 2019 17:45:42 +0100 Subject: android build --- taler-android-build/build-android-node | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 taler-android-build/build-android-node (limited to 'taler-android-build/build-android-node') diff --git a/taler-android-build/build-android-node b/taler-android-build/build-android-node new file mode 100755 index 0000000000..c9e5a41da5 --- /dev/null +++ b/taler-android-build/build-android-node @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# This script assumes that all the right environment variables +# (CC, LD, STRIP, ...) areset. + +set -eu -o pipefail + +scriptdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" +cd $scriptdir/.. + +export GYP_DEFINES="OS=android clang=1" + +function myconf() { + ./configure \ + --ninja \ + --cross-compiling \ + --dest-cpu=$DEST_CPU_ARCH \ + --dest-os=android \ + --without-intl \ + --openssl-no-asm \ + --without-bundled-v8 \ + --shared +} + +myconf && make -- cgit v1.2.3