NDK API coverage

Update the gen_ndk_usedby_apex.sh script to generate NDK API list with
library name.

Test: TARGET_BUILD_APPS=com.android.adbd m dist apps_only

Change-Id: I799e03ad7d81a4184229f658fd6c8824b9ba6e1f
This commit is contained in:
sophiez
2021-03-25 22:11:44 +00:00
parent 9c35c5d2a6
commit ae5da5ba78

View File

@@ -33,7 +33,7 @@ parseReadelfOutput() {
do
if [[ $line = *FUNC*GLOBAL*UND*@* ]] ;
then
echo "$line" | sed -r 's/.*UND (.*)@.*/\1/g' >> "$2"
echo "$line" | sed -r 's/.*UND (.*@.*)/\1/g' >> "$2"
fi
done < "$1"
echo "" >> "$2"