Default to erroring when eng/debug tags are used
Some devices opt out of the warning with `BUILD_BROKEN_ENG_DEBUG_TAGS := true` still, but the rest have no more warnings left. Test: build_test in treehugger Change-Id: I1534a0db006d72c7921a20ab793586ef1c7bdb21 Merged-In: I1534a0db006d72c7921a20ab793586ef1c7bdb21
This commit is contained in:
parent
fc58ed2fb7
commit
78e94a46c9
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ ifdef my_bad_module_tags
|
|||
ifeq (true,$(LOCAL_UNINSTALLABLE_MODULE))
|
||||
$(call pretty-warning,LOCAL_MODULE_TAGS := $(my_bad_module_tags) does not do anything for uninstallable modules)
|
||||
endif
|
||||
ifeq ($(BUILD_BROKEN_ENG_DEBUG_TAGS),false)
|
||||
ifneq ($(BUILD_BROKEN_ENG_DEBUG_TAGS),true)
|
||||
$(call pretty-error,LOCAL_MODULE_TAGS := $(my_bad_module_tags) is obsolete. See $(CHANGES_URL)#LOCAL_MODULE_TAGS)
|
||||
else
|
||||
$(call pretty-warning,LOCAL_MODULE_TAGS := $(my_bad_module_tags) is deprecated. See $(CHANGES_URL)#LOCAL_MODULE_TAGS)
|
||||
|
|
Loading…
Reference in a new issue