android-project/build.xml
changeset 11647 5816b27073a4
parent 11646 c875be618b90
child 11648 ed5bc0abae1b
     1.1 --- a/android-project/build.xml	Mon Oct 23 12:33:18 2017 -0700
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,93 +0,0 @@
     1.4 -<?xml version="1.0" encoding="UTF-8"?>
     1.5 -<!-- This should be changed to the name of your project -->
     1.6 -<project name="SDLActivity" default="help">
     1.7 -
     1.8 -    <!-- The local.properties file is created and updated by the 'android' tool.
     1.9 -         It contains the path to the SDK. It should *NOT* be checked into
    1.10 -         Version Control Systems. -->
    1.11 -    <property file="local.properties" />
    1.12 -
    1.13 -    <!-- The ant.properties file can be created by you. It is only edited by the
    1.14 -         'android' tool to add properties to it.
    1.15 -         This is the place to change some Ant specific build properties.
    1.16 -         Here are some properties you may want to change/update:
    1.17 -
    1.18 -         source.dir
    1.19 -             The name of the source directory. Default is 'src'.
    1.20 -         out.dir
    1.21 -             The name of the output directory. Default is 'bin'.
    1.22 -
    1.23 -         For other overridable properties, look at the beginning of the rules
    1.24 -         files in the SDK, at tools/ant/build.xml
    1.25 -
    1.26 -         Properties related to the SDK location or the project target should
    1.27 -         be updated using the 'android' tool with the 'update' action.
    1.28 -
    1.29 -         This file is an integral part of the build system for your
    1.30 -         application and should be checked into Version Control Systems.
    1.31 -
    1.32 -         -->
    1.33 -    <property file="ant.properties" />
    1.34 -
    1.35 -    <!-- if sdk.dir was not set from one of the property file, then
    1.36 -         get it from the ANDROID_HOME env var.
    1.37 -         This must be done before we load project.properties since
    1.38 -         the proguard config can use sdk.dir -->
    1.39 -    <property environment="env" />
    1.40 -    <condition property="sdk.dir" value="${env.ANDROID_HOME}">
    1.41 -        <isset property="env.ANDROID_HOME" />
    1.42 -    </condition>
    1.43 -
    1.44 -    <!-- The project.properties file is created and updated by the 'android'
    1.45 -         tool, as well as ADT.
    1.46 -
    1.47 -         This contains project specific properties such as project target, and library
    1.48 -         dependencies. Lower level build properties are stored in ant.properties
    1.49 -         (or in .classpath for Eclipse projects).
    1.50 -
    1.51 -         This file is an integral part of the build system for your
    1.52 -         application and should be checked into Version Control Systems. -->
    1.53 -    <loadproperties srcFile="project.properties" />
    1.54 -
    1.55 -    <!-- quick check on sdk.dir -->
    1.56 -    <fail
    1.57 -            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."
    1.58 -            unless="sdk.dir"
    1.59 -    />
    1.60 -
    1.61 -    <!--
    1.62 -        Import per project custom build rules if present at the root of the project.
    1.63 -        This is the place to put custom intermediary targets such as:
    1.64 -            -pre-build
    1.65 -            -pre-compile
    1.66 -            -post-compile (This is typically used for code obfuscation.
    1.67 -                           Compiled code location: ${out.classes.absolute.dir}
    1.68 -                           If this is not done in place, override ${out.dex.input.absolute.dir})
    1.69 -            -post-package
    1.70 -            -post-build
    1.71 -            -pre-clean
    1.72 -    -->
    1.73 -    <import file="custom_rules.xml" optional="true" />
    1.74 -
    1.75 -    <!-- Import the actual build file.
    1.76 -
    1.77 -         To customize existing targets, there are two options:
    1.78 -         - Customize only one target:
    1.79 -             - copy/paste the target into this file, *before* the
    1.80 -               <import> task.
    1.81 -             - customize it to your needs.
    1.82 -         - Customize the whole content of build.xml
    1.83 -             - copy/paste the content of the rules files (minus the top node)
    1.84 -               into this file, replacing the <import> task.
    1.85 -             - customize to your needs.
    1.86 -
    1.87 -         ***********************
    1.88 -         ****** IMPORTANT ******
    1.89 -         ***********************
    1.90 -         In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
    1.91 -         in order to avoid having your file be overridden by tools such as "android update project"
    1.92 -    -->
    1.93 -    <!-- version-tag: 1 -->
    1.94 -    <import file="${sdk.dir}/tools/ant/build.xml" />
    1.95 -
    1.96 -</project>