OSDN Git Service

Configure code coverage filters.
authorAllen Hair <allenhair@google.com>
Thu, 25 Aug 2016 23:06:26 +0000 (16:06 -0700)
committerAllen Hair <allenhair@google.com>
Fri, 26 Aug 2016 00:28:03 +0000 (17:28 -0700)
Bug: 28269038
Change-Id: If4dfb769d543e70faea7200dc1da15c50a83270f

packages/Shell/Android.mk
packages/SystemUI/tests/Android.mk

index 73a0449..81ab2ff 100644 (file)
@@ -12,6 +12,8 @@ LOCAL_PACKAGE_NAME := Shell
 LOCAL_CERTIFICATE := platform
 LOCAL_PRIVILEGED_MODULE := true
 
+LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.shell.*
+
 include $(BUILD_PACKAGE)
 
 include $(LOCAL_PATH)/tests/Android.mk
index c9c5805..188f8bf 100644 (file)
@@ -58,6 +58,9 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
 # UI it doesn't own. This is necessary to allow screenshots to be taken
 LOCAL_CERTIFICATE := platform
 
+LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.systemui.*
+LOCAL_JACK_COVERAGE_EXCLUDE_FILTER := com.android.systemui.tests.*
+
 include frameworks/base/packages/SettingsLib/common.mk
 
 include $(BUILD_PACKAGE)