mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
ndk-make-fast.sh: Do debug builds (#1506)
This commit is contained in:
parent
65e5583045
commit
472212e432
1 changed files with 8 additions and 8 deletions
|
@ -50,32 +50,32 @@ if test -z $1 || test $1 = armeabi-v7a; then
|
|||
echo "-- cross compiling to armv7-linux-androideabi (arm) --"
|
||||
export CFLAGS=-D__ANDROID_API__=16
|
||||
TARGET_CC=armv7a-linux-androideabi16-clang \
|
||||
cargo +`cat rust-toolchain` build --release --target armv7-linux-androideabi -p deltachat_ffi
|
||||
cp target/armv7-linux-androideabi/release/libdeltachat.a ../armeabi-v7a
|
||||
cargo +`cat rust-toolchain` build --target armv7-linux-androideabi -p deltachat_ffi
|
||||
cp target/armv7-linux-androideabi/debug/libdeltachat.a ../armeabi-v7a
|
||||
fi
|
||||
|
||||
if test -z $1 || test $1 = arm64-v8a; then
|
||||
echo "-- cross compiling to aarch64-linux-android (arm64) --"
|
||||
export CFLAGS=-D__ANDROID_API__=21
|
||||
TARGET_CC=aarch64-linux-android21-clang \
|
||||
cargo +`cat rust-toolchain` build --release --target aarch64-linux-android -p deltachat_ffi
|
||||
cp target/aarch64-linux-android/release/libdeltachat.a ../arm64-v8a
|
||||
cargo +`cat rust-toolchain` build --target aarch64-linux-android -p deltachat_ffi
|
||||
cp target/aarch64-linux-android/debug/libdeltachat.a ../arm64-v8a
|
||||
fi
|
||||
|
||||
if test -z $1 || test $1 = x86; then
|
||||
echo "-- cross compiling to i686-linux-android (x86) --"
|
||||
export CFLAGS=-D__ANDROID_API__=16
|
||||
TARGET_CC=i686-linux-android16-clang \
|
||||
cargo +`cat rust-toolchain` build --release --target i686-linux-android -p deltachat_ffi
|
||||
cp target/i686-linux-android/release/libdeltachat.a ../x86
|
||||
cargo +`cat rust-toolchain` build --target i686-linux-android -p deltachat_ffi
|
||||
cp target/i686-linux-android/debug/libdeltachat.a ../x86
|
||||
fi
|
||||
|
||||
if test -z $1 || test $1 = x86_64; then
|
||||
echo "-- cross compiling to x86_64-linux-android (x86_64) --"
|
||||
export CFLAGS=-D__ANDROID_API__=21
|
||||
TARGET_CC=x86_64-linux-android21-clang \
|
||||
cargo +`cat rust-toolchain` build --release --target x86_64-linux-android -p deltachat_ffi
|
||||
cp target/x86_64-linux-android/release/libdeltachat.a ../x86_64
|
||||
cargo +`cat rust-toolchain` build --target x86_64-linux-android -p deltachat_ffi
|
||||
cp target/x86_64-linux-android/debug/libdeltachat.a ../x86_64
|
||||
fi
|
||||
|
||||
echo -- ndk-build --
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue