mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #2552 from sigmabeta/android-ndk-update
Android: Allow compilation using Android NDK r10e.
This commit is contained in:
commit
cf7178b4c2
@ -29,7 +29,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Android CMake toolchain file, for use with the Android NDK r5-r10d
|
# Android CMake toolchain file, for use with the Android NDK r5-r10e
|
||||||
# Requires cmake 2.6.3 or newer (2.8.9 or newer is recommended).
|
# Requires cmake 2.6.3 or newer (2.8.9 or newer is recommended).
|
||||||
# See home page: https://github.com/taka-no-me/android-cmake
|
# See home page: https://github.com/taka-no-me/android-cmake
|
||||||
#
|
#
|
||||||
@ -216,7 +216,7 @@ set( CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "" )
|
|||||||
set( CMAKE_SKIP_RPATH TRUE CACHE BOOL "If set, runtime paths are not added when using shared libraries." )
|
set( CMAKE_SKIP_RPATH TRUE CACHE BOOL "If set, runtime paths are not added when using shared libraries." )
|
||||||
|
|
||||||
# NDK search paths
|
# NDK search paths
|
||||||
set( ANDROID_SUPPORTED_NDK_VERSIONS ${ANDROID_EXTRA_NDK_VERSIONS} -r10d -r10c -r10b -r10 -r9d -r9c -r9b -r9 -r8e -r8d -r8c -r8b -r8 -r7c -r7b -r7 -r6b -r6 -r5c -r5b -r5 "" )
|
set( ANDROID_SUPPORTED_NDK_VERSIONS ${ANDROID_EXTRA_NDK_VERSIONS} -r10e -r10d -r10c -r10b -r10 -r9d -r9c -r9b -r9 -r8e -r8d -r8c -r8b -r8 -r7c -r7b -r7 -r6b -r6 -r5c -r5b -r5 "" )
|
||||||
if( NOT DEFINED ANDROID_NDK_SEARCH_PATHS )
|
if( NOT DEFINED ANDROID_NDK_SEARCH_PATHS )
|
||||||
if( CMAKE_HOST_WIN32 )
|
if( CMAKE_HOST_WIN32 )
|
||||||
file( TO_CMAKE_PATH "$ENV{PROGRAMFILES}" ANDROID_NDK_SEARCH_PATHS )
|
file( TO_CMAKE_PATH "$ENV{PROGRAMFILES}" ANDROID_NDK_SEARCH_PATHS )
|
||||||
|
@ -171,7 +171,7 @@ String getNdkPath() {
|
|||||||
def stdout = new ByteArrayOutputStream()
|
def stdout = new ByteArrayOutputStream()
|
||||||
|
|
||||||
exec {
|
exec {
|
||||||
// ndk-build.cmd is a file unique to the root directory of android-ndk-r10d.
|
// ndk-build.cmd is a file unique to the root directory of android-ndk-r10e.
|
||||||
commandLine 'locate', 'ndk-build.cmd'
|
commandLine 'locate', 'ndk-build.cmd'
|
||||||
standardOutput = stdout
|
standardOutput = stdout
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user