OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <!-- |
| 3 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. |
| 6 --> |
| 7 <project name="ContentShell" default="debug" basedir="."> |
| 8 |
| 9 <description> |
| 10 Building ContentShell.apk |
| 11 </description> |
| 12 |
| 13 <property environment="env"/> |
| 14 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/> |
| 15 <property name="source.dir" location="java"/> |
| 16 <property name="target" value="android-14"/> |
| 17 |
| 18 <!-- We expect PRODUCT_DIR to be set like the gyp var |
| 19 (e.g. $ROOT/out/Debug) --> |
| 20 <!-- TODO(satish): ideally we need this to run before -build-setup, where |
| 21 directories are made based on this variable. --> |
| 22 <target name="-pre-build"> |
| 23 <if> |
| 24 <condition> |
| 25 <isset property="PRODUCT_DIR" /> |
| 26 </condition> |
| 27 <else> |
| 28 <fail message="PRODUCT_DIR env var not set?" /> |
| 29 </else> |
| 30 </if> |
| 31 </target> |
| 32 |
| 33 <property name="out.dir" location="${PRODUCT_DIR}/content_shell"/> |
| 34 |
| 35 <property name="resource.absolute.dir" value="${out.dir}/res"/> |
| 36 <property name="gen.absolute.dir" value="${out.dir}/gen"/> |
| 37 <property name="jar.libs.dir" value="${out.dir}/java/libs"/> |
| 38 |
| 39 <import file="${sdk.dir}/tools/ant/build.xml" /> |
| 40 |
| 41 </project> |
OLD | NEW |