summaryrefslogtreecommitdiffstats
path: root/build/common.croc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-12 21:10:56 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-12 21:10:56 +0000
commit1cbfc541a98d89c1e7d72f592eec0e18a85c98e1 (patch)
treefed8f4431d74652ffdab3ec4721a21e0c649c05e /build/common.croc
parentc1b60c1bf92e06c3c3e9c3300acd7d057b16ee89 (diff)
downloadchromium_src-1cbfc541a98d89c1e7d72f592eec0e18a85c98e1.zip
chromium_src-1cbfc541a98d89c1e7d72f592eec0e18a85c98e1.tar.gz
chromium_src-1cbfc541a98d89c1e7d72f592eec0e18a85c98e1.tar.bz2
TTF: Don't include v8 in the coverage results. Also moves common rules to common.croc.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2022007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.croc')
-rw-r--r--build/common.croc27
1 files changed, 27 insertions, 0 deletions
diff --git a/build/common.croc b/build/common.croc
index 3c07d63..5588990 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