mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-12 21:52:25 +00:00
daa037b0d3
This set of changes implements audio drivers for Android, OpenSLES and Oboe. The changes in the original sources are kept minimal so that it should be easily maintained.
16 lines
432 B
Bash
Executable file
16 lines
432 B
Bash
Executable file
PWD=`pwd`
|
|
|
|
ABIS="x86 x86_64 armeabi-v7a arm64-v8a"
|
|
|
|
HOST_OS=`uname | tr [:upper:] [:lower:]`
|
|
|
|
ANDROID_NDK_PATH=~/android-sdk-$HOST_OS/ndk-bundle
|
|
CMAKEFILE=$ANDROID_NDK_PATH/build/cmake/android.toolchain.cmake
|
|
|
|
for A_ABI in $ABIS ; do
|
|
mkdir -p build/$A_ABI && \
|
|
cd build/$A_ABI && \
|
|
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKEFILE -DANDROID_PLATFORM=android-27 -DANDROID_ABI=$A_ABI ../.. && \
|
|
make &&
|
|
cd ../.. ;
|
|
done
|