blob: 046640f006f83bffed3b26191c7f521579d193ac [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
Copyright (c) 2012 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
<project name="ContentShell" default="debug" basedir=".">
Building ContentShell.apk
<property environment="env"/>
<property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/>
<property name="source.dir" location="java"/>
<property name="target" value="android-14"/>
<!-- We expect PRODUCT_DIR to be set like the gyp var
(e.g. $ROOT/out/Debug) -->
<!-- TODO(satish): ideally we need this to run before -build-setup, where
directories are made based on this variable. -->
<target name="-pre-build">
<isset property="PRODUCT_DIR" />
<fail message="PRODUCT_DIR env var not set?" />
<property name="out.dir" location="${PRODUCT_DIR}/content_shell"/>
<property name="resource.absolute.dir" value="${out.dir}/res"/>
<property name="gen.absolute.dir" value="${out.dir}/gen"/>
<property name="jar.libs.dir" value="${out.dir}/java/libs"/>
<import file="${sdk.dir}/tools/ant/build.xml" />