| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 """Presubmit script for checkdeps tool. | |
| 6 """ | |
| 7 | |
| 8 | |
| 9 def CheckChange(input_api, output_api): | |
| 10 results = [] | |
| 11 results.extend(input_api.canned_checks.RunUnitTests( | |
| 12 input_api, output_api, | |
| 13 [input_api.os_path.join(input_api.PresubmitLocalPath(), | |
| 14 'checkdeps_test.py')])) | |
| 15 return results | |
| 16 | |
| 17 | |
| 18 # Mandatory entrypoint. | |
| 19 def CheckChangeOnUpload(input_api, output_api): | |
| 20 return CheckChange(input_api, output_api) | |
| 21 | |
| 22 | |
| 23 # Mandatory entrypoint. | |
| 24 def CheckChangeOnCommit(input_api, output_api): | |
| 25 return CheckChange(input_api, output_api) | |
| OLD | NEW |