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

Side by Side Diff: build/common.croc

Issue 8588048: Various fixes for coverage building and testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Crocodile config file for Chromium - settings common to all platforms 2 # Crocodile config file for Chromium - settings common to all platforms
3 # 3 #
4 # This should be speicified before the platform-specific config, for example: 4 # This should be speicified before the platform-specific config, for example:
5 # croc -c chrome_common.croc -c linux/chrome_linux.croc 5 # croc -c chrome_common.croc -c linux/chrome_linux.croc
6 6
7 { 7 {
8 # List of root directories, applied in order 8 # List of root directories, applied in order
9 'roots' : [ 9 'roots' : [
10 # Sub-paths we specifically care about and want to call out 10 # Sub-paths we specifically care about and want to call out
(...skipping 12 matching lines...) Expand all
23 'regexp' : '.*\\.(h|hpp)$', 23 'regexp' : '.*\\.(h|hpp)$',
24 'add_if_missing' : 0, 24 'add_if_missing' : 0,
25 }, 25 },
26 26
27 # Groups 27 # Groups
28 { 28 {
29 'regexp' : '', 29 'regexp' : '',
30 'group' : 'source', 30 'group' : 'source',
31 }, 31 },
32 { 32 {
33 'regexp' : '.*_(test|unittest)\\.', 33 'regexp' : '.*_(test|unittest|uitest|browsertest)\\.',
34 'group' : 'test', 34 'group' : 'test',
35 }, 35 },
36 36
37 # Languages 37 # Languages
38 { 38 {
39 'regexp' : '.*\\.(c|h)$', 39 'regexp' : '.*\\.(c|h)$',
40 'language' : 'C', 40 'language' : 'C',
41 }, 41 },
42 { 42 {
43 'regexp' : '.*\\.(cc|cpp|hpp)$', 43 'regexp' : '.*\\.(cc|cpp|hpp)$',
44 'language' : 'C++', 44 'language' : 'C++',
45 }, 45 },
46 46
47 # Files/paths to include. Specify these before the excludes, since rules 47 # Files/paths to include. Specify these before the excludes, since rules
48 # are in order. 48 # are in order.
49 { 49 {
50 'regexp' : '^CHROMIUM/(base|media|net|printing|remoting|chrome|webkit/glue |native_client)/', 50 'regexp' : '^CHROMIUM/(base|media|net|printing|remoting|chrome|content|web kit/glue|native_client)/',
51 'include' : 1, 51 'include' : 1,
52 }, 52 },
53 # Don't include subversion or mercurial SCM dirs 53 # Don't include subversion or mercurial SCM dirs
54 { 54 {
55 'regexp' : '.*/(\\.svn|\\.hg)/', 55 'regexp' : '.*/(\\.svn|\\.hg)/',
56 'include' : 0, 56 'include' : 0,
57 }, 57 },
58 # Don't include output dirs 58 # Don't include output dirs
59 { 59 {
60 'regexp' : '.*/(Debug|Release|sconsbuild|out|xcodebuild)/', 60 'regexp' : '.*/(Debug|Release|sconsbuild|out|xcodebuild)/',
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 'format' : '*RESULT PercentCoveredSource: percent_covered_source= %g', 118 'format' : '*RESULT PercentCoveredSource: percent_covered_source= %g',
119 'group' : 'source', 119 'group' : 'source',
120 }, 120 },
121 { 121 {
122 'stat' : '100.0 * lines_covered / lines_executable', 122 'stat' : '100.0 * lines_covered / lines_executable',
123 'format' : '*RESULT PercentCoveredTest: percent_covered_test= %g', 123 'format' : '*RESULT PercentCoveredTest: percent_covered_test= %g',
124 'group' : 'test', 124 'group' : 'test',
125 }, 125 },
126 ], 126 ],
127 } 127 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698