| Index: site_scons/site_tools/target_platform_mac.py
|
| ===================================================================
|
| --- site_scons/site_tools/target_platform_mac.py (revision 6345)
|
| +++ site_scons/site_tools/target_platform_mac.py (working copy)
|
| @@ -138,6 +138,15 @@
|
| TARGET_PLATFORM='MAC',
|
| COMPONENT_PLATFORM_SETUP=ComponentPlatformSetup,
|
| CCFLAG_INCLUDE='-include', # Command line option to include a header
|
| +
|
| + # Code coverage related.
|
| + COVERAGE_CCFLAGS=['-ftest-coverage', '-fprofile-arcs'],
|
| + COVERAGE_LIBS='gcov',
|
| + COVERAGE_STOP_CMD=[
|
| + '$COVERAGE_MCOV --directory "$TARGET_ROOT" --output "$TARGET"',
|
| + ('$COVERAGE_GENHTML --output-directory $COVERAGE_HTML_DIR '
|
| + '$COVERAGE_OUTPUT_FILE'),
|
| + ],
|
| )
|
|
|
| env.Append(
|
|
|