Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Side by Side Diff: build/android/ant/apk-instr.xml

Issue 20210002: [Android] Sets up a coverage system for java using EMMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removes unnecessary option, cleans up some string formatting Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/android/ant/apk-package.xml » ('j') | build/android/emma_html_output.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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>
OLDNEW
« no previous file with comments | « no previous file | build/android/ant/apk-package.xml » ('j') | build/android/emma_html_output.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698