aboutsummaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-01-27 21:09:15 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-27 21:09:15 -0800
commit7a0ef90574a34b5bc4e0699e47b23fc7ae753075 (patch)
tree21e70b9c533a9325eadd16b2d09a895859e53cea /files
parent42271f91b7357dc1c1db304141288bbc5b96190d (diff)
parent57bda47408e8a78aab25a2d258aaf01b55d0058a (diff)
downloadsdk-7a0ef90574a34b5bc4e0699e47b23fc7ae753075.zip
sdk-7a0ef90574a34b5bc4e0699e47b23fc7ae753075.tar.gz
sdk-7a0ef90574a34b5bc4e0699e47b23fc7ae753075.tar.bz2
am 57bda474: am 19fe9514: am 1c148829: Merge "Add coverage filters."
* commit '57bda47408e8a78aab25a2d258aaf01b55d0058a': Add coverage filters.
Diffstat (limited to 'files')
-rw-r--r--files/ant/build.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/files/ant/build.xml b/files/ant/build.xml
index 7891176..575b3ec 100644
--- a/files/ant/build.xml
+++ b/files/ant/build.xml
@@ -52,6 +52,9 @@
<property name="java.source" value="1.5" />
<property name="java.compilerargs" value="" />
+ <!-- instrumentation options -->
+ <property name="emma.filter" value="" />
+
<!-- Verbosity -->
<property name="verbose" value="false" />
@@ -692,9 +695,9 @@
mode="overwrite"
instrpath="${out.absolute.dir}/classes"
outdir="${out.absolute.dir}/classes">
+ <filter excludes="${manifest.package}.R,${manifest.package}.R$$*,${manifest.package}.BuildConfig" />
+ <filter value="${emma.filter}" />
</instr>
- <!-- TODO: exclusion filters on R*.class and allowing custom exclusion from
- user defined file -->
</emma>
</then>
</if>