Split the content of lsdump_paths.txt with newline.
Bug: 111814844
Test: m vndk findlsdumps -j18
Test: ./utils/create_reference_dumps.py -products aosp_arm64
Change-Id: I76ed008382fff8589d29ab97720d262a7636d523
- P VNDK snapshot needs to include 64-bit binder target products,
aosp_[arm|x86]. Additionally, replace aosp_[arm64|x86_64]_ab with
aosp_[arm64|x86_64], the official GSI targets for P launching devices.
- Also add the ability to create abi references for a single product
Bug: 80372796
Test: utils/create_reference_dumps.py -p aosp_arm
Change-Id: Id073850a11c23c3ff68a414fe7bfd0d70d16887d
Currently, we do abi checks on the system variants of llndk libraries.
Therefore, add an 'llndk' flag to specify that the system variant should be
built.
Bug: 77101345
Test: utils/create_reference_dumps.py --llndk -l libdl produces
libdl references.
Merged-In: Id4c607674f096daf041520d4a1ca43199d4451da
Change-Id: Id4c607674f096daf041520d4a1ca43199d4451da
(cherry picked from commit cd0e8aff22)
Currently, we do abi checks on the system variants of llndk libraries.
Therefore, add an 'llndk' flag to specify that the system variant should be
built.
Bug: 77101345
Test: utils/create_reference_dumps.py --llndk -l libdl produces
libdl references.
Change-Id: Id4c607674f096daf041520d4a1ca43199d4451da
If BOARD_VNDK_VERSION is not specified or is equal to "current",
PLATFORM_VNDK_VERSION will be chosen. Currently, BOARD_VNDK_VERSION is always
equal to "current" because both system and vendor images are built in a single
source tree.
Bug: 64267858
Bug: 76036094
Test: utils/create_reference_dumps.py
Merged-In: I3bc76fc0029e9656881e2d8d1b2b80272120f6e6
Change-Id: I3bc76fc0029e9656881e2d8d1b2b80272120f6e6
(cherry picked from commit 302086856c)
If BOARD_VNDK_VERSION is not specified or is equal to "current",
PLATFORM_VNDK_VERSION will be chosen. Currently, BOARD_VNDK_VERSION is always
equal to "current" because both system and vendor images are built in a single
source tree.
Bug: 64267858
Bug: 76036094
Test: utils/create_reference_dumps.py
Change-Id: I3bc76fc0029e9656881e2d8d1b2b80272120f6e6
Binder bitness does not always directly relate to primary arch as
thought before. For eg: a target with primary arch 'arm' could be using
64 bit binder.
Bug: 74362434
Test: utils/create_reference_dumps.py
Merged-In: I1c1214b538e67247c666307d1360e4260239e4e1
Change-Id: I1c1214b538e67247c666307d1360e4260239e4e1
(cherry picked from commit 5ab281f313)
Binder bitness does not always directly relate to primary arch as
thought before. For eg: a target with primary arch 'arm' could be using
64 bit binder.
Bug: 74362434
Test: utils/create_reference_dumps.py
Change-Id: I1c1214b538e67247c666307d1360e4260239e4e1
- pick up lsdump paths from
$(OUT_DIR)/lsdump_paths/$(TARGET_PRODUCT)/paths.txt instead of
searching through out/soong/.intermediates.
- llndk lsdumps also get picked up and copied to ref dump dir root now
- creation of references are more fine grained to take into account
target arch variant and cpu variant as well.
- references for vndk libs and llndk libs for all target archs and
variants can be generated with one invocation of the script now.
Test: utils/create_reference_dumps.py -l libjpeg -l libc++ -l libc
Test: utils/create_reference_dumps.py -l libjpeg -l libc++ -l libc
--no-make-lib
Test: utils/create_reference_dumps.py
Change-Id: I9105900b70c62c01f8282e1782cb38a42f4d4356
Since we now build and install all vndk libraries,regardless of
dependencies, we may just look for all files with the extension '.lsdump' for
TARGET_ARCH and TARGET_2ND_ARCH, and copy them to the given reference dump
directory.
Test: utils/create_reference_dumps.py --version current -ref-dump-dir
<dir> creates reference dumps at <dir>
Change-Id: Ic9db57b00614b3e8dc18d8e56eab4bd87df1723c
1) We do not involve the build system to create test reference dumps. Symbols
in tests, are faked through version scripts to avoid checking in prebuilt .so
test files.
2) Also add a script to create reference abi dumps.
3) Fix a comment in ast_processing.cpp
Test: Run tests/test.py, all tests run and pass on generic arm64, mips64
and x86_64 builds.
Change-Id: Id3a420c1ae093a05a79da4c29e85071f28d714d1