Index: remoting/tools/verify_resources.py |
diff --git a/remoting/tools/verify_resources.py b/remoting/tools/verify_resources.py |
index 4ffd494ceb922098d2e29e5e0658b6e52bb58034..eb59b2f18682d9de6b47a0646328584b83ece78b 100755 |
--- a/remoting/tools/verify_resources.py |
+++ b/remoting/tools/verify_resources.py |
@@ -62,7 +62,7 @@ def ExtractTagFromLine(file_type, line): |
# Javascript style |
m = re.search('/\*i18n-content\*/[\'"]([^\`"]*)[\'"]', line) |
if m: return m.group(1) |
- elif file_type == 'cc': |
+ elif file_type == 'cc' or file_type == 'mm': |
# C++ style |
m = re.search('IDR_([A-Z0-9_]*)', line) |
if m: return m.group(1) |
@@ -89,7 +89,7 @@ def VerifyFile(filename, messages, used_tags): |
base_name, extension = os.path.splitext(filename) |
extension = extension[1:] |
- if extension not in ['js', 'cc', 'html', 'json', 'jinja2']: |
+ if extension not in ['js', 'cc', 'html', 'json', 'jinja2', 'mm']: |
raise Exception("Unknown file type: %s" % extension) |
result = True |