Logs from a previous run interfere with the new logs.
Bug: 68327258
Test: Run script with sailfish and aosp artifacts
Change-Id: I31444f46da373b79f699f86a03337bba63146e86
Builtin types do not need an 'IsPresentInExportedHeaders' check while
linking.
Bug: 63865902
Test: mm -j64 in external/libjpeg-turbo, resulting linked abi dump has
builtin types (when used with built version on header-abi-linker)
Change-Id: I7816c6522b8a4873ebcdf6c325a6e224eab48de7
Add SystemAsRoot = on to advancedFeatures.ini.
BUG: 69770927
Test: build sdk_gphone_x86-userdebug,
boot to home with tot emulator
Test: build sdk_phone_armv7-userdebug,
boot to home with tot emulator
Change-Id: I72bb3c1b9bb09293284765f63047ce82fb039cc0
Merged-In: I72bb3c1b9bb09293284765f63047ce82fb039cc0
* 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
This commit removes the rename_lib() from normalize_partition_tags().
Before this commit, a different heuristic was adopted. If a system
shared library is not in the AOSP system image and it is depending on
some vendor libraries, then assume such library is a vendor shared
library that was incorrectly installed into system image.
normalize_partition_tags() will move such libraries into vendor
partition implicitly. It turns out to be a confusing behavior to some
vendors.
This commit removes the aforementioned heuristic. VNDK definition tool
will simply emit a warning and hide the violating dependencies in the
future.
Test: ./tests/run.py
Test: Run VNDK definition tool on sailfish images.
Test: Run VNDK definition tool on some internal images.
Change-Id: I760cfe22215829d757963f0532eb7f6427f72d84
This commit replaces remove_dep() with hide_dep() so that the
dependencies can be kept in deps-insight command.
Before this commit, system-to-vendor dependencies will be removed and
won't be present in the output of deps-insight command.
Test: ./tests/test_vndk.py
Test: ./tests/test_command_deps_insight.py
Change-Id: I377a81f98a726219e241e79ae6274e9b124de035
This test actually belongs with the adb python wrapper, since it's not
affected by changes to adb itself.
Bug: http://b/64260633
Test: python test.py
Change-Id: Ia70a5529e30d91ea6232c65c9d50b2dabd07b925
The gdbrunner script executes "ps" to list all running processes and
this needs to be changed to "ps -A" (toybox) for Android O instead of
"ps -w" (busybox) for custom ROMs or "ps" (toolbox) as default.
Test: manual
Change-Id: I99606cdf51b124369e4d0fcfe5917109cefe408c