2 # Crocodile config file for Chromium - settings common to all platforms
4 # This should be speicified before the platform-specific config, for example:
5 # croc -c chrome_common.croc -c linux/chrome_linux.croc
8 # List of root directories, applied in order
10 # Sub-paths we specifically care about and want to call out
13 'altname' : 'CHROMIUM',
17 # List of rules, applied in order
18 # Note that any 'include':0 rules here will be overridden by the 'include':1
19 # rules in the platform-specific configs.
21 # Don't scan for executable lines in uninstrumented C++ header files
23 'regexp' : '.*\\.(h|hpp)$',
33 'regexp' : '.*_(test|unittest|uitest|browsertest)\\.',
39 'regexp' : '.*\\.(c|h)$',
43 'regexp' : '.*\\.(cc|cpp|hpp)$',
47 # Files/paths to include. Specify these before the excludes, since rules
50 'regexp' : '^CHROMIUM/(base|media|net|printing|remoting|chrome|content|webkit/glue|native_client)/',
53 # Don't include subversion or mercurial SCM dirs
55 'regexp' : '.*/(\\.svn|\\.hg)/',
58 # Don't include output dirs
60 'regexp' : '.*/(Debug|Release|out|xcodebuild)/',
63 # Don't include third-party source
65 'regexp' : '.*/third_party/',
68 # We don't run the V8 test suite, so we don't care about V8 coverage.
75 # Paths to add source from
83 'stat' : 'files_executable',
84 'format' : '*RESULT FilesKnown: files_executable= %d files',
87 'stat' : 'files_instrumented',
88 'format' : '*RESULT FilesInstrumented: files_instrumented= %d files',
91 'stat' : '100.0 * files_instrumented / files_executable',
92 'format' : '*RESULT FilesInstrumentedPercent: files_instrumented_percent= %g percent',
95 'stat' : 'lines_executable',
96 'format' : '*RESULT LinesKnown: lines_known= %d lines',
99 'stat' : 'lines_instrumented',
100 'format' : '*RESULT LinesInstrumented: lines_instrumented= %d lines',
103 'stat' : 'lines_covered',
104 'format' : '*RESULT LinesCoveredSource: lines_covered_source= %d lines',
108 'stat' : 'lines_covered',
109 'format' : '*RESULT LinesCoveredTest: lines_covered_test= %d lines',
113 'stat' : '100.0 * lines_covered / lines_executable',
114 'format' : '*RESULT PercentCovered: percent_covered= %g percent',
117 'stat' : '100.0 * lines_covered / lines_executable',
118 'format' : '*RESULT PercentCoveredSource: percent_covered_source= %g percent',
122 'stat' : '100.0 * lines_covered / lines_executable',
123 'format' : '*RESULT PercentCoveredTest: percent_covered_test= %g percent',