Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: build/android/devil/PRESUBMIT.py

Issue 1522313002: [Android] Move screenshot and video_recorder into devil. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix video_recorder timing Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/android/devil/android/device_utils.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 devil. 5 """Presubmit script for devil.
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 22 matching lines...) Expand all
33 return input_api.canned_checks.RunUnitTests( 33 return input_api.canned_checks.RunUnitTests(
34 input_api, 34 input_api,
35 output_api, 35 output_api,
36 unit_tests=[ 36 unit_tests=[
37 J('devil_env_test.py'), 37 J('devil_env_test.py'),
38 J('android', 'battery_utils_test.py'), 38 J('android', 'battery_utils_test.py'),
39 J('android', 'device_utils_test.py'), 39 J('android', 'device_utils_test.py'),
40 J('android', 'fastboot_utils_test.py'), 40 J('android', 'fastboot_utils_test.py'),
41 J('android', 'md5sum_test.py'), 41 J('android', 'md5sum_test.py'),
42 J('android', 'logcat_monitor_test.py'), 42 J('android', 'logcat_monitor_test.py'),
43 J('android', 'tools', 'script_common_test.py'),
43 J('utils', 'cmd_helper_test.py'), 44 J('utils', 'cmd_helper_test.py'),
44 J('utils', 'timeout_retry_unittest.py'), 45 J('utils', 'timeout_retry_unittest.py'),
45 ], 46 ],
46 env=test_env) 47 env=test_env)
47 48
48 49
49 def _EnsureNoPylibUse(input_api, output_api): 50 def _EnsureNoPylibUse(input_api, output_api):
50 def other_python_files(f): 51 def other_python_files(f):
51 this_presubmit_file = input_api.os_path.join( 52 this_presubmit_file = input_api.os_path.join(
52 input_api.PresubmitLocalPath(), 'PRESUBMIT.py') 53 input_api.PresubmitLocalPath(), 'PRESUBMIT.py')
(...skipping 25 matching lines...) Expand all
78 output += _EnsureNoPylibUse(input_api, output_api) 79 output += _EnsureNoPylibUse(input_api, output_api)
79 return output 80 return output
80 81
81 82
82 def CheckChangeOnUpload(input_api, output_api): 83 def CheckChangeOnUpload(input_api, output_api):
83 return CommonChecks(input_api, output_api) 84 return CommonChecks(input_api, output_api)
84 85
85 86
86 def CheckChangeOnCommit(input_api, output_api): 87 def CheckChangeOnCommit(input_api, output_api):
87 return CommonChecks(input_api, output_api) 88 return CommonChecks(input_api, output_api)
OLDNEW
« no previous file with comments | « no previous file | build/android/devil/android/device_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698