• Brad King's avatar
    Android: Use unified toolchain in NDK r19+ · 97bca2f9
    Brad King authored
    The NDK build system now uses only a single toolchain in
    
        <ndk>/toolchains/llvm/prebuilt/<host>
    
    Its compilers are always `bin/{clang,clang++}` and its binutils are
    always `bin/<triple>-*`.  It is a standalone toolchain:
    
    * The Anrdoid API level is specified at the end of `--target=`.
    * The standard library may be specified via `-stdlib=`.
    * No need to pass system includes or libraries explicitly.
    * No need to pass `--sysroot` or `-gcc-toolchain`.
    
    Teach CMake to recognize NDK versions that have a unified
    toolchain with its own sysroot and use the above approach.
    
    Fixes: #18739
    97bca2f9
Name
Last commit
Last update
..
sysinc Loading commit data...
BadSYSROOT-result.txt Loading commit data...
BadSYSROOT-stderr.txt Loading commit data...
BadSYSROOT.cmake Loading commit data...
CMakeLists.txt Loading commit data...
RunCMakeTest.cmake Loading commit data...
android.c Loading commit data...
android.cxx Loading commit data...
android.h Loading commit data...
android_lib.cxx Loading commit data...
android_sysinc.c Loading commit data...
android_sysinc.cxx Loading commit data...
check_binary.cmake Loading commit data...
common.cmake Loading commit data...
ndk-arm64-v8a-stdout.txt Loading commit data...
ndk-arm64-v8a.cmake Loading commit data...
ndk-armeabi-arm-stdout.txt Loading commit data...
ndk-armeabi-arm.cmake Loading commit data...
ndk-armeabi-thumb-stdout.txt Loading commit data...
ndk-armeabi-thumb.cmake Loading commit data...
ndk-armeabi-v7a-neon-stdout.txt Loading commit data...
ndk-armeabi-v7a-neon.cmake Loading commit data...
ndk-armeabi-v7a-stdout.txt Loading commit data...
ndk-armeabi-v7a.cmake Loading commit data...
ndk-badabi-result.txt Loading commit data...
ndk-badabi-stderr.txt Loading commit data...
ndk-badabi.cmake Loading commit data...
ndk-badarm-result.txt Loading commit data...
ndk-badarm-stderr.txt Loading commit data...
ndk-badarm.cmake Loading commit data...
ndk-badneon-result.txt Loading commit data...
ndk-badneon-stderr.txt Loading commit data...
ndk-badneon.cmake Loading commit data...
ndk-badstl-result.txt Loading commit data...
ndk-badstl-stderr.txt Loading commit data...
ndk-badstl.cmake Loading commit data...
ndk-badver-result.txt Loading commit data...
ndk-badver-stderr.txt Loading commit data...
ndk-badver.cmake Loading commit data...
ndk-badvernum-result.txt Loading commit data...
ndk-badvernum-stderr.txt Loading commit data...
ndk-badvernum.cmake Loading commit data...
ndk-mips-stdout.txt Loading commit data...
ndk-mips.cmake Loading commit data...
ndk-mips64-stdout.txt Loading commit data...
ndk-mips64.cmake Loading commit data...
ndk-sysroot-armeabi-stdout.txt Loading commit data...
ndk-sysroot-armeabi.cmake Loading commit data...
ndk-x86-stdout.txt Loading commit data...
ndk-x86.cmake Loading commit data...
ndk-x86_64-stdout.txt Loading commit data...
ndk-x86_64.cmake Loading commit data...
standalone-stdout.txt Loading commit data...
standalone-sysroot-stdout.txt Loading commit data...
standalone-sysroot.cmake Loading commit data...
standalone.cmake Loading commit data...