1) Marking a field "required" robs us of flexibility. Make fields optional
allows us to update the message format without needing to necessarily
update the reference abi-dumps.
2) Allow local warnings with the invocation of header-abi-diff.
Test: Added a function to libjpeg, got a warning claiming abi extended.
3) Introduce a flag which allows us to not filter any abi. This is
useful for cases when libraries do not include what they export. eg :
libsqlite.
Test: abi-dump size of libsqlite:
without no-filter : 0
with no-filter : ~9M
Bug: 32750600
Merged-In: I6dcd3ab95053fcac0ed399d82c2bc3724bb46a10
Change-Id: I6cfeacc8711f6df7a4136c2a27b5638988a2c54b
(cherry picked from commit e6a88775e9)
The new version produces api-versions.xml file with API removal
information. The format of the file is backward compatible.
Test: api-generator was tested as part of ag/2298689
Bug: 37127307
Change-Id: I0db84363b973a2c6076dcb42033a09a5566ff9f1
Bug: 38325544
Test:
As shown by out/build.trace.gz when using built header-abi-linker to
link .sdump files produced by header-abi-linker.
Without fix:
Time taken to produce libc.so.lsdump by header-abi-linker => ~51 sec
With fix:
Time taken to produce libc.so.lsdump by header-abi-linker => ~3 sec
Bug: 38325929
Test: merged abiff reports of libjpeg, libc.
Merged-In: Ibfa85507b3f035f85b4678ac7a0a7bd0d4a9b966
Change-Id: Iae54f4754d8b0407fabdb8bc8550a7f7b3479f8f
(cherry picked from commit eb755c1323)
Switch from assuming that "root" meant su to an explicit prepended
argument, to allow things like `gdbclient.py --user shell`.
Test: gdbclient.py --user shell -r /system/bin/ls
Change-Id: I9d02eea7c6d79898ed8b13817e009630b0f9536a
This commit adds libvndksupport.so to LL-NDK list. libvndksupport.so
is a wrapper library over some platform-only libdl.so APIs.
Test: ./tests/test_ndk_libs.py
Change-Id: I25465f6d94441a22da3bf9a7c8417e2388c764da
This commit updates the vndk-sp list according to b/36705501. Some
libs are still under discussion and might be removed in the future.
Bug: 36705501
Test: ./tests/test_elf_linker.py
Change-Id: I55d4b4e31ac326218f2048f69b7a9a2c51045291
This commit removes `--warn-high-level-ndk-deps` and
`--warn-banned-vendor-lib-deps`. These options are removed in favor of
the eligible vndk list. In next CL, a user can specify an eligible VNDK
list with `--tag-file`. VNDK definition tool will print warnings if
vendor modules are using ineligible framework libraries.
Test: ./tests/run.py
Change-Id: I0bb11de70c93f1447bb041561e80e342aa400fd4
Because gen-platforms.sh includes the current *bionic* directories, this
mistake in the android-9 crtbegin.c wasn't being noticed. It was using
the platform __stack_chk_fail_local.h instead of the missing local one.
crtbegin.c:63:59: fatal error: ../../arch-x86/bionic/__stack_chk_fail_local.h: No such file or directory
# include "../../arch-x86/bionic/__stack_chk_fail_local.h"
Bug: N/A
Test: builds
Change-Id: I8306cee1cf6d974ac5c3dae0c2927af3ceeb2cf6
This commit adds `--aosp-system` option to simplify the command line
usages. The user can specify the aosp image system directory directly
and skip the `create-generic-ref` subcommand.
Test: Compare the output with `--load-generic-refs` and `--aosp-system`.
Change-Id: Ibb76bd59ea504808545775562feefcd8a95ee267