AOSP Build System
AOSP uses Soong Build System: https://source.android.com/docs/setup/build
The Soong build system was introduced in Android 7.0 (Nougat) to replace Make. It leverages the Kati GNU Make clone tool and Ninja build system component to speed up builds of Android.

Both *.bp files and *.mk files are converted to *.ninja files which are then used by Ninja Build System
Ninja Build System then parses all the file and then builds the required AOSP OS files which are as follows:
*.so files: compiled shared objects
*.jar files: java archives
*.apk files: android apps
as well as some other executables involved in the AOSP OS build
Last updated