From 8faa6591e3086f90fe7569f39867613286eba9b8 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Fri, 21 Jul 2017 13:28:43 +0800 Subject: vndk-def: Print dest source directory in check-dep This commit prints the source directory of the dependencies shown in the check-dep subcommand. Test: ./vndk-definition-tool.py check-dep --module-info ... and the MODULE_PATH shows up in the dependencies. Bug: 62898574 Change-Id: I4a16781943c2a1948a92a49234e4079d2539139b Merged-In: Ic22e6962831425dd19270f028f319245b8be5529 (cherry picked from commit 085d4f1f7d187edd7bca9f83977ec082b1b6d1c2) --- vndk/tools/definition-tool/vndk_definition_tool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vndk/tools/definition-tool/vndk_definition_tool.py b/vndk/tools/definition-tool/vndk_definition_tool.py index 5767028fa..a3938e740 100755 --- a/vndk/tools/definition-tool/vndk_definition_tool.py +++ b/vndk/tools/definition-tool/vndk_definition_tool.py @@ -2344,6 +2344,8 @@ class CheckDepCommandBase(ELFGraphCommand): print('\tMODULE_PATH:', module_path) for dep in sorted(bad_deps): print('\t' + dep.path) + for module_path in module_info.get_module_path(dep.path): + print('\t\tMODULE_PATH:', module_path) for symbol in lib.get_dep_linked_symbols(dep): print('\t\t' + symbol) -- cgit v1.2.3