android/example: don't add *.a to assets

This files shouldn't be copied. They are big, duplicate binaries in fas
files and are no use without the gcc compiler on the target system.

Also clean assets directory on the clean target and use a symblink
`ecl-libdir' to access the libraries directory.
This commit is contained in:
Daniel Kochmański 2015-10-26 10:13:28 +01:00
parent 8af6929bc8
commit 5e2edcae92

View file

@ -86,9 +86,24 @@
In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
in order to avoid having your file be overridden by tools such as "android update project"
-->
<!-- ECL assets -->
<target name="-pre-clean">
<delete dir="assets/lisp/lib"/>
</target>
<target name="-post-compile">
<copy todir="assets/lisp/lib">
<fileset dir="ecl-android/lib/ecl-16.1.0" includes="**/*"/>
<fileset dir="ecl-libdir">
<!-- various encodings for runtime -->
<include name="encodings/*"/>
<!-- system definitions -->
<include name="**/*.asd"/>
<!-- modules with the binary code -->
<include name="**/*.fas"/>
<!-- documentation file -->
<include name="help.doc"/>
</fileset>
</copy>
</target>