Merge \\\"Turn unused source files from warning to error\\\" am: 73609480b3 am: 90f03ecfee

am: 46b4d7aa8f

Change-Id: I52d276c2154214967373a6e0b9997fdf60be8265
This commit is contained in:
Dan Willemsen 2016-06-28 19:53:37 +00:00 committed by android-build-merger
commit 959e62c54f

View file

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