Add .mm support

Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: I2cc42ef9d05dfbbac6bb252f769682a43ab4c501
This commit is contained in:
Alexey Polyudov
2020-10-01 02:27:28 -07:00
parent e7e473b763
commit fb9ea31ec0
+1 -1
View File
@@ -96,7 +96,7 @@ def copy_files_to_oss_project(src_root, dst_root):
def detect_file_copy_header_options(fname, lines):
if not lines:
return None # ignore empty file
suffixes = [".cc", ".cpp", ".cxx", ".c", ".h", ".hpp", ".inc", ".proto"]
suffixes = [".cc", ".cpp", ".cxx", ".c", ".h", ".hpp", ".inc", ".mm", ".proto"]
for suffix in suffixes:
if fname.endswith(suffix):
return ("//", 0)