From ac1fe5c8b2ae10e30139887723f15b8b342531da Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Tue, 12 Jul 2016 13:10:31 -0700 Subject: [PATCH] Turn ndk link check warning into error All instances of this have been removed from the downstream trees. The APK->JNI_SHARED_LIBRARY and Java->Java checks remain as warnings. Change-Id: I3eaee284500deee0f26a4f9cdd96497e99ec533e --- core/binary.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/binary.mk b/core/binary.mk index 9d3ef9baf..73b3bd9d0 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -1239,7 +1239,7 @@ $(my_link_type): $(my_link_type_deps) ifdef my_link_type_deps $(hide) for f in $(PRIVATE_DEPS); do \ grep -qE '^$(PRIVATE_ALLOWED_TYPES)$$' $$f || \ - $(call echo-warning,"$(PRIVATE_MAKEFILE): $(PRIVATE_MODULE) ($(PRIVATE_LINK_TYPE)) should not link to $$(basename $${f%_intermediates/link_type}) ($$(cat $$f))"); \ + ($(call echo-error,"$(PRIVATE_MAKEFILE): $(PRIVATE_MODULE) ($(PRIVATE_LINK_TYPE)) should not link to $$(basename $${f%_intermediates/link_type}) ($$(cat $$f))"); exit 1) \ done endif $(hide) echo $(PRIVATE_LINK_TYPE) >$@