From 2015ccce8571ead2d0673d02ea12f460d6a37662 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Wed, 27 Sep 2017 15:26:21 +0800 Subject: [PATCH] vndk-def: Add more vendor lib search paths This commit adds /vendor/lib/hw and /vendor/lib/egl to the search path for vendor processes. The change in this CL matches with the latest `ld.config.txt` in `system/core/rootdir/ld.config.txt.in`. Bug: 64503245 Test: Run vndk_definition_tool.py and a false error about missing a library disappears. Change-Id: If2e3c03d5049c1893cabed84c78f760fa251d308 --- 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 6887c75cd..4afbe1330 100755 --- a/vndk/tools/definition-tool/vndk_definition_tool.py +++ b/vndk/tools/definition-tool/vndk_definition_tool.py @@ -1240,6 +1240,8 @@ class ELFLinker(object): ) VENDOR_SEARCH_PATH = ( + '/vendor/${LIB}/hw', + '/vendor/${LIB}/egl', '/vendor/${LIB}', '/vendor/${LIB}/vndk-sp', '/system/${LIB}/vndk-sp',