am 6e8b268d: Fail the build when using a user tag on a non-legacy module. do not merge
Merge commit '6e8b268dec3cc38151dfd0514621219b79a30fa9' into gingerbread-plus-aosp
* commit '6e8b268dec3cc38151dfd0514621219b79a30fa9':
Fail the build when using a user tag on a non-legacy module. do not merge
diff --git a/core/base_rules.mk b/core/base_rules.mk
index 97bcb29..3b5bd42 100644
--- a/core/base_rules.mk
+++ b/core/base_rules.mk
@@ -74,7 +74,9 @@
ifneq ($(filter $(LOCAL_MODULE_TAGS),user),)
ifeq ($(filter $(GRANDFATHERED_USER_MODULES),$(LOCAL_MODULE)),)
- $(warning using user tag on $(LOCAL_MODULE) at $(LOCAL_PATH))
+ $(warning *** Module name: $(LOCAL_MODULE))
+ $(warning *** Makefile location: $(LOCAL_PATH))
+ $(error user tag detected on new module - user tags are only supported on legacy modules)
endif
endif