Index: build/mac/chrome_mac.croc |
=================================================================== |
--- build/mac/chrome_mac.croc (revision 17130) |
+++ build/mac/chrome_mac.croc (working copy) |
@@ -1,3 +1,4 @@ |
+# -*- python -*- |
# Crocodile config file for Chromium mac |
{ |
@@ -6,7 +7,7 @@ |
# Files/paths to include. Specify these before the excludes, since rules |
# are in order. |
{ |
- 'regexp' : '^#/src/(base|media|net|printing)/', |
+ 'regexp' : '^CHROMIUM/(base|media|net|printing)/', |
'include' : 1, |
}, |
# Don't include subversion or mercurial SCM dirs |
John Grabowski
2009/05/29 00:34:43
Seems a few more rules here (no svn, output dirs,
|
@@ -32,24 +33,12 @@ |
# Groups |
{ |
- 'regexp' : '', |
- 'group' : 'source', |
- }, |
- { |
- 'regexp' : '.*_(test|test_mac|unittest)\\.', |
+ 'regexp' : '.*_test_mac\\.', |
'group' : 'test', |
}, |
# Languages |
{ |
- 'regexp' : '.*\\.(c|h)$', |
- 'language' : 'C', |
- }, |
- { |
- 'regexp' : '.*\\.(cc|cpp|hpp)$', |
- 'language' : 'C++', |
- }, |
- { |
'regexp' : '.*\\.m$', |
'language' : 'ObjC', |
}, |
@@ -58,39 +47,4 @@ |
'language' : 'ObjC++', |
}, |
], |
- |
- # Paths to add source from |
- 'add_files' : [ |
- '#/src' |
- ], |
- |
- # Statistics to print |
- 'print_stats' : [ |
- { |
- 'stat' : 'files_executable', |
- 'format' : '*RESULT FilesKnown: files_executable= %d files', |
- }, |
- { |
- 'stat' : 'files_instrumented', |
- 'format' : '*RESULT FilesInstrumented: files_instrumented= %d files', |
- }, |
- { |
- 'stat' : '100.0 * files_instrumented / files_executable', |
- 'format' : '*RESULT FilesInstrumentedPercent: files_instrumented_percent= %g', |
- }, |
- { |
- 'stat' : 'lines_instrumented', |
- 'format' : '*RESULT LinesInstrumented: lines_instrumented= %d lines', |
- }, |
- { |
- 'stat' : 'lines_covered', |
- 'format' : '*RESULT LinesCoveredSource: lines_covered_source= %d lines', |
- 'group' : 'source', |
- }, |
- { |
- 'stat' : 'lines_covered', |
- 'format' : '*RESULT LinesCoveredTest: lines_covered_test= %d lines', |
- 'group' : 'test', |
- }, |
- ], |
} |