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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.py

Issue 296723004: Simplified android_builder and moved internal-only methods to internal module (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase Created 6 years, 7 months 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 DEPS = [ 5 DEPS = [
6 'adb', 6 'adb',
7 'chromium_android', 7 'chromium_android',
8 'json', 8 'json',
9 'properties', 9 'properties',
10 ] 10 ]
(...skipping 28 matching lines...) Expand all
39 39
40 version_name = api.chromium_android.version_name 40 version_name = api.chromium_android.version_name
41 assert isinstance(version_name, basestring) and version_name, ( 41 assert isinstance(version_name, basestring) and version_name, (
42 'Could not get a valid version name.') 42 'Could not get a valid version name.')
43 43
44 yield api.chromium_android.dump_version() 44 yield api.chromium_android.dump_version()
45 45
46 yield api.chromium_android.envsetup() 46 yield api.chromium_android.envsetup()
47 yield api.chromium_android.runhooks() 47 yield api.chromium_android.runhooks()
48 yield api.chromium_android.compile() 48 yield api.chromium_android.compile()
49 yield api.chromium_android.git_number()
50 yield api.chromium_android.upload_build_for_tester()
49 51
50 yield api.adb.root_devices() 52 yield api.adb.root_devices()
51 yield api.chromium_android.spawn_logcat_monitor() 53 yield api.chromium_android.spawn_logcat_monitor()
52 yield api.chromium_android.device_status_check( 54 yield api.chromium_android.device_status_check(
53 restart_usb=config.get('restart_usb', False)) 55 restart_usb=config.get('restart_usb', False))
54 56
55 yield api.chromium_android.monkey_test() 57 yield api.chromium_android.monkey_test()
56 yield api.chromium_android.run_sharded_perf_tests( 58 yield api.chromium_android.run_sharded_perf_tests(
57 config='fake_config.json', 59 config='fake_config.json',
58 flaky_config='flake_fakes.json') 60 flaky_config='flake_fakes.json')
(...skipping 20 matching lines...) Expand all
79 api.test('%s_basic' % buildername) + 81 api.test('%s_basic' % buildername) +
80 api.properties.generic( 82 api.properties.generic(
81 buildername=buildername, 83 buildername=buildername,
82 slavename='tehslave', 84 slavename='tehslave',
83 repo_name='src/repo', 85 repo_name='src/repo',
84 repo_url='svn://svn.chromium.org/chrome/trunk/src', 86 repo_url='svn://svn.chromium.org/chrome/trunk/src',
85 revision='4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00', 87 revision='4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00',
86 internal=True, 88 internal=True,
87 ) + 89 ) +
88 api.chromium_android.default_step_data(api)) 90 api.chromium_android.default_step_data(api))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698