@@ -76,7 +76,7 @@ const platformCompileConfig = {
7676 'armv7' : {
7777 outputPluginPath : 'Android/libs/armeabi-v7a/' ,
7878 hook : function ( CMAKE_BUILD_PATH , options , cmakeAddedLibraryName , cmakeDArgs ) {
79- const NDK = process . env . ANDROID_NDK || process . env . ANDROID_NDK_HOME || '~/android-ndk-r23c ' ;
79+ const NDK = process . env . ANDROID_NDK || process . env . ANDROID_NDK_HOME || '~/android-ndk-r27d ' ;
8080 const API = ( ( options . backend . indexOf ( 'node' ) !== - 1 ) || ( options . backend . indexOf ( 'python' ) !== - 1 ) || cmakeDArgs . indexOf ( 'V8_118_OR_NEWER' ) !== - 1 ) ? 'android-24' : ( options . backend . indexOf ( '10.6.194' ) !== - 1 ? 'android-23' : 'android-21' ) ;
8181 const ABI = 'armeabi-v7a' ;
8282 const TOOLCHAIN_NAME = 'arm-linux-androideabi-4.9' ;
@@ -103,7 +103,7 @@ const platformCompileConfig = {
103103 'arm64' : {
104104 outputPluginPath : 'Android/libs/arm64-v8a/' ,
105105 hook : function ( CMAKE_BUILD_PATH , options , cmakeAddedLibraryName , cmakeDArgs ) {
106- const NDK = process . env . ANDROID_NDK || process . env . ANDROID_NDK_HOME || '~/android-ndk-r21b ' ;
106+ const NDK = process . env . ANDROID_NDK || process . env . ANDROID_NDK_HOME || '~/android-ndk-r27d ' ;
107107 const API = ( ( options . backend . indexOf ( 'node' ) !== - 1 ) || ( options . backend . indexOf ( 'python' ) !== - 1 ) || cmakeDArgs . indexOf ( 'V8_118_OR_NEWER' ) !== - 1 ) ? 'android-24' : ( options . backend . indexOf ( '10.6.194' ) !== - 1 ? 'android-23' : 'android-21' ) ;
108108 const ABI = 'arm64-v8a' ;
109109 const TOOLCHAIN_NAME = 'arm-linux-androideabi-clang' ;
@@ -130,7 +130,7 @@ const platformCompileConfig = {
130130 'x64' : {
131131 outputPluginPath : 'Android/libs/x86_64/' ,
132132 hook : function ( CMAKE_BUILD_PATH , options , cmakeAddedLibraryName , cmakeDArgs ) {
133- const NDK = process . env . ANDROID_NDK || process . env . ANDROID_NDK_HOME || '~/android-ndk-r21b ' ;
133+ const NDK = process . env . ANDROID_NDK || process . env . ANDROID_NDK_HOME || '~/android-ndk-r27d ' ;
134134 const API = ( ( options . backend . indexOf ( 'node' ) !== - 1 ) || ( options . backend . indexOf ( 'python' ) !== - 1 ) || cmakeDArgs . indexOf ( 'V8_118_OR_NEWER' ) !== - 1 ) ? 'android-24' : ( options . backend . indexOf ( '10.6.194' ) !== - 1 ? 'android-23' : 'android-21' ) ;
135135 const ABI = 'x86_64' ;
136136 const TOOLCHAIN_NAME = 'x86_64-4.9' ;
0 commit comments