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

Side by Side Diff: build/common.croc

Issue 113980: Major refactoring of Croc.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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 | build/linux/chrome_linux.croc » ('j') | build/mac/chrome_mac.croc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # -*- python -*-
John Grabowski 2009/05/29 00:34:43 Need standard Chromium copyright here. By analogy
2 # Crocodile config file for Chromium - settings common to all platforms
3 #
4 # This should be speicified before the platform-specific config, for example:
5 # croc -c chrome_common.croc -c linux/chrome_linux.croc
6
7 {
8 # List of root directories, applied in order
9 'roots' : [
10 # Sub-paths we specifically care about and want to call out
11 {
12 'root' : '_/src',
13 'altname' : 'CHROMIUM',
14 },
15 ],
16
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.
20 'rules' : [
21 # Don't scan for executable lines in uninstrumented C++ header files
22 {
23 'regexp' : '.*\\.(h|hpp)$',
24 'add_if_missing' : 0,
25 },
26
27 # Groups
28 {
29 'regexp' : '',
30 'group' : 'source',
31 },
32 {
33 'regexp' : '.*_(test|unittest)\\.',
34 'group' : 'test',
35 },
36
37 # Languages
38 {
39 'regexp' : '.*\\.(c|h)$',
40 'language' : 'C',
41 },
42 {
43 'regexp' : '.*\\.(cc|cpp|hpp)$',
44 'language' : 'C++',
45 },
46 ],
47
48 # Paths to add source from
49 'add_files' : [
50 'CHROMIUM'
51 ],
52
53 # Statistics to print
54 'print_stats' : [
55 {
56 'stat' : 'files_executable',
57 'format' : '*RESULT FilesKnown: files_executable= %d files',
58 },
59 {
60 'stat' : 'files_instrumented',
61 'format' : '*RESULT FilesInstrumented: files_instrumented= %d files',
62 },
63 {
64 'stat' : '100.0 * files_instrumented / files_executable',
65 'format' : '*RESULT FilesInstrumentedPercent: files_instrumented_percent= %g',
John Grabowski 2009/05/29 00:34:43 >80
66 },
67 {
68 'stat' : 'lines_executable',
69 'format' : '*RESULT LinesKnown: lines_known= %d lines',
70 },
71 {
72 'stat' : 'lines_instrumented',
73 'format' : '*RESULT LinesInstrumented: lines_instrumented= %d lines',
74 },
75 {
76 'stat' : 'lines_covered',
77 'format' : '*RESULT LinesCoveredSource: lines_covered_source= %d lines',
78 'group' : 'source',
79 },
80 {
81 'stat' : 'lines_covered',
82 'format' : '*RESULT LinesCoveredTest: lines_covered_test= %d lines',
83 'group' : 'test',
84 },
85 {
86 'stat' : '100.0 * lines_covered / lines_executable',
87 'format' : '*RESULT PercentCovered: percent_covered= %g',
88 },
89 {
90 'stat' : '100.0 * lines_covered / lines_executable',
91 'format' : '*RESULT PercentCoveredSource: percent_covered_source= %g',
92 'group' : 'source',
93 },
94 {
95 'stat' : '100.0 * lines_covered / lines_executable',
96 'format' : '*RESULT PercentCoveredTest: percent_covered_test= %g',
97 'group' : 'test',
98 },
99 ],
100 }
OLDNEW
« no previous file with comments | « no previous file | build/linux/chrome_linux.croc » ('j') | build/mac/chrome_mac.croc » ('J')

Powered by Google App Engine
This is Rietveld 408576698