summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Marie Henaff <jmhenaff@google.com>2015-03-30 10:41:50 +0200
committerJean-Marie Henaff <jmhenaff@google.com>2015-03-30 10:41:50 +0200
commit5c94b46ffaa674064fac6cdd8e8f0e9b459d6f9a (patch)
tree9e069d2cae7a7e1780b70c5b68aa8a935584f8c0
parent9adb9055d6b642a3468e924159a165e8551f7a05 (diff)
downloadtoolchain_jill-5c94b46ffaa674064fac6cdd8e8f0e9b459d6f9a.zip
toolchain_jill-5c94b46ffaa674064fac6cdd8e8f0e9b459d6f9a.tar.gz
toolchain_jill-5c94b46ffaa674064fac6cdd8e8f0e9b459d6f9a.tar.bz2
Add jill-api-src target
Build jill-api-src.zip which contains jill-api-src sources Change-Id: Id75589a200d7fdca90cb9f0bd3a44ee250440ca5
-rw-r--r--build.xml27
1 files changed, 24 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 8fa7c1d..2ddcf90 100644
--- a/build.xml
+++ b/build.xml
@@ -19,9 +19,15 @@
<import file="../jack/build.xml"/>
- <target name="dist" depends="jill, jill-api, jillunittests"/>
-
- <target name="clean" depends="jill-clean, jill-api-lib-clean, jillunittests-clean,
+ <target name="dist" depends="jill,
+ jill-api,
+ jill-api-src,
+ jillunittests"/>
+
+ <target name="clean" depends="jill-clean,
+ jill-api-lib-clean,
+ jill-api-src-clean,
+ jillunittests-clean,
asm4-clean" />
<dirname property="jill-project.dir" file="${ant.file.jill}"/>
@@ -173,6 +179,21 @@
<!-- ******************* -->
+ <!-- jill-api-src -->
+ <!-- ******************* -->
+ <property name="jill-api-src.name" value="jill-api-src.zip" />
+
+ <target name="jill-api-src-clean">
+ <delete dir="${jill-api.dist.dir}/${jill-api-src.name}"/>
+ </target>
+
+ <target name="jill-api-src">
+ <zip destfile="${jill-api.dist.dir}/${jill-api-src.name}"
+ basedir="${jill-api.dir}/src" />
+ </target>
+
+
+ <!-- ******************* -->
<!-- jillunittests -->
<!-- ******************* -->
<property name="jillunittests.build.dir" value="${jill.dir}/build/jillunittests" />