$(ANDROID_BUILD_TOP)/prebuilts/abi-dumps/vndk --version current
--vndk_list : file containing a list of the libraries whose reference dumps are to be created, seperated by \n. For eg: vndk_list: libtinyxml2 libziparchive libc++ --version: This is the version of the vndk being built. This will create corresponding .lsdump files at $(ANDROID_BUILD_TOP)/prebuilts/abi-dumps/vndk/arm(64)/current/source-based
gzip the reference dumps produced : $ cd $(ANDROID_BUILD_TOP)/prebuilts/abi-dumps/vndk/arm(64)/current/source-based; $ gzip *.lsdump;
The same procedure should also be followed for ll-ndk libraries, listing them in a seperate file and running create_reference_dumps.py with -ref-dump-dir set to $(ANDROID_BUILD_TOP)/prebuilts/abi-dumps/ndk.
On subsequent arm based builds, header-abi-diff will report warnings on abi-breakages and changes to exported apis.