Merge \\"Turn unused source files from warning to error\\" am: 73609480b3
am: 90f03ecfee
Change-Id: Ib350a58be93424cba2d9c18a55c40fce12af852e
This commit is contained in:
commit
46b4d7aa8f
1 changed files with 1 additions and 1 deletions
|
@ -1285,7 +1285,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
|
||||
|
|
Loading…
Reference in a new issue