cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

build.xml (3983B)


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