mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Introjucer: updated Android builds to work with the latest SDK.
This commit is contained in:
parent
5edf41737e
commit
ecd91dc559
2 changed files with 0 additions and 17 deletions
|
|
@ -531,17 +531,6 @@ private:
|
|||
proj->createNewChildElement ("loadproperties")->setAttribute ("srcFile", "local.properties");
|
||||
proj->createNewChildElement ("loadproperties")->setAttribute ("srcFile", "project.properties");
|
||||
|
||||
XmlElement* path = proj->createNewChildElement ("path");
|
||||
path->setAttribute ("id", "android.antlibs");
|
||||
path->createNewChildElement ("pathelement")->setAttribute ("path", "${sdk.dir}/tools/lib/anttasks.jar");
|
||||
path->createNewChildElement ("pathelement")->setAttribute ("path", "${sdk.dir}/tools/lib/sdklib.jar");
|
||||
path->createNewChildElement ("pathelement")->setAttribute ("path", "${sdk.dir}/tools/lib/androidprefs.jar");
|
||||
|
||||
XmlElement* taskdef = proj->createNewChildElement ("taskdef");
|
||||
taskdef->setAttribute ("name", "setup");
|
||||
taskdef->setAttribute ("classname", "com.android.ant.SetupTask");
|
||||
taskdef->setAttribute ("classpathref", "android.antlibs");
|
||||
|
||||
{
|
||||
XmlElement* target = proj->createNewChildElement ("target");
|
||||
target->setAttribute ("name", "clean");
|
||||
|
|
|
|||
|
|
@ -3,12 +3,6 @@
|
|||
<project name="Juce Demo" default="debug">
|
||||
<loadproperties srcFile="local.properties"/>
|
||||
<loadproperties srcFile="project.properties"/>
|
||||
<path id="android.antlibs">
|
||||
<pathelement path="${sdk.dir}/tools/lib/anttasks.jar"/>
|
||||
<pathelement path="${sdk.dir}/tools/lib/sdklib.jar"/>
|
||||
<pathelement path="${sdk.dir}/tools/lib/androidprefs.jar"/>
|
||||
</path>
|
||||
<taskdef name="setup" classname="com.android.ant.SetupTask" classpathref="android.antlibs"/>
|
||||
<target name="clean">
|
||||
<exec executable="${ndk.dir}/ndk-build" dir="${basedir}" failonerror="true">
|
||||
<arg value="clean"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue