.. | ||
app | ||
build-scripts | ||
gradle/wrapper | ||
.gitignore | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
README.md | ||
settings.gradle |
Android test runner
It is meant to be an Android app that runs those fluidsynth tests under ../test
directory.
It is not immediately doable at this moment because everything is based on ctest where each source has main()
function that cannot be more than one within a shared library. Either every single test source file has to be compiled separately, or renaming main()
to something else and have separate runnable (latter is much simpler).
But so far this app makes sure that it loads libfluidsynth.so
without problem.
Building
It can be built and run from Android Studio (or gradle if you prefer).
You have to build fluidsynth for Android first, and then copy
libfluidsynth.so
and all the dependencies into app/src/main/jniLibs/{ABI}
(armeabi-v7a
/ arm64-v8a
/ x86
/ x86_64
).
If you want to build them locally the scripts under build-scripts
directory would be useful. Run download.sh
first, and then build-all-archs.sh
. The scripts are mostly taken from the build scripts from .azure
.