-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Android gradle build script with NDK cmake and prefab packaging (+ on device test script) #1041
base: master
Are you sure you want to change the base?
Conversation
and run tests on connected device via adb with :libsndfileTest (documentation still needed)
Cool, hey thanks. I have limited experience with Gradle, very little with Android dev, so I don't think I can review this. @SoapGentoo @evpobr ? Would you, @jg-hot , feel confident maintaining this build system? |
@arthurt Absolutely. I do feel comfortable with this build given that the tests are running and passing on:
If it would be helpful, I can provide the test output (I know not everyone has access to the environment / devices to run the tests). I would also be fine merging changes from this branch into my fork, running the tests, and updating anything if necessary (although breaking changes should be unlikely). I will probably migrate this build to eliminate the I also have an open PR for an Android build for libsamplerate and I'm working on |
Added an
android
subdirectory for building a prefab package and.aar
with the Android NDK and gradle build system.The build script supports building a ready-to-use android library (.aar) via:
cd android/ && gradle assembleRelease
Tests may be run on a connected device or emulator via:
cd android/ && gradle ndkTest
See the updated documentation in
Building-for-Android.md
for details.