Merge "Tag "tests" alone doesn't prevent including emma.jar"

This commit is contained in:
Ying Wang 2015-11-06 19:27:52 +00:00 committed by Gerrit Code Review
commit a23a97e3bf
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ endif # LOCAL_JACK_ENABLED
ifeq (true,$(EMMA_INSTRUMENT))
ifndef LOCAL_EMMA_INSTRUMENT
# No emma for test apks.
ifeq (,$(filer tests,$(LOCAL_MODULE_TAGS))$(LOCAL_INSTRUMENTATION_FOR))
ifeq (,$(LOCAL_INSTRUMENTATION_FOR))
LOCAL_EMMA_INSTRUMENT := true
endif # No test apk
endif # LOCAL_EMMA_INSTRUMENT is not set