2 # Crocodile config file for Chromium iOS.
4 # Note that Chromium iOS also uses the config file at src/build/common.croc.
6 # See src/tools/code_coverage/example.croc for more info on config files.
9 # List of rules, applied in order
11 # Specify inclusions before exclusions, since rules are in order.
13 # Exclude everything to negate whatever is in src/build/common.croc
19 # Include all directories (but not the files in the directories).
20 # This is a workaround for how croc.py walks the directory tree. See the
21 # TODO in the AddFiles method of src/tools/code_coverage/croc.py
27 # Include any file with an 'ios' directory in the path.
29 'regexp' : '.*/ios/.*',
34 # Include any file that ends with _ios.
36 'regexp' : '.*_ios\\.(c|cc|m|mm)$',
41 # Include any file that ends with _ios_unittest (and label it a test).
43 'regexp' : '.*_ios_unittest\\.(c|cc|m|mm)$',
49 # Don't scan for executable lines in uninstrumented header files
51 'regexp' : '.*\\.(h|hpp)$',
55 # Don't measure coverage of perftests.
57 'regexp' : '.*perftest\\.(c|cc|m|mm)$',
67 'regexp' : '.*\\.mm$',
68 'language' : 'ObjC++',