diff options
author | Guang Zhu <guangzhu@google.com> | 2010-07-29 10:52:45 -0700 |
---|---|---|
committer | Guang Zhu <guangzhu@google.com> | 2010-08-26 10:51:40 -0700 |
commit | f1ee431f3c9e6074ed308312867808490b1770f6 (patch) | |
tree | ce6b6bd5dba29eb5a316d6f54df35d1e34319350 /Android.mk | |
parent | 02123b7cc8336ec5481f20c12ce5c7f2b9f044d4 (diff) | |
download | packages_providers_ContactsProvider-f1ee431f3c9e6074ed308312867808490b1770f6.zip packages_providers_ContactsProvider-f1ee431f3c9e6074ed308312867808490b1770f6.tar.gz packages_providers_ContactsProvider-f1ee431f3c9e6074ed308312867808490b1770f6.tar.bz2 |
add emma filter to make file
so the code coverage report won't contain classes from local static
Java libraries
Change-Id: I039963fd2baff94bc9eed8f16a5d2b2786616e0c
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -12,6 +12,13 @@ LOCAL_JAVA_LIBRARIES := ext LOCAL_STATIC_JAVA_LIBRARIES += android-common +# The Emma tool analyzes code coverage when running unit tests on the +# application. This configuration line selects which packages will be analyzed, +# leaving out code which is tested by other means (e.g. static libraries) that +# would dilute the coverage results. These options do not affect regular +# production builds. +LOCAL_EMMA_COVERAGE_FILTER := +com.android.providers.contacts.* + LOCAL_PACKAGE_NAME := ContactsProvider LOCAL_CERTIFICATE := shared |