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 Katiarrow-up-right GNU Make clone tool and Ninjaarrow-up-right 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:

  1. *.so files: compiled shared objects

  2. *.jar files: java archives

  3. *.apk files: android apps

  4. as well as some other executables involved in the AOSP OS build

Last updated