Regarding gcov using arm-eabi toolchain

by Manish Sharma » Wed, 08 Dec 2010 16:28:03 GMT

Sponsored Links
 Dear All,

We have developed an application for which we would like to check the code
We have used gcov available in android toolchain.

In our file we have added the following LOCAL_FLAGS and included
the libgcov static library.

LOCAL_CFLAGS:= -fprofile-arcs -ftest-coverage


We got some compilation issues which was resolved by copying the libgcov
library from
using BUILD_PREBUILT make rules.

The output executable size is also increased with this and in out folder was
can see *.gcno files getting created.

When we execute the test *.gcda files are generated on target but when we
try to take the code coverage using lcov it is not generating the code
coverage report.

lcov --directory code_coverage/ --capture --output-file ./
genhtml -o code_coverage/ ./

We have tested the same setup with arm-linux toolchain and it works fine.

Please provide some pointer which we can look into.



Other Threads

1. Change Browser or Mms(Messaging) app Settings Programmatically

Sorry, those are not available from the SDK.

Mark Murphy (a Commons Guy) |

Android Development Wiki:


2. Change Browser or Mms(Messaging) app Settings Programmatically

Hi all,

I'm looking for a way to access the settings for the browser and mms
apps programmatically. I know that there are APIs for browser content
providers to add bookmarks and add search strings to the db. But is
there a way to access any of the options such as text size, default
zoom, etc. I've looked at the source but can't seem to find a way, as
the preferences file is private and there being no content providers
for these settings.



3. Custom BaseAdapter + dynamic updates = crash in ListView layout

4. how to set Wifi settings in Android simulator??

5. How can I create TextAppearanceSpan which looks like an anchor

6. Solved WTA : ngapus account di hero

7. Deciding which method to call when intent is received