OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |