ndkports : Adding Libsodium

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ndkports : Adding Libsodium

Sena Gbeckor-Kove
Hi,

Great work on the new ndkports functionality. I'm trying to add libsodium. Do you have any pointers as to what has to be added in the Port subclass and what, if anything is optional? Libsodium has Android build scripts for all the current ABI formats (Arm and X86) so it should be as simple as calling those scripts from the root directory in order and then packaging the resulting .so and .h files.

Many thanks in advance.
Sena

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/7837158c-727b-4200-bcd9-bf7f417cc8d3%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: ndkports : Adding Libsodium

Dan Albert
Sent a patch to add a bunch of docs to the Port class: https://android-review.googlesource.com/c/platform/tools/ndkports/+/1315396. Explains what each of the steps is for and what we expect in the install directory for packaging.

Looking at libsodium, you'll want to subclass Port directly, since it looks like you'll want to use the project's shell scripts for building. The existing openssl port file (https://android.googlesource.com/platform/tools/ndkports/+/refs/heads/master/ports/openssl/port.kts) will be the best example for that case.

On Tue, May 19, 2020, 08:54 Sena Gbeckor-Kove <[hidden email]> wrote:
Hi,

Great work on the new ndkports functionality. I'm trying to add libsodium. Do you have any pointers as to what has to be added in the Port subclass and what, if anything is optional? Libsodium has Android build scripts for all the current ABI formats (Arm and X86) so it should be as simple as calling those scripts from the root directory in order and then packaging the resulting .so and .h files.

Many thanks in advance.
Sena

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/7837158c-727b-4200-bcd9-bf7f417cc8d3%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFVaGhs_UB36x0CPMs1YtfU66w_kLdVK%2Byf80jbDGJuG4sG0%2Bw%40mail.gmail.com.