2017-08-13 03:24:00 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project name="CustomRules">
|
|
|
|
<target name="-pre-build">
|
|
|
|
<copy todir="tmp-src">
|
|
|
|
{% if args.launcher %}
|
2017-12-21 08:24:31 +01:00
|
|
|
<fileset dir="src/main/java" includes="**" />
|
2017-08-13 03:24:00 +02:00
|
|
|
{% else %}
|
2017-12-21 08:24:31 +01:00
|
|
|
<fileset dir="src/main/java">
|
2017-08-13 03:24:00 +02:00
|
|
|
<exclude name="org/kivy/android/ProjectAdapter.java" />
|
|
|
|
<exclude name="org/kivy/android/ProjectChooser.java" />
|
|
|
|
</fileset>
|
|
|
|
{% endif %}
|
|
|
|
{% for dir, includes in args.extra_source_dirs %}
|
|
|
|
<fileset dir="{{ dir }}" includes="{{ includes }}" />
|
|
|
|
{% endfor %}
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
<target name="-post-build">
|
|
|
|
<delete dir="tmp-src" />
|
|
|
|
</target>
|
|
|
|
</project>
|