Turn unusual tags into errors

Test: build/soong/build_test.bash
Change-Id: If68bea3929763747137f8acc4a045933f40f5e17
Merged-In: If68bea3929763747137f8acc4a045933f40f5e17
(cherry picked from commit c35641913d)
This commit is contained in:
Dan Willemsen
2017-10-19 15:01:21 -07:00
parent a3d94873cf
commit bd8f84fca1

View File

@@ -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.