The following diagram describes the "clean" build process of android-tools-static:
Here's a transcript of the process:
# Clone the repo and submodules at once.
# The boringssl submodule isn't technically needed (it is inherited from
# nmeum/android-tools), you do not have to clone it.
git clone --recurse-submodules https://github.com/meator/android-tools-static.git
cd android-tools-static
meson setup build
meson compile -C build
meson install -C buildandroid-tools-static applies custom configuration when building its prebuilt release artifacts. Most of these changes are contained in nativefiles/release_configuration*.ini