This commit skips the errors that are caused by the access from apps (on
vendor or product partitions) to shared libraries described in
`/{system,vendor}/etc/public.libraries.txt`.
Bug: 110184925
Test: ./vndk_definition_tool.py check-dep \
--system ${ANDROID_PRODUCT_OUT}/system \
--vendor ${ANDROID_PRODUCT_OUT}/vendor \
--product ${ANDROID_PRODUCT_OUT}/product \
--tag-file datasets/eligible-list-XX.csv
Change-Id: I6eb07d500d0a625c74cde402ae06a351cad4400b
This commit adds initial support to `product` and `product_services`
partitions.
Test: ./tests/run.sh
Change-Id: I15cc1568c880cc783eed6d22fec288246305b66c
This commit removes a dead argument. This fixes a regression caused
by a related CL earlier.
Test: ./vndk_definition_tool.py deps-insight \
--system ${ANDROID_PRODUCT_OUT}/system \
--vendor ${ANDROID_PRODUCT_OUT}/vendor \
--product ${ANDROID_PRODUCT_OUT}/product
Change-Id: I70b7132f8c0679bd1cd934bae1066d1f127304f8
* changes:
def-tool: Rename FWK to SYSTEM and VND to VENDOR
def-tool: Skip dex test if smali cannot be found
def-tool: Rename *-Indirect to *-Private
def-tool: Remove dead arguments
This commit replaces abbrevations to full names, e.g. FWK-ONLY to
SYSTEM-ONLY and VND-ONLY to VENDOR-ONLY.
Test: ./tests/run.sh
Change-Id: Icf78c7097535ddff40f71a986501858936574f25
This commit skips dex test cases if the `smali` command cannot be found
from the path. Before this commit, the test was not skipped because the
`subprocess.checked_call()` throws `OSError` (instead of `IOError`) in
Python 2.
Test: ./tests/run.sh
Change-Id: Ic7ec11ab9d9de2294132d88a2b084ef11dd01c87
This commit add config file support to header-abi-diff so that we can
have per-branch configuration.
Bug: 112760591
Test: ./tests/test.py
Test: ${ANDROID_HOST_OUT}/nativetest64/header-checker-unittests/\
header-checker-unittests
Change-Id: I1fbd76c93991a2b36121a5f4397c62eb72d486ec
This commit adds `-allow-adding-removing-weak-symbols` option to
`header-abi-diff`. This allows vendor-specific branch to add or remove
weak symbols from their VNDK shared libs. This is sometimes necessary
when venders have their compiler toolchain or use different compiler
flags (e.g. inline heuristics).
Bug: 112760591
Test: ./tests/test.py
Change-Id: I94bceacc90cab093e8aa602bb7d866d6f433c5c7
This commit adds support to VdexHeader version 21.
Bug: 132133333
Test: ./vndk_definition_tool.py dump-dex-string *.vdex
Change-Id: Ia7850577cbd3bbe3dfc7e00b5b4dceddc08b1cf3
This commit add APEX bionic library paths to `minimal_tag_file.csv` and
`eligible-list-28.csv`. This should fix a false positive warning
regarding to non-VNDK-SP dependencies.
Note: `eligible-list-28.csv` is updated as well because it is possible
to have LLNDK 29 + VNDK 28.
Bug: 126126189
Test: ./vndk_definition_tool.py deps-insight \
--system ${ANDROID_PRODUCT_OUT}/system \
--vendor ${ANDROID_PRODUCT_OUT}/vendor
Change-Id: Ieb2841a79dbe466eca846d59549e9fc7b651aa03
libartbase, libdexfile and libziparchive are no longer vndk-sp-private
as they are not depended on by vndk-sp libraries. Removing them from
the list.
Bug: 131803549
Test: N/A
Change-Id: I9d7f713f76bc88ef341d81581d208b0c60ae802d
This commit removes dead methods (Merge and MergeElements) from IRReader
and hide most merge-related methods with private access.
Bug: 74764811
Test: ./tests/test.py
Change-Id: Ib6829ae16774183d53b9cf586ab080d635936bb2