Reduce 'android-18' duplication, as originally done by wenderen

Use android.platform (and $ANDROID_PLATFORM) for configuration, apply 'android-18' default
This commit is contained in:
Mitchell Hentges 2016-05-20 22:23:28 +02:00
parent dea610986d
commit 619212abf3
7 changed files with 16 additions and 16 deletions

View file

@ -36,17 +36,9 @@
<condition property="sdk.dir" value="${env.ANDROID_HOME}">
<isset property="env.ANDROID_HOME" />
</condition>
<!-- The project.properties file is created and updated by the 'android'
tool, as well as ADT.
This contains project specific properties such as project target, and library
dependencies. Lower level build properties are stored in ant.properties
(or in .classpath for Eclipse projects).
This file is an integral part of the build system for your
application and should be checked into Version Control Systems. -->
<loadproperties srcFile="project.properties" />
<condition property="target" value="${env.ANDROID_PLATFORM}">
<isset property="env.ANDROID_PLATFORM" />
</condition>
<!-- quick check on sdk.dir -->
<fail

View file

@ -1,2 +1,2 @@
APP_ABI := armeabi
APP_PLATFORM := android-18
APP_PLATFORM := $(ANDROID_PLATFORM)

View file

@ -1 +0,0 @@
target=android-18