Added coverage stats and report generation.
Sample Usage:
build/android/coverage.py -v --out <output file path> --emma-dir <EMMA file directory> --lines-for-coverage-file <path to file containing lines for coverage>
This CL adds the ability to generate code coverage reports for Java code. To use this script, a JSON file should exist that maps file paths to lists of integers, representing the lines that have changed for each file (i.e. incremental changes).
The generated report contains overall coverage, coverage for the lines specified in the input file, and line by line coverage for each file included in the input file.
BUG=501536
Review URL: https://codereview.chromium.org/
1216033009
Cr-Commit-Position: refs/heads/master@{#341437}