summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-07 01:00:12 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-07 01:00:12 +0000
commitedcbed942435d8a900f89a244ec67296e005777b (patch)
tree96515cbd617cb04e9f34da1092e59812bde29c7b /build
parentd8922f242f544d7bdd84263676e75906e154e2c2 (diff)
downloadchromium_src-edcbed942435d8a900f89a244ec67296e005777b.zip
chromium_src-edcbed942435d8a900f89a244ec67296e005777b.tar.gz
chromium_src-edcbed942435d8a900f89a244ec67296e005777b.tar.bz2
[TFF] Coverage: Don't include any non-Linux platform directories in the Linux code coverage analysis.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2046002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46647 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/linux/chrome_linux.croc10
-rw-r--r--build/mac/chrome_mac.croc4
2 files changed, 11 insertions, 3 deletions
diff --git a/build/linux/chrome_linux.croc b/build/linux/chrome_linux.croc
index c67be24..8a3628f 100644
--- a/build/linux/chrome_linux.croc
+++ b/build/linux/chrome_linux.croc
@@ -1,6 +1,9 @@
# -*- python -*-
# Crocodile config file for Chromium linux
+# TODO(jhawkins): We'll need to add a chromeos.croc once we get a coverage bot
+# for that platform.
+
{
# List of rules, applied in order
'rules' : [
@@ -25,9 +28,14 @@
'regexp' : '.*/third_party/',
'include' : 0,
},
+ # Don't include non-Linux platform dirs
+ {
+ 'regexp' : '.*/(chromeos|views)/',
+ 'include' : 0,
+ },
# Don't include windows or mac specific files
{
- 'regexp' : '.*(_|/)(mac|win)(\\.|_)',
+ 'regexp' : '.*(_|/)(mac|win|views)(\\.|_)',
'include' : 0,
},
diff --git a/build/mac/chrome_mac.croc b/build/mac/chrome_mac.croc
index 9d1d393..a31f4d0 100644
--- a/build/mac/chrome_mac.croc
+++ b/build/mac/chrome_mac.croc
@@ -25,9 +25,9 @@
'regexp' : '.*/third_party/',
'include' : 0,
},
- # Don't include windows or mac specific files
+ # Don't include linux or windows specific files
{
- 'regexp' : '.*(_|/)(linux|win)(\\.|_)',
+ 'regexp' : '.*(_|/)(linux|win|views)(\\.|_)',
'include' : 0,
},