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

Unified Diff: build/common.croc

Issue 2022007: TTF: Don't include v8 in the coverage results. Also moves common rules to common.croc. (Closed)
Patch Set: Created 10 years, 7 months 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 | « no previous file | build/linux/chrome_linux.croc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.croc
diff --git a/build/common.croc b/build/common.croc
index 3c07d63f0f3d0783a74f842d400ad8e24008320c..5588990d2fba6d4d50a420a5fa63f7d346868964 100644
--- a/build/common.croc
+++ b/build/common.croc
@@ -43,6 +43,33 @@
'regexp' : '.*\\.(cc|cpp|hpp)$',
'language' : 'C++',
},
+
+ # Files/paths to include. Specify these before the excludes, since rules
+ # are in order.
+ {
+ 'regexp' : '^CHROMIUM/(base|media|net|printing|chrome|webkit/glue|native_client)/',
+ 'include' : 1,
+ },
+ # Don't include subversion or mercurial SCM dirs
+ {
+ 'regexp' : '.*/(\\.svn|\\.hg)/',
+ 'include' : 0,
+ },
+ # Don't include output dirs
+ {
+ 'regexp' : '.*/(Debug|Release|sconsbuild|out|xcodebuild)/',
+ 'include' : 0,
+ },
+ # Don't include third-party source
+ {
+ 'regexp' : '.*/third_party/',
+ 'include' : 0,
+ },
+ # We don't run the V8 test suite, so we don't care about V8 coverage.
+ {
+ 'regexp' : '.*/v8/',
+ 'include' : 0,
+ },
],
# Paths to add source from
« no previous file with comments | « no previous file | build/linux/chrome_linux.croc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698