Skip to content
Snippets Groups Projects
Commit 1906f213 authored by Adrien Béraud's avatar Adrien Béraud Committed by Alexandre Lision
Browse files

build: make swig once


Change-Id: Iff84f3554fd87087b2b2b2388d41cb2aa35c5488
Reviewed-by: default avatarAlexandre Lision <alexandre.lision@savoirfairelinux.com>
parent ee362b69
Branches
Tags
No related merge requests found
...@@ -217,9 +217,7 @@ export RING_SRC_DIR="${RING_SRC_DIR}" ...@@ -217,9 +217,7 @@ export RING_SRC_DIR="${RING_SRC_DIR}"
export RING_BUILD_DIR="${RING_BUILD_DIR}" export RING_BUILD_DIR="${RING_BUILD_DIR}"
mkdir -p build-android-${TARGET_TUPLE} mkdir -p build-android-${TARGET_TUPLE}
cd build-android-${TARGET_TUPLE}
cd ${ANDROID_APP_DIR} cd ${ANDROID_APP_DIR}
./make-swig.sh
if [ ! -f config.h ]; then if [ ! -f config.h ]; then
echo "Bootstraping" echo "Bootstraping"
......
...@@ -6,6 +6,10 @@ if [ -z "$ANDROID_ABI" ]; then ...@@ -6,6 +6,10 @@ if [ -z "$ANDROID_ABI" ]; then
echo "ANDROID_ABI not provided, building for ${ANDROID_ABI}" echo "ANDROID_ABI not provided, building for ${ANDROID_ABI}"
fi fi
pushd ring-android
./make-swig.sh
popd
ANDROID_ABIS="" ANDROID_ABIS=""
ANDROID_ABI_LIST="${ANDROID_ABI}" ANDROID_ABI_LIST="${ANDROID_ABI}"
echo "Building ABIs: ${ANDROID_ABI_LIST}" echo "Building ABIs: ${ANDROID_ABI_LIST}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment