am 6b340ad0: am 7c945d24: Merge "Make error a warning for now"
* commit '6b340ad06c90ad80894bce720075e05f31b8f4cb':
Make error a warning for now
diff --git a/core/base_rules.mk b/core/base_rules.mk
index f10e224..65679a9 100644
--- a/core/base_rules.mk
+++ b/core/base_rules.mk
@@ -513,7 +513,8 @@
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