OLD | NEW |
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 def _LicenseHeader(input_api): | 9 def _LicenseHeader(input_api): |
10 """Returns the license header regexp.""" | 10 """Returns the license header regexp.""" |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 def CheckChangeOnUpload(input_api, output_api): | 37 def CheckChangeOnUpload(input_api, output_api): |
38 results = [] | 38 results = [] |
39 results.extend(_CommonChecks(input_api, output_api)) | 39 results.extend(_CommonChecks(input_api, output_api)) |
40 return results | 40 return results |
41 | 41 |
42 def CheckChangeOnCommit(input_api, output_api): | 42 def CheckChangeOnCommit(input_api, output_api): |
43 results = [] | 43 results = [] |
44 results.extend(_CommonChecks(input_api, output_api)) | 44 results.extend(_CommonChecks(input_api, output_api)) |
45 return results | 45 return results |
OLD | NEW |