summaryrefslogtreecommitdiffstats
path: root/build/mac/chrome_mac.croc
blob: 91f766dab272c413679a5c9e403cde5dd981ea33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- python -*-
# Crocodile config file for Chromium mac

{
  # List of rules, applied in order
  'rules' : [
    # Files/paths to include.  Specify these before the excludes, since rules
    # are in order.
    {
      'regexp' : '^CHROMIUM/(base|media|net|printing|chrome|v8|webkit/glue)/',
      'include' : 1,
    },
    # Don't include subversion or mercurial SCM dirs
    {
      'regexp' : '.*/(\\.svn|\\.hg)/',
      'include' : 0,
    },
    # Don't include output dirs
    {
      'regexp' : '.*/(Debug|Release|sconsbuild|xcodebuild)/',
      'include' : 0,
    },
    # Don't include third-party source
    {
      'regexp' : '.*/third_party/',
      'include' : 0,
    },
    # Don't include windows or mac specific files
    {
      'regexp' : '.*(_|/)(linux|win)(\\.|_)',
      'include' : 0,
    },

    # Groups
    {
      'regexp' : '.*_test_mac\\.',
      'group' : 'test',
    },

    # Languages
    {
      'regexp' : '.*\\.m$',
      'language' : 'ObjC',
    },
    {
      'regexp' : '.*\\.mm$',
      'language' : 'ObjC++',
    },
  ],
}