- compile c/c++ with
-fprofile-arcs -ftest-coverage
- build apk and shared library, then you can find *.gcno files in local build directory
- set
GCOV_PREFIX
andGCOV_PREFIX_STRIP
to specify *.gcda save directory(in your phone), then run your app - pull *.gcda files to local directory
- use gcov/lcov/gcovr to generate reports
-
Notifications
You must be signed in to change notification settings - Fork 0
jiemojiemo/AndroidNativeCodeCoverageExample
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Android APK gcov code coverage example
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published