~williamvds/taskwarrior-android-cli

6da9c522e46ca994006b0104dbd0e0762aed5528 — Konstantin Vorobyev 6 years ago 6bf49d3
Re-organize scripts
4 files changed, 21 insertions(+), 1 deletions(-)

A android-output/.gitignore
A scripts/build/build-emb-all.sh
R build-emb.sh => scripts/build/build-emb.sh
R clean-cmake.sh => scripts/build/clean-cmake.sh
A android-output/.gitignore => android-output/.gitignore +1 -0
@@ 0,0 1,1 @@
task*

A scripts/build/build-emb-all.sh => scripts/build/build-emb-all.sh +19 -0
@@ 0,0 1,19 @@
#!/bin/sh

rm -f android-output/task*

# arm7 before 16
scripts/build/clean-cmake.sh
scripts/build/build-emb.sh $1 armeabi-v7a 10 && cp src/task android-output/task_arm7

# x86 before 16
scripts/build/clean-cmake.sh
scripts/build/build-emb.sh $1 x86 10 && cp src/task android-output/task_x86

# arm7 16
scripts/build/clean-cmake.sh
scripts/build/build-emb.sh $1 armeabi-v7a 16 && cp src/task android-output/task_arm7_16

# x86 16
scripts/build/clean-cmake.sh
scripts/build/build-emb.sh $1 x86 16 && cp src/task android-output/task_x86_16

R build-emb.sh => scripts/build/build-emb.sh +1 -1
@@ 6,7 6,7 @@ cmake -DCMAKE_TOOLCHAIN_FILE=android-cmake/android.toolchain.cmake \
	-DANDROID_NDK=$1 \
	-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
	-DANDROID_ABI=$2 \
	-DANDROID_NATIVE_API_LEVEL="android-16" \
	-DANDROID_NATIVE_API_LEVEL="android-$3" \
	-DEMBEDDED_ANDROID=1 \
	.
cmake --build .

R clean-cmake.sh => scripts/build/clean-cmake.sh +0 -0