Index: mojo/shell/PRESUBMIT.py |
diff --git a/chrome/browser/ui/ash/PRESUBMIT.py b/mojo/shell/PRESUBMIT.py |
similarity index 72% |
copy from chrome/browser/ui/ash/PRESUBMIT.py |
copy to mojo/shell/PRESUBMIT.py |
index f39f299b21700870deaed1717f3c614564947e74..fb190304b9f297262c1cbc5f72d38e8c5986bea3 100644 |
--- a/chrome/browser/ui/ash/PRESUBMIT.py |
+++ b/mojo/shell/PRESUBMIT.py |
@@ -2,7 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-"""Presubmit script for ash. |
+"""Presubmit script for shell. |
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
for more details about the presubmit API built into depot_tools. |
@@ -10,5 +10,7 @@ for more details about the presubmit API built into depot_tools. |
def CheckChangeOnUpload(input_api, output_api): |
results = [] |
+ results += input_api.canned_checks.CheckChangeHasOnlyOneEol(input_api, |
+ output_api) |
results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) |
return results |