mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Add .mm support
Signed-off-by: Alexey Polyudov <apolyudov@google.com> Change-Id: I2cc42ef9d05dfbbac6bb252f769682a43ab4c501
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user