Hi Sandeep,
I plan to put up a wiki page with all the necessary documentation and patches for the Android build system.
In a nutshell, it's pretty simple, if you want a quick and dirty solution:
1. Download the dependencies and make sure the demo works
2. In your Android.mk, set LOCAL_CC or LOCAL_CXX to "$PATH_TO_CCWRAP.py ($TARGET_CC/CXX)
3. ln -s TRACES_PATH $ANDROID_ROOT/external/
traces
4. Compile
You should make sure that your Android target has a directory /dev/shm in a tmpfs system.
The build will also compile trace_dumper and the
trace readers, which can be run your Android target.