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):
6161 gn_files = git_out (["ls-files" , "*BUILD.gn" ]).splitlines ()
6262
6363 # 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 )
6565 # Matches e.g. | bar_sources = [ "foo.cpp" ]|, captures |foo| in group 1.
6666 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
6868 )
6969 # 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 )
7171
7272 changes_by_rev = defaultdict (lambda : defaultdict (lambda : defaultdict (list )))
7373
You can’t perform that action at this time.
0 commit comments