From fb9ea31ec00c5cf123380fe5667bffa299f9883e Mon Sep 17 00:00:00 2001 From: Alexey Polyudov Date: Thu, 1 Oct 2020 02:27:28 -0700 Subject: [PATCH] Add .mm support Signed-off-by: Alexey Polyudov Change-Id: I2cc42ef9d05dfbbac6bb252f769682a43ab4c501 --- script/oss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/oss.py b/script/oss.py index 4b621b0f..21a70028 100755 --- a/script/oss.py +++ b/script/oss.py @@ -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)