diff options
author | Dan Willemsen <dwillemsen@google.com> | 2016-07-12 13:10:31 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2016-07-12 13:10:31 -0700 |
commit | ac1fe5c8b2ae10e30139887723f15b8b342531da (patch) | |
tree | 1259f824d01b1a0ed7c1b7f0ec1d142bfa64a994 | |
parent | 8bc18d35ec8bc892b32a726a75ea979cf357245a (diff) | |
download | build-ac1fe5c8b2ae10e30139887723f15b8b342531da.tar.gz |
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
-rw-r--r-- | core/binary.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/binary.mk b/core/binary.mk index 9d3ef9bafc..73b3bd9d01 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) >$@ |