Make the error message for usless tags a little more helpful

Change-Id: I1c6edd260280d5bab03b0d4c1e49f1bbecfd1a53
This commit is contained in:
Joe Onorato 2012-07-30 11:17:28 -07:00
parent c7d6f1ca1f
commit 3d48122b18

View file

@ -513,7 +513,7 @@ ifeq ($(LOCAL_IS_HOST_MODULE),true)
ALL_HOST_INSTALLED_FILES += $(LOCAL_INSTALLED_MODULE) ALL_HOST_INSTALLED_FILES += $(LOCAL_INSTALLED_MODULE)
endif endif
ifneq ($(filter debug eng tests, $(LOCAL_MODULE_TAGS)),) ifneq ($(filter debug eng tests, $(LOCAL_MODULE_TAGS)),)
$(error $(LOCAL_MODULE_MAKEFILE): Module "$(LOCAL_MODULE)" has useless module tags: $(filter debug eng tests, $(LOCAL_MODULE_TAGS)). It will be installed anyway.) $(error $(LOCAL_MODULE_MAKEFILE): Host module "$(LOCAL_MODULE)" has useless module tags: $(filter debug eng tests, $(LOCAL_MODULE_TAGS)). It will be installed anyway.)
endif endif
endif endif