Member-only story
AOSP Build System
Android Build system is a part of the AOSP source code. How to download and build AOSP you can follow the below link.
- Android Build system used to compile the Android system, Android SDK and related package and documents.
- Android Build system mainly contains Make files, Shell scripts, and Python scripts. The most important one is Make files.
- From Android 6 (M, API 23) AOSP master platform builds with ninja instead of ofGNU make and in Android 7 (N, API 24, 25), ninja and Kati become default build system.
- The build/core makefiles and Android.mk files are read by Kati which will interpret them and write out a$OUT_DIR/build_$(TARGET_file, and then the execution of the build rules will be handled by ninja.