[Android] Update build script
This commit is contained in:
parent
edcf7e4a08
commit
a6167b5bb0
|
@ -9,16 +9,18 @@ cd /d %origdir%
|
||||||
set VersionName=
|
set VersionName=
|
||||||
if not "%1" == "" set VersionName= %1
|
if not "%1" == "" set VersionName= %1
|
||||||
|
|
||||||
set NDK-BUILDER=
|
set NDK-BUILDER=""
|
||||||
|
if exist "C:\Android\android-ndk-r10d\ndk-build.cmd" ( set NDK-BUILDER="C:\Android\android-ndk-r10d\ndk-build.cmd" )
|
||||||
if exist "C:\Android\android-ndk-r11c\ndk-build.cmd" ( set NDK-BUILDER="C:\Android\android-ndk-r11c\ndk-build.cmd" )
|
if exist "C:\Android\android-ndk-r11c\ndk-build.cmd" ( set NDK-BUILDER="C:\Android\android-ndk-r11c\ndk-build.cmd" )
|
||||||
|
if exist "D:\Android\android-ndk-r13b\ndk-build.cmd" ( set NDK-BUILDER="D:\Android\android-ndk-r13b\ndk-build.cmd" )
|
||||||
if %NDK-BUILDER% == "" (
|
if %NDK-BUILDER% == "" (
|
||||||
echo can not find android NDK
|
echo can not find android NDK
|
||||||
goto :EndErr
|
goto :EndErr
|
||||||
)
|
)
|
||||||
|
|
||||||
set ANDROID_SDK=
|
set ANDROID_SDK=""
|
||||||
if exist "C:\Android\android-sdk" ( set ANDROID_SDK="C:\Android\android-sdk" )
|
if exist "D:\Android\android-sdk" ( set ANDROID_SDK="D:\Android\android-sdk" )
|
||||||
if %NDK-BUILDER% == "" (
|
if %ANDROID_SDK% == "" (
|
||||||
echo can not find android SDK
|
echo can not find android SDK
|
||||||
goto :EndErr
|
goto :EndErr
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue