Support ant signing builds

This commit is contained in:
Moxie Marlinspike 2012-09-29 16:14:13 -07:00
parent f743af32de
commit 59e7226183
2 changed files with 27 additions and 0 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@ TextSecure.iml
out
tests
lint.xml
local.properties
ant.properties

25
build.xml Normal file
View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="TextSecure" default="help">
<property file="local.properties" />
<property file="ant.properties" />
<property environment="env" />
<condition property="sdk.dir" value="${env.ANDROID_HOME}">
<isset property="env.ANDROID_HOME" />
</condition>
<loadproperties srcFile="project.properties" />
<fail
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable."
unless="sdk.dir"
/>
<import file="custom_rules.xml" optional="true" />
<!-- version-tag: 1 -->
<import file="${sdk.dir}/tools/ant/build.xml" />
</project>