Merge "Turn unused source files from warning to error"

This commit is contained in:
Treehugger Robot 2016-06-28 19:41:39 +00:00 committed by Gerrit Code Review
commit 73609480b3
1 changed files with 1 additions and 1 deletions

View File

@ -1251,7 +1251,7 @@ endif
my_unused_src_files := $(filter-out $(logtags_sources) $(my_tracked_src_files),$(my_src_files) $(my_gen_src_files))
ifneq ($(my_unused_src_files),)
$(warning $(LOCAL_MODULE_MAKEFILE): $(LOCAL_MODULE): Unused source files: $(my_unused_src_files))
$(error $(LOCAL_MODULE_MAKEFILE): $(LOCAL_MODULE): Unused source files: $(my_unused_src_files))
endif
# some rules depend on asm_objects being first. If your code depends on