Create reference dumps only from lsdumps

This commit changes dump_abi.py to collect reference ABI dumps only
from lsdump infromations. Since lsdump now contains symbol binding
(aosp/735565), we don't need to rely on elf_parser to gather ELF
symbol information.

Also changes the way dump_abi.py receives options.
dump_abi.py now receives all its options from commandline.
If a option is not specified, then default value for the option is read
from build variables.

Bug: 80217511
Test: ./dump_abi.py ../../../../build/make/target/product/vndk/current.txt \
      --binder-bitness=64 --platform-vndk-version=Q --target-main-arch=arm64 \
      --target-arch=arm64 --target-arch-variant=armv8-a
Test: ./dump_abi.py ../../../../build/make/target/product/vndk/current.txt \
      --binder-bitness=64 --platform-vndk-version=Q --target-main-arch=arm64 \
      --target-arch=arm --target-arch-variant=armv8-a
Test: ./dump_abi.py ../../../../build/make/target/product/vndk/current.txt
Change-Id: I4e3ad35a4b80e2f1d2fc76d1a3be2b334bf2b0f9
1 file changed