Allow Ant to use the existing NDK path variable inline

“ndk.dir” has to be manually set in the local.properties file
“android update project” only covers auto-import of the sdk
This commit is contained in:
TwistedUmbrella 2014-02-21 23:22:27 -05:00
parent faa14cdfec
commit 85367467d6
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@
<condition property="sdk.dir" value="${env.ANDROID_HOME}">
<isset property="env.ANDROID_HOME" />
</condition>
<condition property="ndk.dir" value="${env.ANDROID_NDK}">
<isset property="env.ANDROID_NDK" />
</condition>
<!-- The project.properties file is created and updated by the 'android'
tool, as well as ADT.