From 9efeb1ea4feaf393f7e0fa3d10e19c7289f45ee2 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Tue, 28 Jun 2016 10:22:08 -0700 Subject: [PATCH] Turn unused source files from warning to error All instances have disappeared from the build server, so switch this to error before more turn up. Change-Id: Iac07526a6e77ebf33733033249f2a108aae3fa7d --- core/binary.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/binary.mk b/core/binary.mk index bcf07c272..9d3ef9baf 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -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