summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLogan Chien <loganchien@google.com>2017-07-21 13:28:43 +0800
committerLogan Chien <loganchien@google.com>2017-08-23 09:56:41 +0800
commit8faa6591e3086f90fe7569f39867613286eba9b8 (patch)
treeba2c5e64bad2894116c47ebc5c206aedc566d69e
parent88de96af6b54afab77c9ef60a6c951aa7c066ffb (diff)
downloadandroid_development-8faa6591e3086f90fe7569f39867613286eba9b8.tar.gz
android_development-8faa6591e3086f90fe7569f39867613286eba9b8.tar.bz2
android_development-8faa6591e3086f90fe7569f39867613286eba9b8.zip
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)
-rwxr-xr-xvndk/tools/definition-tool/vndk_definition_tool.py2
1 files changed, 2 insertions, 0 deletions
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)