diff options
author | Guang Zhu <guangzhu@google.com> | 2010-07-29 10:52:45 -0700 |
---|---|---|
committer | Guang Zhu <guangzhu@google.com> | 2010-07-29 10:52:45 -0700 |
commit | cc103ab7af0127094cecd9579222de7c53edea63 (patch) | |
tree | 357e2c748a46765ac34e7756d8a3657cbe51676b /Android.mk | |
parent | 4fbe050dad387000d36caf07cff1a3fcbf12661f (diff) | |
download | packages_providers_ContactsProvider-cc103ab7af0127094cecd9579222de7c53edea63.zip packages_providers_ContactsProvider-cc103ab7af0127094cecd9579222de7c53edea63.tar.gz packages_providers_ContactsProvider-cc103ab7af0127094cecd9579222de7c53edea63.tar.bz2 |
add emma filter to make file
so the code coverage report won't contain classes from local static
Java libraries
Change-Id: Iba77ec5464a2d7aa34b4b58734537d986cc6fb42
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 com.android.vcard +# 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 |