[Android] Pass --disable-location to provision_devices on ChromeDriver bots.

BUG=460514

Review URL: https://codereview.chromium.org/988393002

Cr-Original-Commit-Position: refs/heads/master@{#319650}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9669e5b823463915de6441b1343163facdd8efdd
This commit is contained in:
jbudorick 2015-03-09 09:29:07 -07:00 коммит произвёл Commit bot
Родитель 6e6565bec0
Коммит 4235984c2f
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -466,6 +466,8 @@ def ProvisionDevices(options):
provision_cmd.append('--auto-reconnect')
if options.skip_wipe:
provision_cmd.append('--skip-wipe')
if options.disable_location:
provision_cmd.append('--disable-location')
RunCmd(provision_cmd, halt_on_failure=True)
@ -713,6 +715,8 @@ def GetDeviceStepsOptParser():
help='Push script to device which restarts adbd on disconnections.')
parser.add_option('--skip-wipe', action='store_true',
help='Do not wipe devices during provisioning.')
parser.add_option('--disable-location', action='store_true',
help='Disable location settings.')
parser.add_option(
'--logcat-dump-output',
help='The logcat dump output will be "tee"-ed into this file')