labyrinth

annotate android/build.xml @ 5:c8826e5ebec1

- changed every data loading function to return dummy objects instead of failing - fixed mistake in AndroidManifest.xml
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 01 May 2015 05:58:41 +0300
parents
children
rev   line source
nuclear@5 1 <?xml version="1.0" encoding="UTF-8"?>
nuclear@5 2 <project name="labyrinth" default="help">
nuclear@5 3
nuclear@5 4 <!-- The local.properties file is created and updated by the 'android' tool.
nuclear@5 5 It contains the path to the SDK. It should *NOT* be checked into
nuclear@5 6 Version Control Systems. -->
nuclear@5 7 <property file="local.properties" />
nuclear@5 8
nuclear@5 9 <!-- The ant.properties file can be created by you. It is only edited by the
nuclear@5 10 'android' tool to add properties to it.
nuclear@5 11 This is the place to change some Ant specific build properties.
nuclear@5 12 Here are some properties you may want to change/update:
nuclear@5 13
nuclear@5 14 source.dir
nuclear@5 15 The name of the source directory. Default is 'src'.
nuclear@5 16 out.dir
nuclear@5 17 The name of the output directory. Default is 'bin'.
nuclear@5 18
nuclear@5 19 For other overridable properties, look at the beginning of the rules
nuclear@5 20 files in the SDK, at tools/ant/build.xml
nuclear@5 21
nuclear@5 22 Properties related to the SDK location or the project target should
nuclear@5 23 be updated using the 'android' tool with the 'update' action.
nuclear@5 24
nuclear@5 25 This file is an integral part of the build system for your
nuclear@5 26 application and should be checked into Version Control Systems.
nuclear@5 27
nuclear@5 28 -->
nuclear@5 29 <property file="ant.properties" />
nuclear@5 30
nuclear@5 31 <!-- if sdk.dir was not set from one of the property file, then
nuclear@5 32 get it from the ANDROID_HOME env var.
nuclear@5 33 This must be done before we load project.properties since
nuclear@5 34 the proguard config can use sdk.dir -->
nuclear@5 35 <property environment="env" />
nuclear@5 36 <condition property="sdk.dir" value="${env.ANDROID_HOME}">
nuclear@5 37 <isset property="env.ANDROID_HOME" />
nuclear@5 38 </condition>
nuclear@5 39
nuclear@5 40 <!-- The project.properties file is created and updated by the 'android'
nuclear@5 41 tool, as well as ADT.
nuclear@5 42
nuclear@5 43 This contains project specific properties such as project target, and library
nuclear@5 44 dependencies. Lower level build properties are stored in ant.properties
nuclear@5 45 (or in .classpath for Eclipse projects).
nuclear@5 46
nuclear@5 47 This file is an integral part of the build system for your
nuclear@5 48 application and should be checked into Version Control Systems. -->
nuclear@5 49 <loadproperties srcFile="project.properties" />
nuclear@5 50
nuclear@5 51 <!-- quick check on sdk.dir -->
nuclear@5 52 <fail
nuclear@5 53 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."
nuclear@5 54 unless="sdk.dir"
nuclear@5 55 />
nuclear@5 56
nuclear@5 57 <!--
nuclear@5 58 Import per project custom build rules if present at the root of the project.
nuclear@5 59 This is the place to put custom intermediary targets such as:
nuclear@5 60 -pre-build
nuclear@5 61 -pre-compile
nuclear@5 62 -post-compile (This is typically used for code obfuscation.
nuclear@5 63 Compiled code location: ${out.classes.absolute.dir}
nuclear@5 64 If this is not done in place, override ${out.dex.input.absolute.dir})
nuclear@5 65 -post-package
nuclear@5 66 -post-build
nuclear@5 67 -pre-clean
nuclear@5 68 -->
nuclear@5 69 <import file="custom_rules.xml" optional="true" />
nuclear@5 70
nuclear@5 71 <!-- Import the actual build file.
nuclear@5 72
nuclear@5 73 To customize existing targets, there are two options:
nuclear@5 74 - Customize only one target:
nuclear@5 75 - copy/paste the target into this file, *before* the
nuclear@5 76 <import> task.
nuclear@5 77 - customize it to your needs.
nuclear@5 78 - Customize the whole content of build.xml
nuclear@5 79 - copy/paste the content of the rules files (minus the top node)
nuclear@5 80 into this file, replacing the <import> task.
nuclear@5 81 - customize to your needs.
nuclear@5 82
nuclear@5 83 ***********************
nuclear@5 84 ****** IMPORTANT ******
nuclear@5 85 ***********************
nuclear@5 86 In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
nuclear@5 87 in order to avoid having your file be overridden by tools such as "android update project"
nuclear@5 88 -->
nuclear@5 89 <!-- version-tag: 1 -->
nuclear@5 90 <import file="${sdk.dir}/tools/ant/build.xml" />
nuclear@5 91
nuclear@5 92 </project>