diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-09-18 15:51:14 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-09-18 16:20:35 -0400 |
commit | 7c03348d9c2de43684fa69c3c9e227b25daceaaa (patch) | |
tree | dcffc1fd8ceba61a21a14ee6ac8696e7b7ae2c30 /scripts | |
parent | a357a6af0cf515883dfa26fd2cb80ac055a491de (diff) |
Add source and coverage information to widgetsneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.013.93.012.93.012.92.012.91.012.90.112.90.011.92.011.91.010.93.010.92.010.91.0
Add source and coverage information installation to debug and
coverage widgets. The source tree will be installed to "src" in
debug and coverage widgets, with some non-source directories like
doc/docs excluded. The gcc produced "gcno" files for generating
coverage reports will be installed to "coverage" in coverage
widgets. A different directory than that for source is used, as
the gcno files are in the build output hierarchy, which is not the
same as the source tree hierarchy when using CMake. This hierarchy
needs to be preserved to be able to use gcc's coverage support.
As part of this scheme, an environment file containing values for
the GCOV_PREFIX and GCOV_PREFIX_STRIP variables is generated and
added to "coverage". The latter variable can only be calculated
during widget build, and is essential for abstracting the build
directory location and enabling gcov usage on target.
Bug-AGL: SPEC-3589
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I258fff0295444bb257d24d442798347728ee7875
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions