OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <!-- |
| 3 Copyright (c) 2013 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 |
| 8 <project default="-instr"> |
| 9 <property name="classes.dir" location="${CLASSES_DIR}" /> |
| 10 <property name="classes.instr.dir" location="${CLASSES_INSTR_DIR}" /> |
| 11 <property name="sdk.dir" location="${ANDROID_SDK_ROOT}"/> |
| 12 |
| 13 <property name="emma.coverage.absolute.file" location="${EMMA_COVERAGE_FILE}"
/> |
| 14 |
| 15 <!-- jar file from where emma tasks are loaded --> |
| 16 <path id="emma.antlibs"> |
| 17 <pathelement path="${sdk.dir}/tools/lib/emma_ant.jar" /> |
| 18 <pathelement path="${sdk.dir}/tools/lib/emma.jar" /> |
| 19 </path> |
| 20 |
| 21 <taskdef resource="emma_ant.properties" classpathref="emma.antlibs" /> |
| 22 |
| 23 <!-- Instruments the output classes for coverage testing. --> |
| 24 <target name="-instr"> |
| 25 <emma enabled="true"> |
| 26 <instr mode="copy" |
| 27 instrpath="${classes.dir}" |
| 28 outdir="${classes.instr.dir}" |
| 29 metadatafile="${emma.coverage.absolute.file}"> |
| 30 <!-- TODO: Filter things here --> |
| 31 </instr> |
| 32 </emma> |
| 33 </target> |
| 34 </project> |
OLD | NEW |