| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Presubmit script for android buildbot. | 5 """Presubmit script for android buildbot. |
| 6 | 6 |
| 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for | 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for |
| 8 details on the presubmit API built into depot_tools. | 8 details on the presubmit API built into depot_tools. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 input_api, | 52 input_api, |
| 53 output_api, | 53 output_api, |
| 54 unit_tests=[ | 54 unit_tests=[ |
| 55 J('.', 'emma_coverage_stats_test.py'), | 55 J('.', 'emma_coverage_stats_test.py'), |
| 56 J('gyp', 'util', 'md5_check_test.py'), | 56 J('gyp', 'util', 'md5_check_test.py'), |
| 57 J('play_services', 'update_test.py'), | 57 J('play_services', 'update_test.py'), |
| 58 J('pylib', 'base', 'test_dispatcher_unittest.py'), | 58 J('pylib', 'base', 'test_dispatcher_unittest.py'), |
| 59 J('pylib', 'gtest', 'gtest_test_instance_test.py'), | 59 J('pylib', 'gtest', 'gtest_test_instance_test.py'), |
| 60 J('pylib', 'instrumentation', | 60 J('pylib', 'instrumentation', |
| 61 'instrumentation_test_instance_test.py'), | 61 'instrumentation_test_instance_test.py'), |
| 62 J('pylib', 'local', 'device', 'local_device_test_run_test.py'), |
| 62 J('pylib', 'results', 'json_results_test.py'), | 63 J('pylib', 'results', 'json_results_test.py'), |
| 63 J('pylib', 'symbols', 'elf_symbolizer_unittest.py'), | 64 J('pylib', 'symbols', 'elf_symbolizer_unittest.py'), |
| 64 ], | 65 ], |
| 65 env=pylib_test_env)) | 66 env=pylib_test_env)) |
| 66 | 67 |
| 67 return output | 68 return output |
| 68 | 69 |
| 69 | 70 |
| 70 def CheckChangeOnUpload(input_api, output_api): | 71 def CheckChangeOnUpload(input_api, output_api): |
| 71 return CommonChecks(input_api, output_api) | 72 return CommonChecks(input_api, output_api) |
| 72 | 73 |
| 73 | 74 |
| 74 def CheckChangeOnCommit(input_api, output_api): | 75 def CheckChangeOnCommit(input_api, output_api): |
| 75 return CommonChecks(input_api, output_api) | 76 return CommonChecks(input_api, output_api) |
| OLD | NEW |