diff options
author | Sven Gothel <[email protected]> | 2011-09-28 12:56:20 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-28 12:56:20 +0200 |
commit | 3a323e52f92985f28ed44bf78557d5dfc38ab62e (patch) | |
tree | 48c4f2b62aeaf522777c77811388508c3bc4b56a /make | |
parent | 7c0bb4080a6dfb86ab6061cc24d17c133b1dd731 (diff) |
Android aapt.signed: add jarsrcdir to add non java files (resources) to the apk
Diffstat (limited to 'make')
-rw-r--r-- | make/jogamp-androidtasks.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/make/jogamp-androidtasks.xml b/make/jogamp-androidtasks.xml index 9521607..666228b 100644 --- a/make/jogamp-androidtasks.xml +++ b/make/jogamp-androidtasks.xml @@ -32,6 +32,7 @@ --> <macrodef name="aapt.signed"> + <attribute name="jarsrcdir" default="/non.existing.src.path"/> <attribute name="jarbuilddir" /> <attribute name="jarbasename" /> <attribute name="nativebuilddir" /> @@ -85,6 +86,12 @@ </fileset> </copy> + <copy todir="${m.aapt.build.apk}/image" failonerror="false" includeEmptyDirs="false"> + <fileset dir="@{jarsrcdir}" + includes="**" + excludes="**/*.java"/> + </copy> + <copy file="@{androidmanifest.path}" tofile="${m.aapt.build.apk}/image/AndroidManifest.xml"/> <copy file="@{jarmanifest.path}" failonerror="false" tofile="${m.aapt.build.apk}/image/META-INF/MANIFEST.MF"/> |