Make error a warning for now

Change-Id: Idf18957fff2bb4ff31ca6d7d8d1c8d95847b4e00
This commit is contained in:
Joe Onorato 2012-08-17 00:35:09 -07:00
parent f72e34ebf4
commit aa816333ae
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