• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

README.mdD22-Nov-2023926 3724

vndk_abi_tool.pyD22-Nov-202312.3 KiB370275

README.md

1VNDK ABI Tool
2=============
3
4This is the wrapper command to collect ABI reference dumps from the binaries
5with debug information.
6
7
8## Usage
9
10First, lunch the product target:
11
12    $ cd ${AOSP_DIR}
13    $ source build/envsetup.sh
14    $ lunch ${YOUR_TARGET_NAME}
15
16Second, build `vndk-vtable-dumper`:
17
18    $ croot
19    $ cd development/vndk/tools/vtable-dumper
20    $ mm -j${NUM_CORES}
21
22Third, run `vndk_abi_tool.py` with VNDK library list file:
23
24    $ croot
25    $ cd development/vndk/tools/abi-tool
26    $ ./vndk_abi_tool.py --vndk-list=${VNDK_LIBRARY_LIST_FILE}
27
28The content of `${VNDK_LIBRARY_LIST_FILE}` should contain VNDK library names
29(one name per line.)  For example, if the VNDK library set contains
30`libjpeg.so` and `libpng.so`, then `${VNDK_LIBRARY_LIST_FILE}` will be:
31
32    libjpeg.so
33    libpng.so
34
35You can skip `--vndk-list` as well.  In that case, `vndk_abi_tool.py` will
36generate ABI dumps for all shared libraries.
37