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

Side by Side Diff: build/linux/chrome_linux.croc

Issue 113980: Major refactoring of Croc.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Crocodile config file for Chromium linux 2 # Crocodile config file for Chromium linux
3 3
4 { 4 {
5 # List of rules, applied in order 5 # List of rules, applied in order
6 'rules' : [ 6 'rules' : [
7 # Files/paths to include. Specify these before the excludes, since rules 7 # Files/paths to include. Specify these before the excludes, since rules
8 # are in order. 8 # are in order.
9 { 9 {
10 'regexp' : '^#/src/(base|media|net|printing)/', 10 'regexp' : '^CHROMIUM/(base|media|net|printing)/',
11 'include' : 1, 11 'include' : 1,
12 }, 12 },
13 # Don't include subversion or mercurial SCM dirs 13 # Don't include subversion or mercurial SCM dirs
14 { 14 {
15 'regexp' : '.*/(\\.svn|\\.hg)/', 15 'regexp' : '.*/(\\.svn|\\.hg)/',
16 'include' : 0, 16 'include' : 0,
17 }, 17 },
18 # Don't include output dirs 18 # Don't include output dirs
19 { 19 {
20 'regexp' : '.*/(Debug|Release|sconsbuild|xcodebuild)/', 20 'regexp' : '.*/(Debug|Release|sconsbuild|xcodebuild)/',
21 'include' : 0, 21 'include' : 0,
22 }, 22 },
23 # Don't include third-party source 23 # Don't include third-party source
24 { 24 {
25 'regexp' : '.*/third_party/', 25 'regexp' : '.*/third_party/',
26 'include' : 0, 26 'include' : 0,
27 }, 27 },
28 # Don't include windows or mac specific files 28 # Don't include windows or mac specific files
29 { 29 {
30 'regexp' : '.*(_|/)(mac|win)(\\.|_)', 30 'regexp' : '.*(_|/)(mac|win)(\\.|_)',
31 'include' : 0, 31 'include' : 0,
32 }, 32 },
33 33
34 # Groups 34 # Groups
35 { 35 {
36 'regexp' : '', 36 'regexp' : '.*_test_linux\\.',
37 'group' : 'source',
38 },
39 {
40 'regexp' : '.*_(test|test_linux|unittest)\\.',
41 'group' : 'test',
42 },
43
44 # Languages
45 {
46 'regexp' : '.*\\.(c|h)$',
47 'language' : 'C',
48 },
49 {
50 'regexp' : '.*\\.(cc|cpp|hpp)$',
51 'language' : 'C++',
52 },
53 ],
54
55 # Paths to add source from
56 'add_files' : [
57 '#/src'
58 ],
59
60 # Statistics to print
61 'print_stats' : [
62 {
63 'stat' : 'files_executable',
64 'format' : '*RESULT FilesKnown: files_executable= %d files',
65 },
66 {
67 'stat' : 'files_instrumented',
68 'format' : '*RESULT FilesInstrumented: files_instrumented= %d files',
69 },
70 {
71 'stat' : '100.0 * files_instrumented / files_executable',
72 'format' : '*RESULT FilesInstrumentedPercent: files_instrumented_percent= %g',
73 },
74 {
75 'stat' : 'lines_instrumented',
76 'format' : '*RESULT LinesInstrumented: lines_instrumented= %d lines',
77 },
78 {
79 'stat' : 'lines_covered',
80 'format' : '*RESULT LinesCoveredSource: lines_covered_source= %d lines',
81 'group' : 'source',
82 },
83 {
84 'stat' : 'lines_covered',
85 'format' : '*RESULT LinesCoveredTest: lines_covered_test= %d lines',
86 'group' : 'test', 37 'group' : 'test',
87 }, 38 },
88 ], 39 ],
89 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698