From 5204e0b907e98f486109740f5abd422eb89747d7 Mon Sep 17 00:00:00 2001 From: akwizgran <michael@briarproject.org> Date: Wed, 5 Dec 2012 21:31:13 +0000 Subject: [PATCH] Fixed ant build files for Android project. --- briar-android/.gitignore | 4 ++++ briar-android/ant.properties | 3 +++ briar-android/custom_rules.xml | 14 ++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 briar-android/.gitignore create mode 100644 briar-android/custom_rules.xml diff --git a/briar-android/.gitignore b/briar-android/.gitignore new file mode 100644 index 0000000000..a863a56ecd --- /dev/null +++ b/briar-android/.gitignore @@ -0,0 +1,4 @@ +bin +gen +res +local.properties diff --git a/briar-android/ant.properties b/briar-android/ant.properties index b0971e891e..2c9a688764 100644 --- a/briar-android/ant.properties +++ b/briar-android/ant.properties @@ -9,6 +9,9 @@ # 'source.dir' for the location of your java source folder and # 'out.dir' for the location of your output folder. +source.dir=src:../briar-core/src +external.libs.dir=../briar-core/libs + # You can also use it define how the release builds are signed by declaring # the following properties: # 'key.store' for the location of your keystore and diff --git a/briar-android/custom_rules.xml b/briar-android/custom_rules.xml new file mode 100644 index 0000000000..ee549fbddd --- /dev/null +++ b/briar-android/custom_rules.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="Briar" default="help"> +<target name="-pre-compile"> + <path id="project.all.jars.path"> + <path path="${toString:project.all.jars.path}"/> + <fileset dir="${jar.libs.dir}"> + <include name="*.jar"/> + </fileset> + <fileset dir="${external.libs.dir}"> + <include name="*.jar"/> + </fileset> + </path> +</target> +</project> -- GitLab