android-project/build.xml
author Sam Lantinga
Fri, 19 Oct 2012 21:17:58 -0700
changeset 6590 e85b6a9ec38d
parent 4965 91d0085b7560
child 6631 47ab7ba21530
permissions -rw-r--r--
tree 451ddf291d85
parent 7925f0f43dc4
author Edward Rudd <urkle@outoforder.cc> 1350500747 14400
committer Edward Rudd <urkle@outoforder.cc> 1350500747 14400
revision 6591
branch default

A few fixes to the SDL framework plist

- correct version number
- remove CFBundleExecutable
- correct CFBundleIdentifier
slouken@4965
     1
<?xml version="1.0" encoding="UTF-8"?>
slouken@4965
     2
<project name="SDLApp" default="help">
slouken@4965
     3
slouken@4965
     4
    <!-- The local.properties file is created and updated by the 'android' tool.
slouken@4965
     5
         It contains the path to the SDK. It should *NOT* be checked in in Version
slouken@4965
     6
         Control Systems. -->
slouken@4965
     7
    <property file="local.properties" />
slouken@4965
     8
slouken@4965
     9
    <!-- The build.properties file can be created by you and is never touched
slouken@4965
    10
         by the 'android' tool. This is the place to change some of the default property values
slouken@4965
    11
         used by the Ant rules.
slouken@4965
    12
         Here are some properties you may want to change/update:
slouken@4965
    13
slouken@4965
    14
         application.package
slouken@4965
    15
             the name of your application package as defined in the manifest. Used by the
slouken@4965
    16
             'uninstall' rule.
slouken@4965
    17
         source.dir
slouken@4965
    18
             the name of the source directory. Default is 'src'.
slouken@4965
    19
         out.dir
slouken@4965
    20
             the name of the output directory. Default is 'bin'.
slouken@4965
    21
slouken@4965
    22
         Properties related to the SDK location or the project target should be updated
slouken@4965
    23
          using the 'android' tool with the 'update' action.
slouken@4965
    24
slouken@4965
    25
         This file is an integral part of the build system for your application and
slouken@4965
    26
         should be checked in in Version Control Systems.
slouken@4965
    27
slouken@4965
    28
         -->
slouken@4965
    29
    <property file="build.properties" />
slouken@4965
    30
slouken@4965
    31
    <!-- The default.properties file is created and updated by the 'android' tool, as well
slouken@4965
    32
         as ADT.
slouken@4965
    33
         This file is an integral part of the build system for your application and
slouken@4965
    34
         should be checked in in Version Control Systems. -->
slouken@4965
    35
    <property file="default.properties" />
slouken@4965
    36
slouken@4965
    37
    <!-- Custom Android task to deal with the project target, and import the proper rules.
slouken@4965
    38
         This requires ant 1.6.0 or above. -->
slouken@4965
    39
    <path id="android.antlibs">
slouken@4965
    40
        <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
slouken@4965
    41
        <pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
slouken@4965
    42
        <pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
slouken@4965
    43
        <pathelement path="${sdk.dir}/tools/lib/apkbuilder.jar" />
slouken@4965
    44
        <pathelement path="${sdk.dir}/tools/lib/jarutils.jar" />
slouken@4965
    45
    </path>
slouken@4965
    46
slouken@4965
    47
    <taskdef name="setup"
slouken@4965
    48
        classname="com.android.ant.SetupTask"
slouken@4965
    49
        classpathref="android.antlibs" />
slouken@4965
    50
slouken@4965
    51
    <!-- Execute the Android Setup task that will setup some properties specific to the target,
slouken@4965
    52
         and import the build rules files.
slouken@4965
    53
slouken@4965
    54
         The rules file is imported from
slouken@4965
    55
            <SDK>/platforms/<target_platform>/templates/android_rules.xml
slouken@4965
    56
slouken@4965
    57
         To customize some build steps for your project:
slouken@4965
    58
         - copy the content of the main node <project> from android_rules.xml
slouken@4965
    59
         - paste it in this build.xml below the <setup /> task.
slouken@4965
    60
         - disable the import by changing the setup task below to <setup import="false" />
slouken@4965
    61
slouken@4965
    62
         This will ensure that the properties are setup correctly but that your customized
slouken@4965
    63
         build steps are used.
slouken@4965
    64
    -->
slouken@4965
    65
    <setup />
slouken@4965
    66
slouken@4965
    67
</project>