* changes:
Add command line option(s) to chose text format.
Make de-duplication of abi elements concurrent.
Re-factor linker code to use IR and be text format agnostic.
Optimize TextFormatToIRReader API.
Added command line options to header-abi-dumper and header-abi-diff to
support multiple text formats.
Bug: 63865902
Test: BOARD_VNDK_VERSION=current mm -j64 in
frameworks/compile/libbcc/bcinfo produces libbcinfo.so.lsdump
successfully.
Test: tests/test.py; all tests pass.
Change-Id: I291d3af16e90b12ee131bb864f90a5b96189db13
Bug: 63590537
Test: compared the linked abi dump for libbcinfo without this change and
with this change using header-abi-diff, found no differences.
Test:
Without this change - linking libbcinfo.so.lsdump measured with 'time' :
real 0m37.245s
user 0m36.448s
sys 0m0.796s
With this change - linking libbcinfo.so.lsdump measured with 'time':
real 0m8.618s
user 0m36.240s
sys 0m2.988s
Test: tests/test.py; all tests pass.
Change-Id: Ice08147496b22c232102f1d1c2e41fc3067fbeaf
For header-abi-linker, convert text format specific code into IR code.
this gives us the benefit of being able to support multiple text formats
Bug: 63865902
Test: compared the linked abi dump for libbcinfo without this change and
with this change using header-abi-diff, found no differences.
Test: tests/test.py; all tests pass.
Change-Id: Iec05e85c1d6089c089e15acd7a05110d566fade5
Make TextFormatToIRReader to return maps instead of vectors. This allows
us to 'merge' two TextFormatToIRReaders more efficiently, which enables
more efficient and cleaner code for multi-threaded linking.
Test: tests/test.py; all tests pass.
Change-Id: I6dae0080af9f36216d30370d4f4936eedcda83d1
This commit adds regular expression matching and ${LIB} substitution to
extra deps file format (`--load-extra-deps`).
Test: ./tests/test_elf_linker.py
Test: ./tests/run.py
Change-Id: I9393d3de50a80adc0d0a947ada8c7197d364e48e
The build script, build.sh, invokes the 'vndk' phony make target
to generate VNDK snapshots for all four archs arm, arm64, x86,
x86_64.
Test: development/vndk/snapshot/build.sh
Bug: 66059995
Change-Id: I0a48bb88bafc5e4a015f1016afcd55f616ab02e2
Run the build script with the location of the GSI build, device build,
output, and checkvintf tool.
Bug: 68327258
Test: Run script with sailfish and aosp artifacts.
Merged-In: Ic33dccae26bd70e90badf758266492c9b69eebea
Change-Id: Ic33dccae26bd70e90badf758266492c9b69eebea
This commit add regular expression support to tag file reader and stop
hard coding SP-HAL in vndk_definition_tool.py.
Test: ./tests/run.py
Test: Run vndk_definition_tool.py for a device and all outputs are same
Change-Id: Iae2631a965045e80c7373970e3f1e61209f3006a
The LLVM libraries used for RenderScript have been changed to include
the "_android" suffix.
Test: make PRODUCT-sdk_x86-sdk dist sdk_repo
Change-Id: If328eac65c78877d608f097ec18f6197a17df804