The NDK uses Clang as its C/C++ compiler and Binutils for linking, archiving, and object file manipulation. Binutils provides both BFD and gold for linking. LLVM’s LLD is also included for testing. AOSP uses LLD by default for most projects and the NDK is expected to move to it in the future.
Read moreWhat is CMake used for in Android?
The Android Native Development Kit (NDK): a set of tools that allows you to use C and C++ code with Android. CMake: the external build tool that used to compile and build your native codes .4 May 2019
Read moreHow do I create a NDK build?
Install the NDK and CMake
Read more