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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user