aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2019-09-17 14:00:07 -0700
committerDan Albert <danalbert@google.com>2019-09-17 14:07:42 -0700
commite8f2ded41cfcc281ec26d28d553d24d4631e65f7 (patch)
treed5c3682dc6faac57d9ff550557f035bded254976 /build
parente310dca739efeb9f42aadb1511190612c3ef94dd (diff)
downloadndk-e8f2ded41cfcc281ec26d28d553d24d4631e65f7.tar.gz
Improve missing dependency error message.
Test: Manual Bug: None Change-Id: I16b59b1d7c25d3ecdcd083f9dd65408106560fb8
Diffstat (limited to 'build')
-rw-r--r--build/core/build-binary.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/core/build-binary.mk b/build/core/build-binary.mk
index a37638229..e6479cf51 100644
--- a/build/core/build-binary.mk
+++ b/build/core/build-binary.mk
@@ -638,7 +638,13 @@ ifdef undefined_libs
# Application.mk or on the command line to revert to the old, broken
# behavior.
ifneq ($(APP_ALLOW_MISSING_DEPS),true)
- $(call __ndk_error,Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies))
+ $(call __ndk_error,Note that old versions of ndk-build silently ignored \
+ this error case. If your project worked on those versions$(comma) \
+ the missing libraries were not needed and you can remove those \
+ dependencies from the module to fix your build. \
+ Alternatively$(comma) set APP_ALLOW_MISSING_DEPS=true to allow \
+ missing dependencies.)
+ $(call __ndk_error,Aborting.)
endif
endif