Index: runtime/PRESUBMIT.py |
diff --git a/runtime/PRESUBMIT.py b/runtime/PRESUBMIT.py |
index f67f0d6952da966ef05c64d5d9831d6a8ee6c37a..946f54f96328d720ace0e3ee5cda4dbb85c211b1 100644 |
--- a/runtime/PRESUBMIT.py |
+++ b/runtime/PRESUBMIT.py |
@@ -44,9 +44,15 @@ def RunLint(input_api, output_api): |
return result |
+def CheckGn(input_api, output_api): |
+ return input_api.canned_checks.CheckGNFormatted(input_api, output_api) |
+ |
+ |
def CheckChangeOnUpload(input_api, output_api): |
- return RunLint(input_api, output_api) |
+ return (RunLint(input_api, output_api) + |
+ CheckGn(input_api, output_api)) |
def CheckChangeOnCommit(input_api, output_api): |
- return RunLint(input_api, output_api) |
+ return (RunLint(input_api, output_api) + |
+ CheckGn(input_api, output_api)) |