You can do it in multiple ways.
- Add -S flag to LOCAL_CFLAGSin yourAndroid.mk. Thenrun ndk-build. But this will fail on first file, so you won't get assembler code on later files.
- Invoke arm-linux-androideabi-gcc -S file.cppmanually from commandline on needed file. Additionally you could need to pass correct includes defines. Runndk-build V=1to see exactly what commandline it uses
- run build normally to get shared library (.so file). And run arm-linux-androideabi-objdump -d libYourLibrary.so >disasm.txt. This will dissasembly whole library, not just one .cpp file.