mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix ant build on Windows.
This commit is contained in:
1 parent
279d3b20cf
commit
cca16f63a0
1 file changed
+5
-2
@@ -1,14 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="PPSSPP" default="help">
|
||||
<condition property="ndkbuild_exe" value="ndk-build.cmd" else="ndk-build">
|
||||
<os family="windows" />
|
||||
</condition>
|
||||
<property name="ndkbuildopt" value=""/>
|
||||
<target name="-pre-build">
|
||||
<exec executable="${ndk.dir}/ndk-build" failonerror="true">
|
||||
<exec executable="${ndk.dir}/${ndkbuild_exe}" failonerror="true">
|
||||
<arg line="-j4 ${ndkbuildopt}"/>
|
||||
<env key="NDK_MODULE_PATH" path="../ext:../ext/native/ext"/>
|
||||
</exec>
|
||||
</target>
|
||||
<target name="clean" depends="android_rules.clean">
|
||||
<exec executable="${ndk.dir}/ndk-build" failonerror="true">
|
||||
<exec executable="${ndk.dir}/${ndkbuild_exe}" failonerror="true">
|
||||
<arg value="clean"/>
|
||||
<env key="NDK_MODULE_PATH" path="../ext:../ext/native/ext"/>
|
||||
</exec>
|
||||
|
||||
Reference in new issue
Block a user