Merge "Make error a warning for now"

This commit is contained in:
Joe Onorato
2012-08-17 00:36:44 -07:00
committed by android code review

View File

@@ -515,7 +515,8 @@ 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.) $(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
endif endif