commit | 67ca9a51d5f1b954ad98e6077465ccab093261d1 | [log] [tgz] |
---|---|---|
author | Prashanth Swaminathan <prashanthsw@google.com> | Fri Feb 23 05:06:39 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Feb 23 05:06:39 2024 +0000 |
tree | 72e099912b9a2ba6b031302cbf4b6167bca58c45 | |
parent | d8fd22a99242045d781d0636c5ee622ffe32a679 [diff] | |
parent | e414c188f1475f6b92341a0e9c02bab2b5e7cccb [diff] |
Upgrade OpenSSL port to 3.2.1 + riscv64 am: 5fde19b963 am: e414c188f1 Original change: https://android-review.googlesource.com/c/platform/tools/ndkports/+/2955934 Change-Id: Ic7056ad5b4b1891cf999064e8176721f5d7d1445 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
A collection of Android build scripts for various third-party libraries and the tooling to build them.
If you're an Android app developer looking to consume these libraries, this is probably not what you want. This project builds AARs to be published to Maven. You most likely want to use the AAR, not build it yourself.
Note: Gradle support for consuming these artifacts from an AAR is a work in progress.
Each third-party project is called a “port”. Ports consist of a description of where to fetch the source, apply any patches needed, build, install, and package the library into an AAR.
A port is a subclass of the abstract Kotlin class com.android.ndkports.Port
. Projects define the name and version of the port, the URL to fetch source from, a list of modules (libraries) to build, and the build steps.
See the Port class for documentation on the port API.
Individual port files are kept in ports/$name/port.kts
. For example, the cURL port is ports/curl/port.kts.
We recommend using the supplied scripts and Dockerfile for consistent builds.
To build a release for distribution to a Maven repo, scripts/build_release.sh
To build a snapshot, scripts/build_snapshot.sh
You can also pass custom gradle targets: scripts/build_snapshot.sh curl
The scripts use the standard ANDROID_NDK_ROOT
environment variable to locate the NDK. For example, ANDROID_NDK_ROOT=/path/to/ndk scripts/build_release.sh