Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: site_scons/site_tools/target_platform_linux.py

Issue 13134: Pulling in hammer changes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « site_scons/site_tools/replicate.py ('k') | site_scons/site_tools/target_platform_mac.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site_scons/site_tools/target_platform_linux.py
===================================================================
--- site_scons/site_tools/target_platform_linux.py (revision 6345)
+++ site_scons/site_tools/target_platform_linux.py (working copy)
@@ -73,6 +73,15 @@
TARGET_PLATFORM='LINUX',
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(
« no previous file with comments | « site_scons/site_tools/replicate.py ('k') | site_scons/site_tools/target_platform_mac.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698