From bd8f84fca102635d2013d5653f6d328889447f9e Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 19 Oct 2017 15:01:21 -0700 Subject: [PATCH] Turn unusual tags into errors Test: build/soong/build_test.bash Change-Id: If68bea3929763747137f8acc4a045933f40f5e17 Merged-In: If68bea3929763747137f8acc4a045933f40f5e17 (cherry picked from commit c35641913d45cd425945833de2f9a7c082070943) --- core/base_rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/base_rules.mk b/core/base_rules.mk index a5ba75b0d1..b501fbde86 100644 --- a/core/base_rules.mk +++ b/core/base_rules.mk @@ -138,7 +138,7 @@ endif # makefiles. Anything else is either a typo or a source of unexpected # behaviors. ifneq ($(filter-out debug eng tests optional samples,$(my_module_tags)),) -$(call pretty-warning,unusual tags $(my_module_tags)) +$(call pretty-error,unusual tags: $(filter-out debug eng tests optional samples,$(my_module_tags))) endif # Add implicit tags.