vndk-def: Warn on bad user-specified dependencies.

Test: ./tests/run.py
Change-Id: I0365be01e92297c198164f62b3bbc2313b2acb89
This commit is contained in:
Logan Chien
2017-03-06 19:40:54 +08:00
parent e7764858a8
commit d2fcbb48bc

View File

@@ -634,6 +634,9 @@ class ELFLinker(object):
dst = lib_set.get(dst_path)
if src and dst:
src.add_dep(dst, ty)
return
print('error: cannot add dependency from {} to {}.'
.format(src_path, dst_path), file=sys.stderr)
def map_path_to_lib(self, path):
for lib_set in (self.lib32, self.lib64):