Index: build/android/buildbot/bb_device_steps.py |
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py |
index 0f2afc6f6628f6134da5f548d8e93fd9442f04b7..6938760ef253757fdf00a3644c72e8a31a5b7632 100755 |
--- a/build/android/buildbot/bb_device_steps.py |
+++ b/build/android/buildbot/bb_device_steps.py |
@@ -271,6 +271,13 @@ def MainTestWrapper(options): |
buildbot_report.PrintNamedStep('device_status_check') |
RunCmd(['build/android/device_status_check.py']) |
+ # Provision devices |
+ if options.experimental: |
+ buildbot_report.PrintNamedStep('provision_devices') |
+ target = options.factory_properties.get('target', 'Debug') |
+ adb_reboot = CHROME_SRC + ('/out/%s/adb_reboot' % target) |
+ RunCmd(['build/android/provision_devices.py', '-a', adb_reboot]) |
+ |
if options.install: |
test_obj = INSTRUMENTATION_TESTS[options.install] |
InstallApk(options, test_obj, print_step=True) |