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 52bbbf8ee3a76b5f5323b647b80577a7009c07db..ab4c5d84b38d37b1176c44bad692ea748e76ad1f 100755 |
--- a/build/android/buildbot/bb_device_steps.py |
+++ b/build/android/buildbot/bb_device_steps.py |
@@ -181,9 +181,10 @@ def InstallApk(options, test, print_step=False): |
if print_step: |
bb_annotations.PrintNamedStep('install_%s' % test.name.lower()) |
- args = ['--apk', test.apk, '--apk_package', test.apk_package] |
+ args = ['--apk_package', test.apk_package] |
if options.target == 'Release': |
args.append('--release') |
+ args.append(test.apk) |
RunCmd(['build/android/adb_install_apk.py'] + args, halt_on_failure=True) |