updated build file for latest SDK
This commit is contained in:
parent
6b70bbcd60
commit
4a88bf782b
31
build.xml
31
build.xml
|
@ -1,12 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE project [
|
|
||||||
<!ENTITY add-proguard-release SYSTEM "add-proguard-release.xml">
|
|
||||||
]>
|
|
||||||
<project name="Orbot" default="help">
|
<project name="Orbot" default="help">
|
||||||
|
|
||||||
<!-- The local.properties file is created and updated by the 'android' tool.
|
<!-- The local.properties file is created and updated by the 'android' tool.
|
||||||
It contains the path to the SDK. It should *NOT* be checked into
|
It contains the path to the SDK. It should *NOT* be checked into
|
||||||
Version Control Systems. -->
|
Version Control Systems. -->
|
||||||
<loadproperties srcFile="local.properties" />
|
<property file="local.properties" />
|
||||||
|
|
||||||
<!-- The ant.properties file can be created by you. It is only edited by the
|
<!-- The ant.properties file can be created by you. It is only edited by the
|
||||||
'android' tool to add properties to it.
|
'android' tool to add properties to it.
|
||||||
|
@ -43,25 +41,23 @@
|
||||||
|
|
||||||
<!-- quick check on sdk.dir -->
|
<!-- quick check on sdk.dir -->
|
||||||
<fail
|
<fail
|
||||||
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project'"
|
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
|
||||||
unless="sdk.dir"
|
unless="sdk.dir"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
<!-- extension targets. Uncomment the ones where you want to do custom work
|
|
||||||
in between standard targets -->
|
|
||||||
<!--
|
<!--
|
||||||
<target name="-pre-build">
|
Import per project custom build rules if present at the root of the project.
|
||||||
</target>
|
This is the place to put custom intermediary targets such as:
|
||||||
<target name="-pre-compile">
|
-pre-build
|
||||||
</target>
|
-pre-compile
|
||||||
|
-post-compile (This is typically used for code obfuscation.
|
||||||
/* This is typically used for code obfuscation.
|
|
||||||
Compiled code location: ${out.classes.absolute.dir}
|
Compiled code location: ${out.classes.absolute.dir}
|
||||||
If this is not done in place, override ${out.dex.input.absolute.dir} */
|
If this is not done in place, override ${out.dex.input.absolute.dir})
|
||||||
<target name="-post-compile">
|
-post-package
|
||||||
</target>
|
-post-build
|
||||||
|
-pre-clean
|
||||||
-->
|
-->
|
||||||
|
<import file="custom_rules.xml" optional="true" />
|
||||||
|
|
||||||
<!-- Import the actual build file.
|
<!-- Import the actual build file.
|
||||||
|
|
||||||
|
@ -84,5 +80,4 @@
|
||||||
<!-- version-tag: 1 -->
|
<!-- version-tag: 1 -->
|
||||||
<import file="${sdk.dir}/tools/ant/build.xml" />
|
<import file="${sdk.dir}/tools/ant/build.xml" />
|
||||||
|
|
||||||
&add-proguard-release;
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue