Index: presubmit_canned_checks.py |
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
index 7ec058b74baba1911b4cc6613e24be628ba5a2f3..15e24e29d86e338ec4e6ef25c7997b6342e6c3ed 100644 |
--- a/presubmit_canned_checks.py |
+++ b/presubmit_canned_checks.py |
@@ -1170,7 +1170,8 @@ def CheckGNFormatted(input_api, output_api): |
affected_files = input_api.AffectedFiles( |
include_deletes=False, |
file_filter=lambda x: x.LocalPath().endswith('.gn') or |
- x.LocalPath().endswith('.gni')) |
+ x.LocalPath().endswith('.gni') or |
+ x.LocalPath().endswith('.typemap')) |
warnings = [] |
for f in affected_files: |
cmd = ['gn', 'format', '--dry-run', f.AbsoluteLocalPath()] |