[Lldb-commits] [lldb] r227922 - added some missing ABIs

Chaoren Lin chaorenl at google.com
Mon Feb 2 17:51:10 PST 2015


Author: chaoren
Date: Mon Feb  2 19:51:10 2015
New Revision: 227922

URL: http://llvm.org/viewvc/llvm-project?rev=227922&view=rev
Log:
added some missing ABIs

Modified:
    lldb/trunk/cmake/platforms/Android.cmake

Modified: lldb/trunk/cmake/platforms/Android.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/platforms/Android.cmake?rev=227922&r1=227921&r2=227922&view=diff
==============================================================================
--- lldb/trunk/cmake/platforms/Android.cmake (original)
+++ lldb/trunk/cmake/platforms/Android.cmake Mon Feb  2 19:51:10 2015
@@ -45,6 +45,18 @@ if( ANDROID_ABI STREQUAL "x86" )
 elseif( ANDROID_ABI STREQUAL "x86_64" )
  set( CMAKE_SYSTEM_PROCESSOR "x86_64" )
  set( ANDROID_TOOLCHAIN_NAME "x86_64-linux-android" )
+elseif( ANDROID_ABI STREQUAL "armeabi" )
+ set( CMAKE_SYSTEM_PROCESSOR "armv5te" )
+ set( ANDROID_TOOLCHAIN_NAME "arm-linux-androideabi" )
+elseif( ANDROID_ABI STREQUAL "aarch64" )
+ set( CMAKE_SYSTEM_PROCESSOR "aarch64" )
+ set( ANDROID_TOOLCHAIN_NAME "aarch64-linux-android" )
+elseif( ANDROID_ABI STREQUAL "mips" )
+ set( CMAKE_SYSTEM_PROCESSOR "mips" )
+ set( ANDROID_TOOLCHAIN_NAME "mipsel-linux-android" )
+elseif( ANDROID_ABI STREQUAL "mips64" )
+ set( CMAKE_SYSTEM_PROCESSOR "mips64" )
+ set( ANDROID_TOOLCHAIN_NAME "mips64el-linux-android" )
 else()
  message( SEND_ERROR "Unknown ANDROID_ABI = \"${ANDROID_ABI}\"." )
 endif()
@@ -101,4 +113,4 @@ set( CMAKE_FIND_ROOT_PATH "${ANDROID_TOO
 # only search for libraries and includes in the ndk toolchain
 set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY )
 set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
-set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
\ No newline at end of file
+set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )





More information about the lldb-commits mailing list