The Android NDK build system is based on the GNU make. The main purpose of the build system is to enable developers to describe native Android applications in a very short build-up, which also deals with a number of details such as specifying a tool chain, platform, CPU, and ABI for developers. Encapsulation The build process allows subsequent updates to the Android NDK to add more support for the toolchain, platform, and system interfaces without changing the build file.
The Android NDK build system is comprised of a variety of GNU makefile fragments. The build system includes the necessary fragments that are required for different types of NDK projects based on the rendering build process. These build system fragments can be found in the Build/core subdirectory of the Android NDK installer. While developers do not have direct access to these files, it is helpful to know where they are located for failures related to building systems.
In addition to these fragments, the Android NDK build system relies on two additional files: Android.mk and application.mk, two files that should be provided as part of the NDK project by the developer.
About ANDROID.MK
Android.mk
Introduction to the Android NDK build system