1<?xml version="1.0" encoding="UTF-8"?>
2<project name="SkiaAndroid" default="help">
3
4    <!-- The local.properties file is created and updated by the 'android' tool.
5         It contains the path to the SDK. It should *NOT* be checked into
6         Version Control Systems. -->
7    <property file="local.properties" />
8
9    <!-- The project.properties file is created and updated by the 'android'
10         tool, as well as ADT.
11
12         This contains project specific properties such as project target, and library
13         dependencies. Lower level build properties are stored in ant.properties
14         (or in .classpath for Eclipse projects).
15
16         This file is an integral part of the build system for your
17         application and should be checked into Version Control Systems. -->
18    <loadproperties srcFile="project.properties" />
19
20    <!-- quick check on sdk.dir -->
21    <fail
22            message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
23            unless="sdk.dir"
24    />
25
26    <!--
27        Import per project custom build rules if present at the root of the project.
28        This is the place to put custom intermediary targets such as:
29            -pre-build
30            -pre-compile
31            -post-compile (This is typically used for code obfuscation.
32                           Compiled code location: ${out.classes.absolute.dir}
33                           If this is not done in place, override ${out.dex.input.absolute.dir})
34            -post-package
35            -post-build
36            -pre-clean
37    -->
38    <import file="custom_rules.xml" optional="true" />
39
40    <!-- Import the actual build file.
41
42         To customize existing targets, there are two options:
43         - Customize only one target:
44             - copy/paste the target into this file, *before* the
45               <import> task.
46             - customize it to your needs.
47         - Customize the whole content of build.xml
48             - copy/paste the content of the rules files (minus the top node)
49               into this file, replacing the <import> task.
50             - customize to your needs.
51
52         ***********************
53         ****** IMPORTANT ******
54         ***********************
55         In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
56         in order to avoid having your file be overridden by tools such as "android update project"
57    -->
58    <!-- version-tag: 1 -->
59    <import file="${sdk.dir}/tools/ant/build.xml" />
60
61</project>
62