Skip to content

Instantly share code, notes, and snippets.

Created July 24, 2013 18:41
Show Gist options
  • Save anonymous/b1363f72a6dc3bc392f9 to your computer and use it in GitHub Desktop.
Save anonymous/b1363f72a6dc3bc392f9 to your computer and use it in GitHub Desktop.
diff --git a/core/base_rules.mk b/core/base_rules.mk
index a70969a..7123703 100644
--- a/core/base_rules.mk
+++ b/core/base_rules.mk
@@ -103,6 +103,7 @@ ifneq ($(filter $(LOCAL_MODULE_TAGS),user),)
$(warning * PRODUCT_PACKAGES section of)
$(warning * build/target/product/core.mk)
$(warning * )
+ $(warning * OFFENDING MODULE: $(LOCAL_MODULE))
$(error user tag detected on new module - user tags are only supported on legacy modules)
endif
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment