mirror of
https://github.com/libretro/RetroArch.git
synced 2024-10-07 22:33:27 +00:00
(Android) Enable building with ant on Windows
This commit is contained in:
parent
d4fcdba6cd
commit
cb7729fcd3
@ -58,6 +58,11 @@
|
|||||||
unless="sdk.dir"
|
unless="sdk.dir"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<!-- Name of ndk-build executable. -->
|
||||||
|
<condition property="ndk.cmd" value="ndk-build.cmd" else="ndk-build">
|
||||||
|
<os family="windows"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Import per project custom build rules if present at the root of the project.
|
Import per project custom build rules if present at the root of the project.
|
||||||
This is the place to put custom intermediary targets such as:
|
This is the place to put custom intermediary targets such as:
|
||||||
@ -72,13 +77,13 @@
|
|||||||
-->
|
-->
|
||||||
<import file="custom_rules.xml" optional="true" />
|
<import file="custom_rules.xml" optional="true" />
|
||||||
<target name="-pre-build">
|
<target name="-pre-build">
|
||||||
<exec executable="${ndk.dir}/ndk-build" failonerror="true">
|
<exec executable="${ndk.dir}/${ndk.cmd}" failonerror="true">
|
||||||
<arg value="-j4"/>
|
<arg value="-j4"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean" depends="android_rules.clean">
|
<target name="clean" depends="android_rules.clean">
|
||||||
<exec executable="${ndk.dir}/ndk-build" failonerror="true">
|
<exec executable="${ndk.dir}/${ndk.cmd}" failonerror="true">
|
||||||
<arg value="clean"/>
|
<arg value="clean"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
Loading…
Reference in New Issue
Block a user