File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ def git_out(args):
61
61
gn_files = git_out (["ls-files" , "*BUILD.gn" ]).splitlines ()
62
62
63
63
# Matches e.g. | "foo.cpp",|, captures |foo| in group 1.
64
- gn_cpp_re = re .compile (r'^\s*"([^$"]+\.(?:cpp|c|h|S))",$' , re .MULTILINE )
64
+ gn_cpp_re = re .compile (r'^\s*"([^$"]+\.(?:cpp|c|h|mm| S))",$' , re .MULTILINE )
65
65
# Matches e.g. | bar_sources = [ "foo.cpp" ]|, captures |foo| in group 1.
66
66
gn_cpp_re2 = re .compile (
67
- r'^\s*(?:.*_)?sources \+?= \[ "([^$"]+\.(?:cpp|c|h|S))" ]$' , re .MULTILINE
67
+ r'^\s*(?:.*_)?sources \+?= \[ "([^$"]+\.(?:cpp|c|h|mm| S))" ]$' , re .MULTILINE
68
68
)
69
69
# Matches e.g. | foo.cpp|, captures |foo| in group 1.
70
- cmake_cpp_re = re .compile (r"^\s*([A-Za-z_0-9./-]+\.(?:cpp|c|h|S))$" , re .MULTILINE )
70
+ cmake_cpp_re = re .compile (r"^\s*([A-Za-z_0-9./-]+\.(?:cpp|c|h|mm| S))$" , re .MULTILINE )
71
71
72
72
changes_by_rev = defaultdict (lambda : defaultdict (lambda : defaultdict (list )))
73
73
You can’t perform that action at this time.
0 commit comments