vndk-def: Introduce better eligible list

This commit adds TaggedLibDict to read eligible list from CSV files and
decide whether a lib is visible to another module.

Note: The file format for eligible-list.csv has been changed.  Prepend
library names with `/system/${LIB}/`, e.g. `/system/${LIB}/libc.so`.

Test: ./tests/test_tagged_lib_dict.py
Test: ./tests/run.py
Change-Id: Id415642b7a5609a3cf791364519a443a6c17c1a3
2 files changed