Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Side by Side Diff: chrome_frame/chrome_frame.croc

Issue 3443001: Forgot to add this to the commit enabling code coverage in the chrome_frame.g... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # -*- python -*-
2 # Crocodile config file for Chrome Frame.
3 #
4
5 {
6 # List of root directories, applied in order
7 'roots' : [
8 # Sub-paths we specifically care about and want to call out
9 {
10 'root' : '_/src',
11 'altname' : 'CHROMIUM',
12 },
13 ],
14
15 # List of rules, applied in order
16 # Note that any 'include':0 rules here will be overridden by the 'include':1
17 # rules in the platform-specific configs.
18 'rules' : [
19 # Don't scan for executable lines in uninstrumented C++ header files
20 {
21 'regexp' : '.*\\.(h|hpp)$',
22 'add_if_missing' : 0,
23 },
24
25 # Groups
26 {
27 'regexp' : '',
28 'group' : 'source',
29 },
30 {
31 'regexp' : '.*_(test|unittest)\\.',
32 'group' : 'test',
33 },
34
35 # Languages
36 {
37 'regexp' : '.*\\.(c|h)$',
38 'language' : 'C',
39 },
40 {
41 'regexp' : '.*\\.(cc|cpp|hpp)$',
42 'language' : 'C++',
43 },
44
45 # Files/paths to include. Specify these before the excludes, since rules
46 # are in order.
47 {
48 'regexp' : '^CHROMIUM/chrome_frame/',
49 'include' : 1,
50 },
51 # Don't include subversion or mercurial SCM dirs
52 {
53 'regexp' : '.*/(\\.svn|\\.hg)/',
54 'include' : 0,
55 },
56 # Don't include output dirs
57 {
58 'regexp' : '.*/(Debug|Release|debug|release|sconsbuild|out|xcodebuild)/',
59 'include' : 0,
60 },
61 # Don't include third-party source
62 {
63 'regexp' : '.*/third_party/.*',
64 'include' : 0,
65 },
66 ],
67
68 # Paths to add source from
69 'add_files' : [
70 'CHROMIUM'
71 ],
72
73 # Statistics to print
74 'print_stats' : [
75 {
76 'stat' : 'files_executable',
77 'format' : '*RESULT FilesKnown: files_executable= %d files',
78 },
79 {
80 'stat' : 'files_instrumented',
81 'format' : '*RESULT FilesInstrumented: files_instrumented= %d files',
82 },
83 {
84 'stat' : '100.0 * files_instrumented / files_executable',
85 'format' : '*RESULT FilesInstrumentedPercent: '
86 'files_instrumented_percent= %g',
87 },
88 {
89 'stat' : 'lines_executable',
90 'format' : '*RESULT LinesKnown: lines_known= %d lines',
91 },
92 {
93 'stat' : 'lines_instrumented',
94 'format' : '*RESULT LinesInstrumented: lines_instrumented= %d lines',
95 },
96 {
97 'stat' : 'lines_covered',
98 'format' : '*RESULT LinesCoveredSource: lines_covered_source= %d lines',
99 'group' : 'source',
100 },
101 {
102 'stat' : 'lines_covered',
103 'format' : '*RESULT LinesCoveredTest: lines_covered_test= %d lines',
104 'group' : 'test',
105 },
106 {
107 'stat' : '100.0 * lines_covered / lines_executable',
108 'format' : '*RESULT PercentCovered: percent_covered= %g',
109 },
110 {
111 'stat' : '100.0 * lines_covered / lines_executable',
112 'format' : '*RESULT PercentCoveredSource: percent_covered_source= %g',
113 'group' : 'source',
114 },
115 {
116 'stat' : '100.0 * lines_covered / lines_executable',
117 'format' : '*RESULT PercentCoveredTest: percent_covered_test= %g',
118 'group' : 'test',
119 },
120 ],
121 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698