summaryrefslogtreecommitdiffstats
path: root/build
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
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')
-rw-r--r--build/common.croc27
-rw-r--r--build/linux/chrome_linux.croc23
-rw-r--r--build/mac/chrome_mac.croc23
-rw-r--r--build/win/chrome_win.croc23
4 files changed, 33 insertions, 63 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
diff --git a/build/linux/chrome_linux.croc b/build/linux/chrome_linux.croc
index 8a3628f..4ce75e2 100644
--- a/build/linux/chrome_linux.croc
+++ b/build/linux/chrome_linux.croc
@@ -7,27 +7,8 @@
{
# List of rules, applied in order
'rules' : [
- # Files/paths to include. Specify these before the excludes, since rules
- # are in order.
- {
- 'regexp' : '^CHROMIUM/(base|media|net|printing|chrome|v8|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,
- },
+ # Specify inclusions before exclusions, since rules are in order.
+
# Don't include non-Linux platform dirs
{
'regexp' : '.*/(chromeos|views)/',
diff --git a/build/mac/chrome_mac.croc b/build/mac/chrome_mac.croc
index a31f4d0..f202cb9 100644
--- a/build/mac/chrome_mac.croc
+++ b/build/mac/chrome_mac.croc
@@ -4,27 +4,8 @@
{
# List of rules, applied in order
'rules' : [
- # Files/paths to include. Specify these before the excludes, since rules
- # are in order.
- {
- 'regexp' : '^CHROMIUM/(base|media|net|printing|chrome|v8|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|xcodebuild)/',
- 'include' : 0,
- },
- # Don't include third-party source
- {
- 'regexp' : '.*/third_party/',
- 'include' : 0,
- },
+ # Specify inclusions before exclusions, since rules are in order.
+
# Don't include linux or windows specific files
{
'regexp' : '.*(_|/)(linux|win|views)(\\.|_)',
diff --git a/build/win/chrome_win.croc b/build/win/chrome_win.croc
index 3b2987a..d4770d6 100644
--- a/build/win/chrome_win.croc
+++ b/build/win/chrome_win.croc
@@ -4,27 +4,8 @@
{
# List of rules, applied in order
'rules' : [
- # Files/paths to include. Specify these before the excludes, since rules
- # are in order.
- {
- 'regexp' : '^CHROMIUM/(base|courgette|media|net|printing|chrome|v8|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|xcodebuild)/',
- 'include' : 0,
- },
- # Don't include third-party source
- {
- 'regexp' : '.*/third_party/',
- 'include' : 0,
- },
+ # Specify inclusions before exclusions, since rules are in order.
+
# Don't include posix or linux specific files
{
'regexp' : '.*(_|/)(linux|posix)(\\.|_)',