Home | History | Annotate | only in /development/vndk/tools/abi-tool
Up to higher level directory
NameDateSize
README.md05-Oct-2017926
vndk_abi_tool.py05-Oct-201712.3K

README.md

      1 VNDK ABI Tool
      2 =============
      3 
      4 This is the wrapper command to collect ABI reference dumps from the binaries
      5 with debug information.
      6 
      7 
      8 ## Usage
      9 
     10 First, lunch the product target:
     11 
     12     $ cd ${AOSP_DIR}
     13     $ source build/envsetup.sh
     14     $ lunch ${YOUR_TARGET_NAME}
     15 
     16 Second, build `vndk-vtable-dumper`:
     17 
     18     $ croot
     19     $ cd development/vndk/tools/vtable-dumper
     20     $ mm -j${NUM_CORES}
     21 
     22 Third, 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 
     28 The 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 
     35 You can skip `--vndk-list` as well.  In that case, `vndk_abi_tool.py` will
     36 generate ABI dumps for all shared libraries.
     37