1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 09:52:16 -05:00

Fix building with ant

This commit is contained in:
cketti 2014-04-01 02:49:14 +02:00
parent 49dbaf034c
commit 16ec0337d1

View File

@ -455,7 +455,21 @@
</if.contrib>
</target>
<target name="init" depends="-update-abs, -update-ptr, -update-cl, -update-hcp"
<target name="-update-opa">
<if.contrib>
<resourceexists>
<file file="plugins/openpgp-api-library/build.xml" />
</resourceexists>
<else>
<echo message="android update lib-project -p plugins/openpgp-api-library/" />
<exec executable="${sdk.dir}/tools/${android.executable}" failonerror="true">
<arg line="update lib-project -p plugins/openpgp-api-library/" />
</exec>
</else>
</if.contrib>
</target>
<target name="init" depends="-update-abs, -update-ptr, -update-cl, -update-hcp, -update-opa"
description="Initialize environment for building" />
<!-- overrides default "debug" target" -->