Search
lxdream.org :: lxdream/android/build.xml
lxdream 0.9.1
released Jun 29
Download Now
filename android/build.xml
changeset 1245:01e0020adf88
prev1239:be3121267597
author nkeynes
date Fri Mar 02 23:49:10 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Android WIP:
* Rename gui_jni.c to gui_android.c - now quite android specific.
* Implement generic EGL driver with very minimal Java wrapper
* Run emulation in separate thread, and implement simple queue for
inter-thread communication.
* Add menu/action-bar items for start + reset
file annotate diff log raw
nkeynes@1239
     1
<?xml version="1.0" encoding="UTF-8"?>
nkeynes@1239
     2
<project name="Lxdream" default="help">
nkeynes@1239
     3
nkeynes@1245
     4
    <!-- The local.properties file is created and updated by the 'android' tool.
nkeynes@1245
     5
         It contains the path to the SDK. It should *NOT* be checked into
nkeynes@1245
     6
         Version Control Systems. -->
nkeynes@1239
     7
    <property file="local.properties" />
nkeynes@1239
     8
nkeynes@1245
     9
    <!-- The ant.properties file can be created by you. It is only edited by the
nkeynes@1245
    10
         'android' tool to add properties to it.
nkeynes@1245
    11
         This is the place to change some Ant specific build properties.
nkeynes@1239
    12
         Here are some properties you may want to change/update:
nkeynes@1239
    13
nkeynes@1239
    14
         source.dir
nkeynes@1239
    15
             The name of the source directory. Default is 'src'.
nkeynes@1239
    16
         out.dir
nkeynes@1239
    17
             The name of the output directory. Default is 'bin'.
nkeynes@1239
    18
nkeynes@1245
    19
         For other overridable properties, look at the beginning of the rules
nkeynes@1245
    20
         files in the SDK, at tools/ant/build.xml
nkeynes@1245
    21
nkeynes@1239
    22
         Properties related to the SDK location or the project target should
nkeynes@1239
    23
         be updated using the 'android' tool with the 'update' action.
nkeynes@1239
    24
nkeynes@1239
    25
         This file is an integral part of the build system for your
nkeynes@1239
    26
         application and should be checked into Version Control Systems.
nkeynes@1239
    27
nkeynes@1239
    28
         -->
nkeynes@1245
    29
    <property file="ant.properties" />
nkeynes@1239
    30
nkeynes@1245
    31
    <!-- The project.properties file is created and updated by the 'android'
nkeynes@1239
    32
         tool, as well as ADT.
nkeynes@1245
    33
nkeynes@1245
    34
         This contains project specific properties such as project target, and library
nkeynes@1245
    35
         dependencies. Lower level build properties are stored in ant.properties
nkeynes@1245
    36
         (or in .classpath for Eclipse projects).
nkeynes@1245
    37
nkeynes@1239
    38
         This file is an integral part of the build system for your
nkeynes@1239
    39
         application and should be checked into Version Control Systems. -->
nkeynes@1245
    40
    <loadproperties srcFile="project.properties" />
nkeynes@1239
    41
nkeynes@1245
    42
    <!-- quick check on sdk.dir -->
nkeynes@1245
    43
    <fail
nkeynes@1245
    44
            message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
nkeynes@1245
    45
            unless="sdk.dir"
nkeynes@1245
    46
    />
nkeynes@1239
    47
nkeynes@1239
    48
nkeynes@1239
    49
<!-- extension targets. Uncomment the ones where you want to do custom work
nkeynes@1239
    50
     in between standard targets -->
nkeynes@1239
    51
<!--
nkeynes@1239
    52
    <target name="-pre-build">
nkeynes@1239
    53
    </target>
nkeynes@1239
    54
    <target name="-pre-compile">
nkeynes@1239
    55
    </target>
nkeynes@1239
    56
nkeynes@1245
    57
    /* This is typically used for code obfuscation.
nkeynes@1245
    58
       Compiled code location: ${out.classes.absolute.dir}
nkeynes@1245
    59
       If this is not done in place, override ${out.dex.input.absolute.dir} */
nkeynes@1239
    60
    <target name="-post-compile">
nkeynes@1239
    61
    </target>
nkeynes@1239
    62
-->
nkeynes@1239
    63
nkeynes@1245
    64
    <!-- Import the actual build file.
nkeynes@1239
    65
nkeynes@1239
    66
         To customize existing targets, there are two options:
nkeynes@1239
    67
         - Customize only one target:
nkeynes@1239
    68
             - copy/paste the target into this file, *before* the
nkeynes@1245
    69
               <import> task.
nkeynes@1239
    70
             - customize it to your needs.
nkeynes@1245
    71
         - Customize the whole content of build.xml
nkeynes@1239
    72
             - copy/paste the content of the rules files (minus the top node)
nkeynes@1245
    73
               into this file, replacing the <import> task.
nkeynes@1239
    74
             - customize to your needs.
nkeynes@1245
    75
nkeynes@1245
    76
         ***********************
nkeynes@1245
    77
         ****** IMPORTANT ******
nkeynes@1245
    78
         ***********************
nkeynes@1245
    79
         In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
nkeynes@1245
    80
         in order to avoid having your file be overridden by tools such as "android update project"
nkeynes@1239
    81
    -->
nkeynes@1245
    82
    <!-- version-tag: 1 -->
nkeynes@1245
    83
    <import file="${sdk.dir}/tools/ant/build.xml" />
nkeynes@1239
    84
nkeynes@1239
    85
</project>
.