am 7c945d24: Merge "Make error a warning for now"

* commit '7c945d249956ed3943585b8d417a51a598b175b3':
  Make error a warning for now
This commit is contained in:
Joe Onorato 2012-08-17 00:46:36 -07:00 committed by Android Git Automerger
commit 6b340ad06c
1 changed files with 2 additions and 1 deletions

View File

@ -515,7 +515,8 @@ ifeq ($(LOCAL_IS_HOST_MODULE),true)
ALL_HOST_INSTALLED_FILES += $(LOCAL_INSTALLED_MODULE)
endif
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.)
$(warning $(LOCAL_MODULE_MAKEFILE): Module "$(LOCAL_MODULE)" has useless module tags: $(filter debug eng tests, $(LOCAL_MODULE_TAGS)). It will be installed anyway.)
LOCAL_MODULE_TAGS := $(filter-out debug eng tests, $(LOCAL_MODULE_TAGS))
endif
endif