mirror of
https://github.com/libretro/Play-.git
synced 2024-12-04 23:36:30 +00:00
41 lines
1.4 KiB
XML
41 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project name="play-native" default="help">
|
|
<property environment="env" />
|
|
<condition property="ndk.debug" value="${env.NDK_DEBUG}" else="1">
|
|
<isset property="env.NDK_DEBUG" />
|
|
</condition>
|
|
<condition property="ndkcpu" value="-j${env.NUMBER_OF_PROCESSORS}" else="-j4">
|
|
<isset property="env.NUMBER_OF_PROCESSORS" />
|
|
</condition>
|
|
<property name="java.source" value="1.7"/>
|
|
<property name="java.target" value="1.7"/>
|
|
|
|
<target name="-pre-build">
|
|
<exec executable="${ndk.dir}/ndk-build.cmd" failonerror="true" osfamily="windows">
|
|
<env key="NDK_DEBUG" value="${ndk.debug}"/>
|
|
<arg value="${ndkcpu}" />
|
|
</exec>
|
|
<exec executable="${ndk.dir}/ndk-build" failonerror="true" osfamily="unix">
|
|
<env key="NDK_DEBUG" value="${ndk.debug}"/>
|
|
<arg value="${ndkcpu}" />
|
|
</exec>
|
|
</target>
|
|
|
|
<target name="-pre-clean">
|
|
<exec executable="${ndk.dir}/ndk-build.cmd" failonerror="true" osfamily="windows">
|
|
<arg value="clean" />
|
|
</exec>
|
|
<exec executable="${ndk.dir}/ndk-build.cmd" failonerror="true" osfamily="windows">
|
|
<arg value="clean" />
|
|
<arg value="NDK_DEBUG=1" />
|
|
</exec>
|
|
<exec executable="${ndk.dir}/ndk-build" failonerror="true" osfamily="unix">
|
|
<arg value="clean" />
|
|
</exec>
|
|
<exec executable="${ndk.dir}/ndk-build" failonerror="true" osfamily="unix">
|
|
<arg value="clean" />
|
|
<arg value="NDK_DEBUG=1" />
|
|
</exec>
|
|
</target>
|
|
</project>
|